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 dean0x/devflow --skill worktree-supportgit clone --depth 1 https://github.com/dean0x/devflowWrote 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/dean0x/devflow/worktree-support)<a href="https://agentmods.dev/skills/dean0x/devflow/worktree-support"><img src="https://agentmods.dev/badge/skills/dean0x/devflow/worktree-support/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/dean0x/devflow/worktree-support"><img src="https://agentmods.dev/badge/skills/dean0x/devflow/worktree-support.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00016 | $0.00373 |
| Opus 5.5 | $0.00006 | $0.00149 |
| Sonnet 5.5 | $0.00003 | $0.00075 |
| Haiku 4.5 | $0.00002 | $0.00037 |
Grade A, and why
worktree-support 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 7d 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
Worktree Support
Iron Law
WORKTREE_PATH IS A PREFIX, NOT A FLAG
When WORKTREE_PATH is provided, it changes how you resolve ALL paths — git commands, file reads, .devflow/docs/ paths. It's not a toggle; it's a coordinate system shift.
Agent Path Resolution
When WORKTREE_PATH is provided to an agent:
| Operation | Without WORKTREE_PATH | With WORKTREE_PATH |
|---|---|---|
| Git commands | git ... |
git -C {WORKTREE_PATH} ... |
| .devflow/docs/ paths | .devflow/docs/... |
{WORKTREE_PATH}/.devflow/docs/... |
| Source files | {file} |
{WORKTREE_PATH}/{file} |
| Default | Use cwd | Use WORKTREE_PATH as root |
If WORKTREE_PATH is omitted, behavior is unchanged (use cwd). This is the common case.
Protected Branches (Canonical List)
main, master, develop, integration, trunk, release/*, staging, production
All components (agents, commands, skills) must use this exact list when checking for protected branches.
The HUD mirrors this list in TRUNK_BRANCHES/TRUNK_BRANCH_PREFIXES/isTrunkBranch() in src/core/git.ts — update both together.
Extended References
references/discovery.md— the 7-step discovery algorithm and multi-worktree modereferences/roots.md— project data roots and detached HEAD
What ships with it
2 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.
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.
- 7d ago Changed · -52 lines 301d8574bd26
- 17d ago Changed aa5c8edb4e55
- 1mo ago First seen · 93 lines · 16 tokens per session scan A 8c91c4cff2f7
worktree-support is a skill published in the GitHub repository dean0x/devflow (20 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 373 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-08-30.
Other skills, from other repositories
gh-find-prs
Survey open Codewhale PRs and triage each for mergeability and disposition against the real landing branch.
hunk-release
Prepares, publishes, verifies, and curates Hunk releases. Use for release metadata, benchmarks, tags, publishing, release videos, backports, or recovery.
git
Git and code hosting platform management — GitHub, GitLab, Codeberg, Forgejo. Zero barrier — install x-cmd and manage repos from the terminal. Use for "git", "github", "gitlab", "repo", "pull request", "code hosting".
review-pr
Review a pull request (GitHub) or merge request (GitLab) and provide detailed feedback.
vhs-e2e-gif
Record a test run, a TUI session, or any terminal command as a GIF with VHS and attach it to a GitHub PR as a release-hosted asset, never a repo commit. Use when asked to record an e2e run, demo a fix on a PR, attach a GIF or screen recording to a pull request, show a test passing visually, or produce a terminal…
pixiv-cli-pr
Prepare, update, or verify a pixiv-cli pull request using its current template, trusted verification policy, reviewed diff, and head-specific check results. Use for contributor handoff or PR readiness; merging, live /test execution, and releases are separate actions.