Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Taoidle/plan-cascadenpx agentmods add commands/taoidle/plan-cascade/design-generateWrote 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/design-generate)<a href="https://agentmods.dev/commands/taoidle/plan-cascade/design-generate"><img src="https://agentmods.dev/badge/commands/taoidle/plan-cascade/design-generate/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/commands/taoidle/plan-cascade/design-generate"><img src="https://agentmods.dev/badge/commands/taoidle/plan-cascade/design-generate.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.00034 | $0.02685 |
| Opus 5.5 | $0.00014 | $0.01074 |
| Sonnet 5.5 | $0.00007 | $0.00537 |
| Haiku 4.5 | $0.00003 | $0.00268 |
Grade A, and why
design-generate 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 3mo 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 — 381 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Plan Cascade - Generate Design Document
Generate a structured technical design document (design_doc.json). Auto-detects the appropriate level based on available files.
Path Storage Modes
This command works with both new and legacy path storage modes:
New Mode (Default)
mega-plan.json: In~/.plan-cascade/<project-id>/prd.json: In worktree directory or~/.plan-cascade/<project-id>/design_doc.json: Always created in project root (user-visible file)
Legacy Mode
- All files in project root or worktree directory
Note: design_doc.json is a user-visible documentation file and always stays in the working directory.
Two-Level Design Document System
┌─────────────────────────────────────────────────────────────┐
│ Level 1: Project Design (from mega-plan.json) │
│ ─────────────────────────────────────────────────────────── │
│ • Global architecture and system overview │
│ • Cross-feature components and patterns │
│ • Project-wide ADRs (architectural decisions) │
│ • Feature mappings (which patterns/decisions apply where) │
│ • Shared data models and API standards │
└─────────────────────────────────────────────────────────────┘
│
│ inheritance
▼
┌─────────────────────────────────────────────────────────────┐
│ Level 2: Feature Design (from prd.json) │
│ ─────────────────────────────────────────────────────────── │
│ • Feature-specific components │
│ • Feature-specific APIs and data models │
│ • Feature-specific ADRs (prefixed ADR-F###) │
│ • Story mappings (which components/decisions per story) │
│ • Inherits patterns/decisions from project level │
└─────────────────────────────────────────────────────────────┘
Tool Usage Policy (CRITICAL)
To avoid command confirmation prompts:
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.
- 3mo ago First seen · 381 lines · 34 tokens per session scan A 7ba83c6ed891
design-generate is a command published in the GitHub repository Taoidle/plan-cascade (134 stars, last pushed 8mo ago), licensed MIT. It adds 34 tokens to every session and 2,685 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.
design-generate compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| design-generateTaoidle/plan-cascade | Command | 134 | 8mo ago | MIT | A | 34 | Claude Code |
| setup-video-visionjordanrendric/claude-video-vision | Command | 1.6k | 1mo ago | MIT | A | 20 | Claude Code |
| create-epo-patentRobThePCGuy/Claude-Patent-Creator | Command | 222 | 8d ago | MIT | B | 15 | Claude Code |
| scantrustmybot/plugin | Command | 7 | 13d ago | MIT | A | 50 | Claude Code |
| 3-designvalsecchi75/project-scaffolder | Command | 9 | 3d ago | MIT | A | 47 | Claude Code |
| milestone-planvalsecchi75/project-scaffolder | Command | 9 | 3d ago | MIT | A | 32 | Claude Code |
| 1-brainstormvalsecchi75/project-scaffolder | Command | 9 | 3d ago | MIT | A | 33 | Claude Code |