Build Px4 macOS
PX4/PX4-Autopilot
Build PX4 board firmware on macOS in the px4-dev Docker container, including git worktrees, and stage commit-labeled artifacts without flashing hardware.
Agent skill
by christopherarter in christopherarter/superpowers-reasonix
Feature work needing an isolated workspace, or executing a plan?
$ npx skills add christopherarter/superpowers-reasonix --skill superpowers-using-git-worktrees -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install christopherarter/superpowers-reasonix superpowers-using-git-worktrees --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/christopherarter/superpowers-reasonix.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/superpowers-using-git-worktrees .claude/skills/superpowers-using-git-worktrees && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "superpowers-using-git-worktrees" agent skill from https://github.com/christopherarter/superpowers-reasonix/tree/main/skills/superpowers-using-git-worktrees into .claude/skills/superpowers-using-git-worktrees/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "superpowers-using-git-worktrees", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/christopherarter/superpowers-reasonix/tree/main/skills/superpowers-using-git-worktreesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add christopherarter/superpowers-reasonix --skill superpowers-using-git-worktrees -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install christopherarter/superpowers-reasonix superpowers-using-git-worktrees --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/christopherarter/superpowers-reasonix.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/superpowers-using-git-worktrees .agents/skills/superpowers-using-git-worktrees && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "superpowers-using-git-worktrees" agent skill from https://github.com/christopherarter/superpowers-reasonix/tree/main/skills/superpowers-using-git-worktrees into .agents/skills/superpowers-using-git-worktrees/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "superpowers-using-git-worktrees", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add christopherarter/superpowers-reasonix --skill superpowers-using-git-worktrees -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install christopherarter/superpowers-reasonix superpowers-using-git-worktrees --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/christopherarter/superpowers-reasonix.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/superpowers-using-git-worktrees .cursor/skills/superpowers-using-git-worktrees && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "superpowers-using-git-worktrees" agent skill from https://github.com/christopherarter/superpowers-reasonix/tree/main/skills/superpowers-using-git-worktrees into .cursor/skills/superpowers-using-git-worktrees/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "superpowers-using-git-worktrees", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/christopherarter/superpowers-reasonix.git --path skills/superpowers-using-git-worktrees--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add christopherarter/superpowers-reasonix --skill superpowers-using-git-worktrees -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install christopherarter/superpowers-reasonix superpowers-using-git-worktrees --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/christopherarter/superpowers-reasonix.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/superpowers-using-git-worktrees .gemini/skills/superpowers-using-git-worktrees && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "superpowers-using-git-worktrees" agent skill from https://github.com/christopherarter/superpowers-reasonix/tree/main/skills/superpowers-using-git-worktrees into .gemini/skills/superpowers-using-git-worktrees/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "superpowers-using-git-worktrees", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install christopherarter/superpowers-reasonix superpowers-using-git-worktreesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add christopherarter/superpowers-reasonix --skill superpowers-using-git-worktrees -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/christopherarter/superpowers-reasonix.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/superpowers-using-git-worktrees .github/skills/superpowers-using-git-worktrees && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "superpowers-using-git-worktrees" agent skill from https://github.com/christopherarter/superpowers-reasonix/tree/main/skills/superpowers-using-git-worktrees into .github/skills/superpowers-using-git-worktrees/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "superpowers-using-git-worktrees", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add christopherarter/superpowers-reasonix --skill superpowers-using-git-worktrees -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install christopherarter/superpowers-reasonix superpowers-using-git-worktrees --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/christopherarter/superpowers-reasonix.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/superpowers-using-git-worktrees .opencode/skills/superpowers-using-git-worktrees && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "superpowers-using-git-worktrees" agent skill from https://github.com/christopherarter/superpowers-reasonix/tree/main/skills/superpowers-using-git-worktrees into .opencode/skills/superpowers-using-git-worktrees/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "superpowers-using-git-worktrees", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
superpowers-using-git-worktreesFeature work needing an isolated workspace, or executing a plan?
Superpowers Using Git Worktrees is an agent skill from christopherarter/superpowers-reasonix. Feature work needing an isolated workspace, or executing a plan? Load first.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Git worktrees. It works with Git. The repository describes itself as: Superpowers skill port to Reasonix coding harness. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit d202ba4. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitnpmcargogoFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Superpowers Using Git Worktrees loads about 1.4k tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 576 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from christopherarter/superpowers-reasonix at commit d202ba4, republished under its MIT licence (© christopherarter). 576 words, ~1,414 tokens.
.claude/skills/superpowers-using-git-worktrees/SKILL.md (or your agent's skills folder).Work in isolated workspace. Prefer native worktree tools; manual git worktrees only when none.
Core principle: Detect existing isolation first. Then native tools. Then git fallback. Never fight harness.
Announce at start: "I'm using the superpowers-using-git-worktrees skill to set up an isolated workspace."
Before creating anything, check if already in isolated workspace. Via bash:
GIT_DIR=$(cd "$(git rev-parse --git-dir)" 2>/dev/null && pwd -P)
GIT_COMMON=$(cd "$(git rev-parse --git-common-dir)" 2>/dev/null && pwd -P)
BRANCH=$(git branch --show-current)Submodule guard: GIT_DIR != GIT_COMMON also true inside submodules. Verify not a submodule before concluding "worktree":
# If this returns a path, you're in a submodule, not a worktree — treat as normal repo
git rev-parse --show-superproject-working-tree 2>/dev/nullIf GIT_DIR != GIT_COMMON (and not a submodule): Already in linked worktree. Skip to Step 3, do NOT create another. Report branch state:
<path> on branch <name>."<path> (detached HEAD, externally managed). Branch creation needed at finish."If GIT_DIR == GIT_COMMON (or in a submodule): Normal repo checkout. Preference declared? Honor it, no asking. Else ask consent:
"Would you like me to set up an isolated worktree? It protects your current branch from changes."
Declines: work in place, skip to Step 3 — do NOT start editing feature code on the current branch first.
Already have a worktree mechanism — a tool named EnterWorktree, WorktreeCreate, a /worktree command, or a --worktree flag? Use it, skip to Step 3.
Native tools handle placement, branch creation, cleanup. Using git worktree add when a native tool exists creates phantom state the harness can't manage. No native tool: proceed to Step 1b.
Only use if Step 1a does not apply. Explicit user preference always beats filesystem state.
ls -d .worktrees 2>/dev/null # Preferred (hidden)
ls -d worktrees 2>/dev/null # Alternative.worktrees wins.project=$(basename "$(git rev-parse --show-toplevel)")
ls -d ~/.config/reasonix/worktrees/$project 2>/dev/null.worktrees/ at project root.MUST verify directory ignored before creating worktree:
git check-ignore -q .worktrees 2>/dev/null || git check-ignore -q worktrees 2>/dev/nullIf NOT ignored: add to .gitignore, commit, proceed. Why critical: prevents committing worktree contents. Global directories need no verification.
# For project-local: path="$LOCATION/$BRANCH_NAME"
# For global: path="~/.config/reasonix/worktrees/$project/$BRANCH_NAME"
git worktree add "$path" -b "$BRANCH_NAME"
cd "$path"Sandbox fallback: git worktree add fails with permission error (sandbox denial — Reasonix confines writes to [sandbox] workspace_root)? Tell the user the sandbox blocked it, working in the current directory instead. Run setup and baseline tests in place.
Auto-detect and run setup, bash:
if [ -f package.json ]; then npm install; fi
if [ -f Cargo.toml ]; then cargo build; fi
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f pyproject.toml ]; then poetry install; fi
if [ -f go.mod ]; then go mod download; fiRun tests, ensure clean baseline (npm test / cargo test / pytest / go test ./...).
Tests fail: report failures, ask whether to proceed or investigate. Pass: report ready.
Worktree ready at <full-path>
Tests passing (<N> tests, 0 failures)
Ready to implement <feature-name>| Situation | Action |
|---|---|
| Already in linked worktree | Skip creation (Step 0) |
| In a submodule | Treat as normal repo (Step 0 guard) |
| Native worktree tool available | Use it (Step 1a) |
| No native tool | Git worktree fallback (Step 1b) |
.worktrees/ exists | Use it (verify ignored) |
Both .worktrees/ and worktrees/ exist | Use .worktrees/ |
| Neither exists | Check instruction file, then default .worktrees/ |
| Directory not ignored | Add to .gitignore + commit |
| Permission error on create | Sandbox fallback, work in place |
| Tests fail during baseline | Report failures + ask |
Never:
git worktree add when a native worktree tool exists — #1 mistakeAlways: run Step 0 first; prefer native tools; follow directory priority (existing > global legacy > instruction file > default); verify ignored for project-local; auto-detect and run setup; verify clean test baseline.
© christopherarter, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/superpowers-using-git-worktrees of christopherarter/superpowers-reasonix.
Open the folder on GitHubat commit d202ba4
Superpowers Using Git Worktrees next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Superpowers Using Git Worktrees this skillchristopherarter/superpowers-reasonix | 102 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Build Px4 macOSPX4/PX4-Autopilot | 13k | — | ~1.1k | Automated safety check: Pass | BSD-3-Clause | |
| WorktreeAgentsMesh/AgentsMesh | 2.4k | — | ~553 | Automated safety check: Notes | Custom licence | |
| Git Worktree IsolationjnMetaCode/superpowers-zh | 8.3k | 1 repos | ~982 | Automated safety check: Pass | MIT | |
| Cursor Composer Task DelegateChachamaru127/claude-code-harness | 3.2k | — | ~4.4k | Automated safety check: Notes | MIT | |
| Git Worktree Setupk8zdev/k8z | 155 | — | ~930 | Automated safety check: Pass | None |
PX4/PX4-Autopilot
Build PX4 board firmware on macOS in the px4-dev Docker container, including git worktrees, and stage commit-labeled artifacts without flashing hardware.
AgentsMesh/AgentsMesh
Creates or reuses an isolated AgentsMesh Git worktree from a verified base branch, preserves existing changes, and optionally starts the worktree-scoped development environment.
jnMetaCode/superpowers-zh
Sets up an isolated workspace before feature work or plan execution, preferring native worktree tools and falling back to git worktree, with instructions in Chinese.
Chachamaru127/claude-code-harness
Hands one implementation task to Cursor Composer in an isolated git worktree, then reviews its diff and cherry-picks the result into the main branch.
k8zdev/k8z
Automate git worktree creation and copy private files (not tracked in git) to new workdirs.
michaelshimeles/skills
Start a new task in an isolated Git worktree branched from origin/main so multiple agents can work on the same repo in parallel without conflicts.
christopherarter/superpowers-reasonix
Any bug, failing or flaky test, or surprise behavior?. An agent skill from christopherarter/superpowers-reasonix.
christopherarter/superpowers-reasonix
Writing or fixing any code?. An agent skill from christopherarter/superpowers-reasonix.
christopherarter/superpowers-reasonix
Creating, editing, or testing a Reasonix skill?. An agent skill from christopherarter/superpowers-reasonix.
christopherarter/superpowers-reasonix
Building a feature or starting from an idea?. An agent skill from christopherarter/superpowers-reasonix.
christopherarter/superpowers-reasonix
Branch finished, tests green?. An agent skill from christopherarter/superpowers-reasonix.
christopherarter/superpowers-reasonix
Got review feedback?. An agent skill from christopherarter/superpowers-reasonix.
Works with
Categories
Feature work needing an isolated workspace, or executing a plan? Superpowers Using Git Worktrees is an agent skill from christopherarter/superpowers-reasonix. Feature work needing an isolated workspace, or executing a plan?
Superpowers Using Git Worktrees fits situations like: tasks that involve Git worktrees.
Run `npx skills add christopherarter/superpowers-reasonix --skill superpowers-using-git-worktrees -a claude-code`. Or copy the skill folder (skills/superpowers-using-git-worktrees in christopherarter/superpowers-reasonix) into .claude/skills/superpowers-using-git-worktrees in your project. Claude Code loads it when a task matches its description.
Run `npx skills add christopherarter/superpowers-reasonix --skill superpowers-using-git-worktrees -a codex`. Or copy the skill folder (skills/superpowers-using-git-worktrees in christopherarter/superpowers-reasonix) into .agents/skills/superpowers-using-git-worktrees in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add christopherarter/superpowers-reasonix --skill superpowers-using-git-worktrees -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/superpowers-using-git-worktrees, .gemini/skills/superpowers-using-git-worktrees, .github/skills/superpowers-using-git-worktrees and .opencode/skills/superpowers-using-git-worktrees in your project.
Going by SKILL.md and its folder, Superpowers Using Git Worktrees needs the command-line tools its instructions call (git, npm, cargo and go). Our summary lists: Python 3; Node.js.
SKILL.md contains no URLs. Its commands use git and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Superpowers Using Git Worktrees is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Superpowers Using Git Worktrees: Build Px4 macOS (PX4/PX4-Autopilot, 13k stars), Worktree (AgentsMesh/AgentsMesh, 2.4k stars), Git Worktree Isolation (jnMetaCode/superpowers-zh, 8.3k stars) and Cursor Composer Task Delegate (Chachamaru127/claude-code-harness, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
christopherarter (a GitHub user) maintains it in christopherarter/superpowers-reasonix, which has 102 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on August 20, 2026.
Source: christopherarter/superpowers-reasonix on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.