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-statusgit 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.00023 | $0.01887 |
| Opus 5 | $0.00012 | $0.00944 |
| Sonnet 5 | $0.00005 | $0.00377 |
| Haiku 4.5 | $0.00002 | $0.00189 |
Grade A, and why
mega-status 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 2d 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 — 276 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mega Plan Status
Display comprehensive status of the mega-plan execution.
Path Storage Modes
This command works with both new and legacy path storage modes:
New Mode (Default)
mega-plan.json:~/.plan-cascade/<project-id>/mega-plan.json.mega-status.json:~/.plan-cascade/<project-id>/.state/.mega-status.json- Worktrees:
~/.plan-cascade/<project-id>/.worktree/<feature>/
Legacy Mode
- All files in project root
The command uses PathResolver to find files in the correct locations.
Tool Usage Policy (CRITICAL)
To avoid command confirmation prompts:
-
Use Read tool for file reading - NEVER use
catvia Bash- ✅
Read("mega-plan.json"),Read(".mega-status.json") - ❌
Bash("cat mega-plan.json")
- ✅
-
Use Glob tool for finding files - NEVER use
lsorfindvia Bash- ✅
Glob(".worktree/*/progress.txt") - ❌
Bash("ls .worktree/")
- ✅
-
Use Grep tool for content search - NEVER use
grepvia Bash- ✅
Grep("[FEATURE_COMPLETE]", path="...") - ❌
Bash("grep '[FEATURE_COMPLETE]' ...")
- ✅
-
Only use Bash for actual system commands (git, mkdir, etc.)
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 "Use /plan-cascade:mega-plan <description> to create one first."
exit 1
fi
Step 2: Read Current State
Read the mega-plan and sync status from worktrees:
# Get file paths 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")
MEGA_STATUS_PATH=$(uv run python -c "from plan_cascade.state.path_resolver import PathResolver; from pathlib import Path; print(PathResolver(Path.cwd()).get_mega_status_path())" 2>/dev/null || echo ".mega-status.json")
cat "$MEGA_PLAN_PATH"
cat "$MEGA_STATUS_PATH" 2>/dev/null || echo "{}"
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.
- 2d ago First seen · 276 lines · 23 tokens per session scan A 85acd92bfb15
mega-status is a command published in the GitHub repository Taoidle/plan-cascade (131 stars, last pushed 5mo ago), licensed MIT. It adds 23 tokens to every session and 1,887 once invoked, about $0.0001 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
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.