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 PenguinMiaou/claude-hive --skill worktree-contributorgit clone --depth 1 https://github.com/PenguinMiaou/claude-hiveWrote 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/penguinmiaou/claude-hive/worktree-contributor)<a href="https://agentmods.dev/skills/penguinmiaou/claude-hive/worktree-contributor"><img src="https://agentmods.dev/badge/skills/penguinmiaou/claude-hive/worktree-contributor/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/penguinmiaou/claude-hive/worktree-contributor"><img src="https://agentmods.dev/badge/skills/penguinmiaou/claude-hive/worktree-contributor.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.01540 |
| Opus 5.5 | $0.00015 | $0.00616 |
| Sonnet 5.5 | $0.00008 | $0.00308 |
| Haiku 4.5 | $0.00004 | $0.00154 |
Grade A, and why
worktree-contributor 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 3mo 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 — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Worktree Contributor
Overview
Mode-switch skill for multi-agent collaboration. Activates contributor role at window start — from that point, all coordination runs silently in the background. The user works normally (vibe coding as usual).
Core principle: Activate once, enforce always. Zero friction after activation.
Announce at start: "Contributor role activated. All changes will go to a worktree branch. What are we building?"
Prerequisites Check
On activation, verify before anything else:
# GitHub remote is required
git remote -v | grep -q "github" || echo "ERROR: No GitHub remote. Run: git remote add origin <url>"
# gh CLI must be authenticated
gh auth status 2>/dev/null || echo "ERROR: gh CLI not authenticated. Run: gh auth login"
If either check fails, refuse to activate. Prompt user to fix.
Activation Sequence
/worktree-contributor
→ Run prerequisites check
→ Read COORDINATION.md (if exists) for situational awareness
→ Read CLAUDE.md (if exists) for persistent workflow rules
→ Set role constraints
→ Report: "Contributor role activated. What are we building?"
→ Wait for user to state goal
Hard Constraints (always enforced)
- ❌ NEVER commit to main branch
- ❌ NEVER merge to main branch
- ❌ NEVER invoke finishing-a-development-branch (merger's job)
- ❌ NEVER edit COORDINATION.md Merge Queue section except when marking own branch as ready
- ✅ ALL commits go to the worktree branch
- ✅ ALL pushes go to the feature branch remote
- ✅ PR review feedback must be addressed before marking work ready
Background Behaviors
These run automatically. The user does NOT need to know about them.
When user states a goal:
- Derive branch name from goal:
feat/xxxorfix/xxx - Create worktree + branch:
git worktree add .claude/worktrees/<branch-name> -b <branch-name> cd .claude/worktrees/<branch-name> - Run project setup (detect from package.json etc.)
- Analyze scope: scan relevant source directories based on the goal
- Register in COORDINATION.md (create file if first contributor):
- Write Branch Registry entry with scope + dependencies
- Run conflict detection against existing entries
- If overlap found → write Conflict Map entry + warn user
- Push + create Draft PR:
git push -u origin <branch-name> gh pr create --draft --title "<goal summary>" --body "<auto-generated description>" - Backfill PR number into COORDINATION.md
- Record expected review mode in COORDINATION.md Review Policy / Audit Trail:
- Remote review: GitHub automatic review on push
- Local final review: merger-owned, provider-driven, advisory by default
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.
- 3mo ago First seen · 203 lines · 38 tokens per session scan A 90b0977ba5fb
worktree-contributor is a skill published in the GitHub repository PenguinMiaou/claude-hive (1 stars, last pushed 8mo ago), licensed MIT. It adds 38 tokens to every session and 1,540 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.
worktree-contributor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| worktree-contributorPenguinMiaou/claude-hive | Skill | 1 | 8mo ago | MIT | A | 38 | Claude Code |
| control-towerwan-huiyan/agent-traffic-control | Skill | 5 | 2d ago | MIT | A | 50 | Claude Code |
| check-a-stale-branch-is-not-undoing-newer-main-workwan-huiyan/agent-traffic-control | Skill | 5 | 2d ago | MIT | A | 116 | Claude Code |
| prep-pr-close-keyword-auto-closes-issuewan-huiyan/agent-traffic-control | Skill | 5 | 2d ago | MIT | A | 493 | Claude Code |
| cross-worktree-spec-handoff-via-checkout-pathswan-huiyan/agent-traffic-control | Skill | 5 | 2d ago | MIT | A | 79 | Claude Code |
| docs-branch-off-feature-branch-smuggles-codewan-huiyan/agent-traffic-control | Skill | 5 | 2d ago | MIT | A | 457 | Claude Code |
| parallel-pr-scope-overlap-tiebreaker-delta-checkwan-huiyan/agent-traffic-control | Skill | 5 | 2d ago | MIT | A | 384 | Claude Code |