Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/strikersam/autonomous-ai-agencynpx agentmods add skills/strikersam/autonomous-ai-agency/parallel-worktreesWrote 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/strikersam/autonomous-ai-agency/parallel-worktrees)<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/parallel-worktrees"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/parallel-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/strikersam/autonomous-ai-agency/parallel-worktrees"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/parallel-worktrees.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00038 | $0.00979 |
| Opus 5.5 | $0.00015 | $0.00392 |
| Sonnet 5.5 | $0.00008 | $0.00196 |
| Haiku 4.5 | $0.00004 | $0.00098 |
Grade A, and why
parallel-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 1mo 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 — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: parallel-worktrees
When to Use
Use this skill when you need to:
- Run the test suite on
mainwhile implementing on a feature branch - Keep a clean reference copy of the code for comparison during refactors
- Work on a hotfix without disturbing in-progress feature work
- Avoid
git stash/git checkoutcycles that interrupt flow
Concept
Git worktrees let you check out multiple branches of the same repo into different
directories simultaneously. Each worktree shares the .git database but has its
own working tree and index.
~/code/my-repo/ ← main worktree (your current branch)
~/code/my-repo-main/ ← linked worktree (main branch, read reference)
~/code/my-repo-hotfix/ ← linked worktree (hotfix branch)
Instructions
Step 1 — Create a worktree for reference/parallel work
# Create a linked worktree for the main branch (read reference)
git worktree add ../my-repo-main main
# Create a linked worktree for a new feature branch
git worktree add ../my-repo-feature -b feature/my-feature
# Create a linked worktree for an existing remote branch
git worktree add ../my-repo-hotfix origin/hotfix/issue-42
Step 2 — List active worktrees
git worktree list
Output shows each worktree's path, HEAD commit, and branch.
Step 3 — Work across worktrees
Each worktree is an independent directory. You can:
# Run tests on main without switching branches
cd ../my-repo-main && pytest -x
# Edit files in the feature worktree
cd ../my-repo-feature && $EDITOR app.py
# Compare files across worktrees
diff ../my-repo-main/app.py ./app.py
Step 4 — Remove a worktree when done
# Remove the linked worktree (does not delete the branch)
git worktree remove ../my-repo-main
# Force remove if worktree has uncommitted changes
git worktree remove --force ../my-repo-main
# Prune stale worktree references
git worktree prune
Common Patterns
Pattern A — Test main while you implement
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.
- 1mo ago Changed 2f3aea6b5d95
- 3mo ago First seen · 151 lines · 38 tokens per session scan A f8067f19d86f
parallel-worktrees is a skill published in the GitHub repository strikersam/autonomous-ai-agency (13 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 979 once invoked, about $0.0002 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-31.
parallel-worktrees compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| parallel-worktreesstrikersam/autonomous-ai-agency | Skill | 13 | yesterday | MIT | A | 38 | Claude Code, Codex |
| git-integrationa5c-ai/babysitter | Skill | 1.9k | 29d ago | MIT | A | 39 | Claude Code |
| audit-traila5c-ai/babysitter | Skill | 1.9k | 29d ago | MIT | A | 0 | Claude Code, Codex |
| strict-tdda5c-ai/babysitter | Skill | 1.9k | 29d ago | MIT | A | 34 | Claude Code |
| github-synca5c-ai/babysitter | Skill | 1.9k | 29d ago | MIT | A | 0 | Claude Code, Codex |
| checkpoint-managementa5c-ai/babysitter | Skill | 1.9k | 29d ago | MIT | A | 22 | Claude Code |
| issue-trackinga5c-ai/babysitter | Skill | 1.9k | 29d ago | MIT | A | 25 | Claude Code |