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/taoidle/plan-cascade/hybrid-worktreegit clone --depth 1 https://github.com/Taoidle/plan-cascadeWrote 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/commands/taoidle/plan-cascade/hybrid-worktree)<a href="https://agentmods.dev/commands/taoidle/plan-cascade/hybrid-worktree"><img src="https://agentmods.dev/badge/commands/taoidle/plan-cascade/hybrid-worktree.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 | $0.00125 | $0.08396 |
| Opus 5 | $0.00063 | $0.04198 |
| Sonnet 5 | $0.00025 | $0.01679 |
| Haiku 4.5 | $0.00013 | $0.00840 |
Grade A, and why
hybrid-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 4d 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 — 985 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hybrid Ralph + Worktree Mode (Fully Automated)
You are starting a task in Git Worktree + Hybrid Ralph mode. This will create the worktree and handle the PRD automatically.
Execution Flow Parameters
This command accepts flow control parameters that affect story execution:
Parameter Priority
Parameters are saved to prd.json in the worktree and later used by /plan-cascade:approve. Priority order:
-
Command-line flags to THIS command (highest priority)
- Example:
/plan-cascade:hybrid-worktree --flow full fix-auth main "Fix bug" - Saved to
<worktree>/prd.jsonasflow_config,tdd_config, etc.
- Example:
-
Command-line flags to
/plan-cascade:approve(when run in worktree)- Can override values saved in
prd.json
- Can override values saved in
-
Default values (lowest priority)
Worktree Isolation: Parameters are stored in the worktree's prd.json, ensuring complete isolation from other tasks. When you run /plan-cascade:approve in the worktree, it automatically finds and uses this PRD.
Example:
# Create worktree with strict flow
/plan-cascade:hybrid-worktree --flow full --tdd on fix-auth main "Fix authentication bug"
# → Creates worktree at .worktree/fix-auth/
# → Saves prd.json with flow_config.level="full", tdd_config.mode="on"
# Later, in the worktree directory:
cd .worktree/fix-auth/
/plan-cascade:approve
# → Uses flow="full", tdd="on" from prd.json in current worktree
--flow <quick|standard|full>
Override the execution flow depth for the approve phase.
| Flow | Gate Mode | AI Verification | Code Review | Test Enforcement |
|---|---|---|---|---|
quick |
soft | disabled | no | no |
standard |
soft | enabled | no | no |
full |
hard | enabled | required | required |
--tdd <off|on|auto>
Control Test-Driven Development mode for story execution.
| Mode | Description |
|---|---|
off |
TDD disabled |
on |
TDD enabled with prompts and compliance checks |
auto |
Automatically decide based on risk assessment (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.
- 4d ago First seen · 985 lines · 125 tokens per session scan A 1e10e2df7ba8
hybrid-worktree is a command published in the GitHub repository Taoidle/plan-cascade (131 stars, last pushed 5mo ago), licensed MIT. It adds 125 tokens to every session and 8,396 once invoked, about $0.0006 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-30.
Other commands, from other repositories
setup-video-vision
Interactive setup wizard for claude-video-vision — configure backend, whisper, frames, and verify dependencies.
create-epo-patent
Create a complete EPO-compliant patent application from invention disclosure through filing-ready package.
/release
Release a new version — updates CHANGELOG, pyproject.toml, creates git tag, and pushes.
search-flights
Search award flight availability across airlines.
chronicle
One-time codebase onboarding — interactively extracts your team's conventions, identifies reference files, and generates CLAUDE.md sections so Claude codes the way your team does. Run once per project.
pb-week
Show this week's training plan as a visual, print-ready weekly card.