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 technicalpickles/pickled-claude-plugins --skill git-worktreesgit clone --depth 1 https://github.com/technicalpickles/pickled-claude-pluginsWrote 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/technicalpickles/pickled-claude-plugins/git-worktrees)<a href="https://agentmods.dev/skills/technicalpickles/pickled-claude-plugins/git-worktrees"><img src="https://agentmods.dev/badge/skills/technicalpickles/pickled-claude-plugins/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/technicalpickles/pickled-claude-plugins/git-worktrees"><img src="https://agentmods.dev/badge/skills/technicalpickles/pickled-claude-plugins/git-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.00078 | $0.00634 |
| Opus 5.5 | $0.00031 | $0.00254 |
| Sonnet 5.5 | $0.00016 | $0.00127 |
| Haiku 4.5 | $0.00008 | $0.00063 |
Grade A, and why
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 12d 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 — 36 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git worktrees
Use whichever worktree tool the user prefers. If none is stated and wt (worktrunk) is on PATH, lean toward it: it has non-interactive flags and lifecycle hooks the others lack.
Create
Branch from origin/<default>, not local main. When local main is ahead of origin, the first push drags unpushed commits into the PR.
git worktree add -b <branch> <path> origin/<default>- wt:
wt switch --create <branch> --base origin/<default> --yes --no-cd --format=json, thencdto.path. A trailing "has no upstream information" error after creation is harmless; checkgit worktree listbefore retrying. EnterWorktree: it already branches fromorigin/<default>, so checkgit log origin/main..mainfor local-only commits first. Its guard rejects&&,$(...)and multi-line commands.
Remove after merge
Once a worktree's PR merges, remove it in the same session without asking, and report it as done. Cleanup is not a step to hand back to the user.
- Keep it only when the user said they're still using it, or it is the root of a live session (a desktop-app worktree session, this one included), since removing that breaks the session. Say which exception applied.
git fetchfirst. After a squash-merge, stale refs make removal tools think the branch is unmerged.cdout of the worktree before removing it.- Never force. Removal refuses a dirty worktree, and that refusal is the safety net. Read what it refused on and report it instead of passing
-for-D.
By tool:
git worktree remove <path>, thengit branch -d <branch>if the branch isn't needed.- wt:
wt remove <branch> -y. It keeps an unmerged branch on its own. - A worktree this session entered with
EnterWorktree:ExitWorktreewith the remove action.
Sandbox
Under the command sandbox, Operation not permitted in a worktree is usually the path denylist (.claude/agents/*, .claude/commands/*, .mcp.json, .git/hooks/*, rc files), not the worktree location. If creating one fails that way partway through, the branch may already exist; retry without creating it (wt switch <branch>, or git worktree add <path> <branch>) unsandboxed.
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.
- 12d ago First seen · 36 lines · 78 tokens per session scan A 5c07f121a4d9
git-worktrees is a skill published in the GitHub repository technicalpickles/pickled-claude-plugins (13 stars, last pushed 8d ago), licensed MIT. It adds 78 tokens to every session and 634 once invoked, about $0.0003 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-11-18.
git-worktrees compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| git-worktreestechnicalpickles/pickled-claude-plugins | Skill | 13 | 8d ago | MIT | A | 78 | Claude Code |
| ecosystem-managingVidyFoo/antigravity-skill-engine | Skill | 13 | 2mo ago | MIT | A | 27 | Claude Code, Codex |
| release-prfabiandistler/agents | Skill | 2 | today | none | A | 47 | Claude Code, Codex |
| releaseu9401066/template-is-all-you-need | Skill | 3 | 8mo ago | Apache-2.0 | A | 60 | Claude Code |
| git-precommitu9401066/template-is-all-you-need | Skill | 3 | 8mo ago | Apache-2.0 | A | 92 | Claude Code |
| Worktree Managersmith-horn/product-builder-starter | Skill | 11 | 8mo ago | none | A | 43 | Claude Code, Codex |
| commit-messageLion-1209/Lion-Skills | Skill | 5 | 5mo ago | MIT | A | 15 | Claude Code |