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 queelius/claude-anvil --skill branchgit clone --depth 1 https://github.com/queelius/claude-anvilWrote 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/queelius/claude-anvil/branch)<a href="https://agentmods.dev/skills/queelius/claude-anvil/branch"><img src="https://agentmods.dev/badge/skills/queelius/claude-anvil/branch/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/queelius/claude-anvil/branch"><img src="https://agentmods.dev/badge/skills/queelius/claude-anvil/branch.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.00059 | $0.00707 |
| Opus 5.5 | $0.00024 | $0.00283 |
| Sonnet 5.5 | $0.00012 | $0.00141 |
| Haiku 4.5 | $0.00006 | $0.00071 |
Grade A, and why
branch 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 — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Branch a Research Run
Fork the run per: $ARGUMENTS
Step 1: Parse Arguments
- Branch name (required): kebab-case identifier, e.g.
induction-proof,adversarial-search. Derive one from the stated strategy if the user did not name it, and confirm it. - Branch focus (optional): one or two sentences on what this branch should pursue differently from the main line.
- Budget (optional): a cycle cap and/or hours for this branch.
Step 2: Verify the Run and the Name
.research/goal.mdmust exist (Read tool); if not, there is nothing to branch: suggest/research-agent:research..research/branches/<name>/must NOT already exist (Glob tool). If it does, offer/research-agent:resume <name>or a different name.
Step 3: Check Code Isolation
A branch edits and evaluates project code in its own git worktree so it cannot disturb the main line's eval.
- Bash:
git -C <working directory> rev-parse --is-inside-work-tree. If this is not a git repo, worktree isolation is unavailable: tell the user the branch will keep all code changes inside its own attempts/ directories, and launch withoutisolation. - If it is a git repo, check
git status --porcelain. The worktree starts from HEAD, so uncommitted changes (including main-line work in progress) will not be in it. If the output is non-empty, tell the user and ask whether to proceed or commit first (AskUserQuestion).
Step 4: Launch the Researcher in Branch Mode
Spawn the researcher (Agent tool, subagent_type: research-agent:researcher, and isolation: "worktree" when Step 3 found a git repo) with:
<mode>branch</mode>
<branch>{kebab-case name}</branch>
<branch-focus>
{the focus, or "explore an alternative approach to the goal"}
</branch-focus>
<budget max_cycles="{N}" max_hours="{H}"/> (only when given)
<working_directory>
{absolute path to current working directory, NOT the worktree}
</working_directory>
Step 5: Inform the User
Branch
{name}forked from the current checkpoint. Its state lives under.research/branches/{name}/; its code changes live in its own git worktree, committed once per cycle. The goal and the parent's confirmed findings are shared read-only.
/research-agent:statusshows all branches alongside the main line/research-agent:resume {name}continues this branch later (in the same worktree)/research-agent:synthesize {name}concludes just this branch; a main-line/research-agent:synthesizecompares all branches
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 · +1 lines · +3 tokens per session 318f011a8a97
- 1mo ago First seen · 53 lines · 56 tokens per session scan A 091d9911feac
branch is a skill published in the GitHub repository queelius/claude-anvil (3 stars, last pushed 1mo ago), licensed MIT. It adds 59 tokens to every session and 707 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-10-19.
branch compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| branchqueelius/claude-anvil | Skill | 3 | 1mo ago | MIT | A | 59 | Claude Code |
| demoalivecontext/alive | Skill | 132 | 17d ago | MIT | A | 50 | Claude Code |
| system-upgradealivecontext/alive | Skill | 132 | 17d ago | MIT | A | 55 | Claude Code |
| karpenternitinjain999/platform-skills | Skill | 75 | 5d ago | Apache-2.0 | A | 131 | Claude Code |
| session-historyalivecontext/alive | Skill | 132 | 17d ago | MIT | A | 74 | Claude Code |
| worldalivecontext/alive | Skill | 132 | 17d ago | MIT | A | 61 | Claude Code |
| azurenitinjain999/platform-skills | Skill | 75 | 5d ago | Apache-2.0 | A | 39 | Claude Code |