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/mega-completegit clone --depth 1 https://github.com/Taoidle/plan-cascadeWhat 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.00031 | $0.02713 |
| Opus 5 | $0.00015 | $0.01357 |
| Sonnet 5 | $0.00006 | $0.00543 |
| Haiku 4.5 | $0.00003 | $0.00271 |
Grade C, and why
mega-complete scanned grade C with 1 finding 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 yesterday.
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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf .agent-outputs How it starts
The opening of the file, as written. The whole thing — 371 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Complete Mega Plan
Complete the mega-plan by cleaning up remaining planning files.
Note: In the new batch-by-batch execution model, code merging happens automatically when each batch completes (via mega-approve). This command only performs final cleanup.
Path Storage Modes
This command works with both new and legacy path storage modes:
New Mode (Default)
Cleanup removes files from user data directory:
~/.plan-cascade/<project-id>/mega-plan.json~/.plan-cascade/<project-id>/.state/.mega-status.json~/.plan-cascade/<project-id>/.worktree/(remaining worktrees)<project-root>/mega-findings.md(user-visible file in project root)
Legacy Mode
Cleanup removes files from project root:
<project-root>/mega-plan.json<project-root>/.mega-status.json<project-root>/.worktree/<project-root>/mega-findings.md
The command auto-detects which mode is active.
Step 1: Verify Mega Plan Exists
# Get mega-plan path from PathResolver
MEGA_PLAN_PATH=$(uv run python -c "from plan_cascade.state.path_resolver import PathResolver; from pathlib import Path; print(PathResolver(Path.cwd()).get_mega_plan_path())" 2>/dev/null || echo "mega-plan.json")
if [ ! -f "$MEGA_PLAN_PATH" ]; then
echo "No mega-plan.json found at: $MEGA_PLAN_PATH"
echo "Nothing to complete."
exit 0
fi
Step 2: Check Completion Status
Read .mega-status.json and mega-plan.json to verify:
- All batches have been completed
- All features have been merged
If any batches are still pending:
============================================================
CANNOT COMPLETE - BATCHES PENDING
============================================================
The following batches have not been completed:
Batch 2:
[ ] feature-003: Shopping Cart
[ ] feature-004: Order Processing
Complete remaining batches first:
/plan-cascade:mega-approve
Then run this command again.
============================================================
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.
- yesterday First seen · 371 lines · 31 tokens per session scan C a8e5077b5737
mega-complete is a command published in the GitHub repository Taoidle/plan-cascade (124 stars, last pushed 5mo ago), licensed MIT. It adds 31 tokens to every session and 2,713 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
conv_release
Command "conv_release" from John-Wendell/Attention-MoA, covering chatbot arena conversations, all conversations and prompt distribution.
data_cleaning
Command "data_cleaning" from John-Wendell/Attention-MoA, covering data cleaning, requirements, steps, convert html to markdown and keep or remove specific languages.
pypi
Command "pypi" from John-Wendell/Attention-MoA, covering requirement and upload.
local_cluster
node-01.
webserver
Command "webserver" from John-Wendell/Attention-MoA, covering install, launch servers, check the launch time, increase the limit of max open files and gradio edit (3.35.2).
leaderboard
Command "leaderboard" from John-Wendell/Attention-MoA, covering get logs, clean battle data, run elo analysis, copy files to hf space and update files on webserver.