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 ngocsangyem/MeowKit --skill worktreegit clone --depth 1 https://github.com/ngocsangyem/MeowKitWrote 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/ngocsangyem/meowkit/worktree)<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/worktree"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/worktree/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/ngocsangyem/meowkit/worktree"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/worktree.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.00019 | $0.01672 |
| Opus 5.5 | $0.00008 | $0.00669 |
| Sonnet 5.5 | $0.00004 | $0.00334 |
| Haiku 4.5 | $0.00002 | $0.00167 |
Grade A, and why
mk:worktree 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 today.
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 — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git Worktree Manager
Manages git worktrees for parallel agent isolation. Each parallel agent works in its own
worktree to prevent file conflicts. Backed by scripts/worktree.cjs.
See references/commands.md for full option reference and JSON field docs.
Actions
create
Pre-flight: get repo info, then create a parallel worktree.
# Step 1: verify repo state
node ${CLAUDE_SKILL_DIR}/scripts/worktree.cjs info --json
# Step 2: create parallel agent worktree
node ${CLAUDE_SKILL_DIR}/scripts/worktree.cjs create "{agent-name}" --orchestrated --json
Every worktree lands under <main checkout>/.worktrees/, also when the script runs inside
a linked worktree; --worktree-root or WORKTREE_ROOT overrides it, with a warning. The
script writes .worktrees/.gitignore (*) itself, so the user's .gitignore is never edited.
The orchestrated worktree is .worktrees/{agent-name} on branch
parallel/{agent-name}-{timestamp} per .claude/skills/cook/references/parallel-execution-rules.md Rule 3.
It starts from the branch you are on, so the agent has that branch's commits; --base <branch>
overrides it, and a detached HEAD stops with DETACHED_HEAD.
Give the returned worktreePath to the agent as its working directory.
Also give it its own TMPDIR: the returned tmpDir, <main checkout>/.worktrees/.tmp/{agent-name},
which create makes and remove deletes. It is outside the worktree, so temp files never show
in its tree, and already ignored. Heavy commands follow
.claude/skills/verify/references/heavy-commands.md (beta).
merge
Merge a completed parallel branch back to the feature branch using no-fast-forward:
git merge --no-ff {branch} -m "merge: parallel/{agent-name} into {feature-branch}"
On conflict: list the conflicting files, stop and report to the lead (see Gotchas).
On success: run the full test suite (.claude/skills/cook/references/parallel-execution-rules.md Rule 5). After integration
test passes, delegate to project-manager (background):
What ships with it
9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- eval/fixtures/plain-repo/package.json 100 B
- eval/fixtures/plain-repo/src/app.js 21 B runs code
- eval/v2-ext-cases.yaml 1.8 KB
- references/commands.md 13 KB
- scripts/lib/worktree-git-helpers.cjs 16 KB runs code
- scripts/lib/worktree-ownership.cjs 8.9 KB runs code
- scripts/lib/worktree-review-pr.cjs 18 KB runs code
- scripts/worktree.cjs 29 KB runs code
- scripts/worktree.test.cjs 38 KB runs code
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.
- today Changed · +2 lines eba36fd515a2
- yesterday Changed · +4 lines 49e8569e88d7
- 2d ago Changed · +2 lines a4ee3366e516
- 4d ago Changed · -46 lines 5a4ac8e0376a
- 7d ago Changed · -16 lines · -7 tokens per session 98dacdab2217
- 12d ago Changed · -4 tokens per session d98c39c87e4f
- 19d ago First seen · 182 lines · 30 tokens per session scan A db9e40630ad2
mk:worktree is a skill published in the GitHub repository ngocsangyem/MeowKit (17 stars, last pushed today), licensed MIT. It adds 19 tokens to every session and 1,672 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-11-11.
mk:worktree compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mk:worktreengocsangyem/MeowKit | Skill | 17 | today | MIT | A | 19 | Claude Code |
| check-a-stale-branch-is-not-undoing-newer-main-workwan-huiyan/agent-traffic-control | Skill | 3 | 4d ago | MIT | A | 116 | Claude Code |
| control-towerwan-huiyan/agent-traffic-control | Skill | 3 | 4d ago | MIT | A | 50 | Claude Code |
| docs-branch-off-feature-branch-smuggles-codewan-huiyan/agent-traffic-control | Skill | 3 | 4d ago | MIT | A | 457 | Claude Code |
| pr-conflict-from-mid-flight-mergeswan-huiyan/agent-traffic-control | Skill | 3 | 4d ago | MIT | A | 146 | Claude Code |
| prep-pr-close-keyword-auto-closes-issuewan-huiyan/agent-traffic-control | Skill | 3 | 4d ago | MIT | A | 493 | Claude Code |
| session-handoff-number-collision-with-unmerged-siblingwan-huiyan/agent-traffic-control | Skill | 3 | 4d ago | MIT | A | 475 | Claude Code |