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 agentmods add commands/atuljha23/holocron/worktreegit clone --depth 1 https://github.com/atuljha23/holocronWhat 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 | $0.00040 | $0.00491 |
| Opus 5 | $0.00020 | $0.00246 |
| Sonnet 5 | $0.00008 | $0.00098 |
| Haiku 4.5 | $0.00004 | $0.00049 |
Grade A, and why
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 2d 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.
What it actually says
/holocron:worktree
Set up a parallel worktree so you can work on a new branch without disturbing the current session.
Branch: $ARGUMENTS
Steps
- Detect the current repo root (
git rev-parse --show-toplevel). If not inside a git repo, ask the user tocdinto one first. - Decide the base branch: parse
--base <ref>from$ARGUMENTS; default tomainif present, elsemaster, else the current branch. - Fetch:
git fetch origin. - Decide the worktree path: sibling directory at
<repo-parent>/<repo-name>-<branch>(keep the original folder clean). - List existing worktrees (
git worktree list). If the target branch or path already has a worktree, warn and exit — don't overwrite. - Create:
- If the branch exists locally:
git worktree add <path> <branch>. - If it exists only on origin:
git worktree add --track -b <branch> <path> origin/<branch>. - If it doesn't exist anywhere:
git worktree add -b <branch> <path> <base>.
- If the branch exists locally:
- Print the launch line the user should run:
cd <path> && claude - Remind them: when the branch is merged and the work is done, clean up with
git worktree remove <path> git branch -d <branch> # or -D if it was force-pushed
Do not
- Do not
cdinto the new worktree from this session — the current session stays put. - Do not force-remove an existing worktree.
- Do not commit or push in this command; worktree creation is the whole job.
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.
- 2d ago First seen · 39 lines · 40 tokens per session scan A a06084fcb7fd
worktree is a command published in the GitHub repository atuljha23/holocron (2 stars, last pushed 4mo ago), licensed MIT. It adds 40 tokens to every session and 491 once invoked, about $0.0002 per session on Opus 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.
Other commands, from other repositories
super-dev
Command "super-dev" from shangyankeji/super-dev, covering /super-dev (claude-code), 输入, super dev runtime contract, local knowledge contract and 首轮响应契约(首次触发必须执行).
journey-audit
Outside-in product audit as a deep session — 7 read-only roles check what the site promises against what the code does, what a user experiences, what arrives by mail, and what the data says is used. Writes a dossier; needs a per-repo journey-manifest.
bootstrap
Scaffold the minimum repo structure required by session-orchestrator.
discovery
Systematic quality discovery and issue detection.
dispatcher
Pick the next-best repo to work on across the portfolio — rank free repos, recommend one, claim its lease atomically, and route to the entry command.
eli5
Say the last answer again in plain words — same facts, in the order the operator needs them. Optional topic argument.