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 dinglebear-ai/dendrite --skill worktree-setupgit clone --depth 1 https://github.com/dinglebear-ai/dendriteWrote 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/dinglebear-ai/dendrite/worktree-setup)<a href="https://agentmods.dev/skills/dinglebear-ai/dendrite/worktree-setup"><img src="https://agentmods.dev/badge/skills/dinglebear-ai/dendrite/worktree-setup.svg" alt="Measured on agentmods" 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.00231 | $0.03528 |
| Opus 5 | $0.00115 | $0.01764 |
| Sonnet 5 | $0.00046 | $0.00706 |
| Haiku 4.5 | $0.00023 | $0.00353 |
Grade D, and why
worktree-setup scanned grade D with 2 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 3d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
Note: `~/.claude/settings.local.json` is in `$HOME`, already shared by all Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
`rm -rf` a worktree (that bypasses git's bookkeeping) and never destructive-clean The source is not reproduced here
Licensed AGPL-3.0
The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.
What ships with it
11 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.
- agents/openai.yaml 398 B
- CHANGELOG.md 4.5 KB
- README.md 5.2 KB
- references/minimal-worktree-setup.sh 3.5 KB runs code
- references/preflight-and-safety.md 6.7 KB
- references/what-to-sync.md 5.2 KB
- references/workflow-integration.md 3.9 KB
- scripts/worktree-new.sh 6.0 KB runs code
- scripts/worktree-rm.sh 6.5 KB runs code
- scripts/worktree-sync.sh 20 KB runs code
- tests/smoke.sh 8.3 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.
- 3d ago First seen · 247 lines · 231 tokens per session scan D a734bddf5ed4
worktree-setup is a skill published in the GitHub repository dinglebear-ai/dendrite (1 stars, last pushed 10d ago), licensed AGPL-3.0. It adds 231 tokens to every session and 3,528 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it D with 2 findings (reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
spec-kitty-git-workflow
Understand how Spec Kitty manages git: what git operations Python handles automatically, what agents must do manually, worktree lifecycle, auto-commit behavior, merge execution, and the safe-commit pattern. Triggers: "how does spec-kitty use git", "worktree management", "auto-commit", "who commits what", "git…
ccmanager-config
Set up, review, or repair a CCManager config — .ccmanager.json at a git repository root, or the global /.config/ccmanager/config.json. Use when someone wants ccmanager to launch a different agent CLI (codex, gemini, cursor-agent, copilot…), add command presets, run a command on session state changes or worktree…
create-pr
This skill should be used when user asks to "create a PR", "make a pull request", "open PR for this branch", "submit changes as PR", "push and create PR", or explicitly invokes "create-pr".
spk-admin-git-workflow
Operate Spec Kitty git workflows, worktrees, safe commits, merge preflights, stale state checks, and recovery.
spk-gate-merge
Merge an accepted Spec Kitty mission safely, preserving git invariants, mission state, and post-merge follow-through.
commit-staged
This skill should be used when user asks to "commit these changes", "write commit message", "stage and commit", "create a commit", "commit staged files", or explicitly invokes "commit-staged".