polaris-image-release
Skill by DanWBR
Builds, sanitizes, verifies and stages flashable Polaris images for x86-64 mini PCs and several arm64 boards. It is for maintainers who publish Polaris SD and disk images to Google Drive.
Install polaris-image-release
Built from the published package, never by AI.
git clone --depth 1 https://github.com/DanWBR/NINA.Polaris /tmp/NINA.Polaris && mkdir -p ~/.claude/skills && cp -r /tmp/NINA.Polaris/.claude/skills/polaris-image-release ~/.claude/skills/polaris-image-releaseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/DanWBR/NINA.Polaris /tmp/NINA.Polaris && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/NINA.Polaris/.claude/skills/polaris-image-release ~/.gemini/antigravity-cli/skills/polaris-image-releaseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install polaris-image-release in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill runs the release pipeline for Polaris flashable images. It downloads the released .deb from GitHub, installs it into a raw image with dpkg in a chroot, and removes machine-specific state such as the machine-id, TLS certificates and the growroot marker. It then checks the installed version, the residue and the kernel console before compressing the image with 7-Zip and copying it to a Google Drive folder.
The skill covers x86-64 mini PCs and the Raspberry Pi 4 and 5, Orange Pi 4 Pro and 5 Pro, and Radxa Dragon Q6A boards. For x86-64 images it also boots a copy under QEMU with OVMF and checks for an SSH banner. It is written for maintainers of the Polaris project who need to rebuild or republish images and diagnose images that fail to boot.
Written from the project's SKILL.md and checked against it.
What it can do
- Get released debDownloads the released polaris_amd64.deb or polaris_arm64.deb from a GitHub release with gh.
- Install deb into imageMounts a raw image, runs dpkg -i in a chroot and sanitizes it, using partition offsets for each board.
- Verify imageChecks the installed version, leftover machine-id, certificates, growroot marker and kernel console before compression.
- Boot-test x86-64 copyBoots a copy of the x86-64 image in QEMU with OVMF and waits for the guest SSH banner.
- Compress with 7-ZipCreates a .7z archive on the Windows side with NanaZip, then tests it before the source image is removed.
- Stage on Google DriveCopies the verified archive to the Drive folder and compares file sizes with the source.
- Update website cardsEdits the download card JSON files for the rebuilt board across the five locale copies.
What you need
- WSL2 with root access
- qemu-user-static and binfmt for arm64 images
- NanaZip on Windows
- gh CLI authenticated
- Google Drive folder that syncs to the user's account
- Free disk space of 8 to 30 GB per raw image
Try asking
- Rebuild the x86-64 Polaris image with the latest released deb
- Update the arm64 images and stage them on Drive
- Check why this Polaris image shows a black screen after the EFI stub
Good to know
- arm64 images are not boot-tested because emulating those boards is unreliable.
- Creating the Google Drive share link needs the Drive UI, so the user must share the file.
- The WSL ext4.vhdx grows but does not shrink on its own, and compacting it needs an elevated shell.
- Raw images must be extracted from archives on Drive for arm64 updates, since only compressed archives are kept.
Security check
C- Asks for administrator rights (sudo)In
.claude/skills/polaris-image-release/SKILL.md:sudo
Checked automatically: .claude/skills/polaris-image-release/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to polaris-image-release
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
polaris-image-release: common questions
Which boards does the Polaris image release skill support?
The source lists x86-64 mini PCs, Raspberry Pi 4 and 5, Orange Pi 4 Pro and 5 Pro, and Radxa Dragon Q6A.
Why does the skill install the deb with dpkg instead of copying files?
The source says dpkg keeps the package database accurate, so the in-app updater compares versions correctly. A file-copy update once left the file version and dpkg version out of step.
Does the skill delete the uncompressed image?
Yes, after the .7z archive passes a 7-Zip test. The source says the archive must test clean before the source image is deleted.
How do I install polaris-image-release?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is polaris-image-release free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is polaris-image-release safe to use?
It scores 59 of 100. Grades: maintenance A, licence C, quality C. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to polaris-image-release?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
