By jasonkneen
Cost-optimised multi-model pipeline: Fable analyses once, Opus plans with code citations, Sonnet executes, Haiku does mechanical work, wired together with a dense machine-readable handoff format.
Stage F of cascade — upfront analysis and high-level recommendations on the fable tier. Emits cascade/10-findings.cf in the .cf wire format. Also handles design-flaw/spec-conflict escalations as top of the ladder.
Stage H of cascade — mechanical execution and context-fetching on the haiku tier. Applies delegated PLAN items exactly as specified, answers NEED requests with trimmed GIVE extracts, escalates ambiguity to Sonnet. Never improvises design.
Stage S of cascade — applies cascade/20-plan.cf (and esc/*.cf respecs) on the sonnet tier, verifies every item, marks mechanical work st=deleg for the haiku tier, escalates after two failed attempts. Emits/appends cascade/30-changes.cf in the .cf wire format.
Stage O of cascade — turns cascade/10-findings.cf into grounded change specs with code citations on the opus tier. Emits cascade/20-plan.cf in the .cf wire format. Also handles execution escalations (anchor-missing, test-fail, conflict…) as Sonnet's senior.
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Long agentic coding sessions get expensive not because models are pricey, but because of the shape of a single-model session:
Cascade fixes the shape, not the model. A task is split into four short stages, each pinned to the cheapest model capable of that stage's job, and each stage reads only its predecessor's written artifact — never the accumulated chat history. The expensive model reasons once, writes its judgment down densely, and every downstream model references that artifact instead of re-deriving it.
.cf file, not a growing transcript. Code is referenced by locator, never re-quoted, so no stage pays to duplicate what the next stage can read straight off disk..cf records. No narration, no restating input, no "looks fine" noise — roughly 35–40% fewer output tokens than a prose-narrated session..cf format and escalation ladder are provider-agnostic. Claude Code is the primary target (drop-in subagents + /cascade command), but the same four stages run as plain API calls under any orchestrator.On a modeled mid-size task (8 plan items, 6 files, 1 escalation), cascade lands around $1.14 versus ~$3.05 for all-Opus and ~$1.83 for all-Sonnet-standard on the same work. See skills/cascade/references/economics.md for the full breakdown, the rate card, and when the cascade doesn't win (small tasks, under ~3 plan items — just run Sonnet).
See skills/cascade/SKILL.md for the full methodology: the .cf record grammar, the F → O → S/H pipeline, and the escalation ladder.
/plugin marketplace add jasonkneen/cascade
/plugin install cascade
This registers the /cascade command and the cascade-analyze / cascade-plan / cascade-execute / cascade-assist subagents automatically (via .claude-plugin/plugin.json).
npx skills add jasonkneen/cascade --skill cascade -a claude-code
npx skills add jasonkneen/cascade
skills add resolves the skills/cascade/ folder per the Agent Skills spec and installs (or symlinks) it into whichever of the 70+ supported agents you target with -a.
Copy or symlink skills/cascade/ into your agent's skills directory. If your harness supports Claude Code-style subagents, also copy skills/cascade/assets/claude-code/agents/*.md into .claude/agents/ and skills/cascade/assets/claude-code/commands/cascade.md into .claude/commands/.
cascade/
├── .claude-plugin/
│ ├── plugin.json # Claude Code plugin manifest
│ └── marketplace.json # Self-hosted marketplace (this repo installs itself)
├── skills/
│ └── cascade/
│ ├── SKILL.md # agentskills.io / skills.sh compatible skill definition
│ ├── references/ # wire format, prompts, economics
│ ├── scripts/ # cascade_cost.py, cascade_stats.py
│ └── assets/claude-code/ # agents + /cascade command for Claude Code
├── LICENSE
└── README.md
npx claudepluginhub jasonkneen/cascade --plugin cascadeSpec-driven development methodology for Claude Code. Provides skills for requirements engineering (EARS format), design documentation, task breakdown, AI prompting strategies, quality assurance, and troubleshooting.
Collection of Claude Code skills, MCP servers, and hooks for enhanced productivity
AI agent skills for CopilotKit — setup, develop, integrate, debug, upgrade, and contribute to CopilotKit projects
Learn from conversation history to improve Claude Code performance. Analyzes logs for communication patterns, model understanding, assumptions, efficiency, and extracts actionable lessons.
v9.52.0 - Reliability wave: tangle contextual review correction loop with hard round ceiling, progress-supervised review rounds (per-agent stall watch, descendant-tree kills), council diversity and agy pin fixes, marketplace generator source-of-truth fix, provider troubleshooting runbook and cost-expectations docs. Run /octo:setup.
Consult multiple AI coding agents (Gemini, OpenAI, Grok, Perplexity, plus codex and antigravity CLIs when installed) to get diverse perspectives on coding problems
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Comprehensive startup business analysis with market sizing (TAM/SAM/SOM), financial modeling, team planning, and strategic research
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.
Comprehensive .NET development skills for modern C#, ASP.NET, MAUI, Blazor, Aspire, EF Core, Native AOT, testing, security, performance optimization, CI/CD, and cloud-native applications