Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add roundpilot/superpowers-antigravity --skill using-git-worktreesgit clone --depth 1 https://github.com/roundpilot/superpowers-antigravityWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/roundpilot/superpowers-antigravity/using-git-worktrees)<a href="https://agentmods.dev/skills/roundpilot/superpowers-antigravity/using-git-worktrees"><img src="https://agentmods.dev/badge/skills/roundpilot/superpowers-antigravity/using-git-worktrees/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/roundpilot/superpowers-antigravity/using-git-worktrees"><img src="https://agentmods.dev/badge/skills/roundpilot/superpowers-antigravity/using-git-worktrees.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Excessive Agency · line 114 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00031 | $0.01119 |
| Opus 5.5 | $0.00012 | $0.00448 |
| Sonnet 5.5 | $0.00006 | $0.00224 |
| Haiku 4.5 | $0.00003 | $0.00112 |
Grade A, and why
using-git-worktrees scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Using Git Worktrees
Overview
Ensure work happens in an isolated workspace using Antigravity 2.0's native workspace isolation.
Core principle: Detect existing isolation first. Then isolate the session on a feature branch; give Workspace: "branch" only to subagents that write alongside other writers. Never use manual git worktree add.
Announce at start: "I'm using the using-git-worktrees skill to set up an isolated workspace."
Step 0: Detect Existing Isolation
Before creating anything, check if you are already in an isolated workspace.
Verify Git Repository Existence: run git rev-parse --is-inside-work-tree. It prints true inside a repository. Anything else means you are not in one — you cannot use worktrees; check whether you need to run git init first.
Then run each of these on its own and note what it prints:
git rev-parse --path-format=absolute --git-dir --git-common-dir
git branch --show-current
The first prints GIT_DIR, then GIT_COMMON; the two differ in a linked worktree. The second prints BRANCH, or nothing on a detached HEAD. (Git older than 2.31 lacks --path-format: resolve each printed path to an absolute one before comparing.)
Submodule guard: GIT_DIR != GIT_COMMON is also true inside git submodules. Verify with git rev-parse --show-superproject-working-tree: it prints a path inside a submodule, and nothing otherwise.
If GIT_DIR != GIT_COMMON (and not a submodule): Already isolated. Skip to Step 2.
If GIT_DIR == GIT_COMMON (or in a submodule): Normal repo. Proceed to Step 1.
Step 1: Create Isolated Workspace
For subagents that write concurrently (parallel agents editing overlapping files): Workspace: "branch" on invoke_subagent. The platform handles directory placement, branch creation, and cleanup. For plan implementers, which run one at a time: Workspace: "inherit" — they commit on your feature branch.
For parent orchestrator feature branches: Use git checkout -b <branch> directly. No worktree needed — the orchestrator works in place on a feature branch. On 2.0, a conversation started in a Project's New Worktree Mode already runs in its own worktree; Step 0 detects it.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago Changed 4a8505390a33
- 26d ago Changed · -17 lines 83f480c99400
- 3mo ago First seen · 121 lines · 31 tokens per session scan A 0af1085bc42d
using-git-worktrees is a skill published in the GitHub repository roundpilot/superpowers-antigravity (104 stars, last pushed 5d ago), licensed MIT. It adds 31 tokens to every session and 1,119 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
using-git-worktrees compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| using-git-worktreesroundpilot/superpowers-antigravity | Skill | 104 | 5d ago | MIT | A | 31 | Claude Code, Codex |
| ax-extract-workflowsickn33/agentic-awesome-skills | Skill | 51k | yesterday | MIT | A | 35 | Claude Code |
| investigating-repository-historyCodeAlive-AI/ai-driven-development | Skill | 193 | yesterday | MIT | A | 84 | Claude Code, Codex |
| repo-activity-summaryCodeAlive-AI/ai-driven-development | Skill | 193 | yesterday | MIT | A | 70 | Claude Code |
| release-gatemtvrkan/senior-dev-kit | Skill | 11 | yesterday | MIT | A | 63 | Claude Code |
| cc-commit-msgdoccker/cc-use-exp | Skill | 1.1k | 3mo ago | none | A | 38 | Claude Code, Codex |
| ios-appstore-builderAtulPurohit/Antigravity-Awesome-Skills | Skill | 6 | 4mo ago | none | A | 37 | Claude Code, Codex |