Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add MadAppGang/magus/plugin install devWrote 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/madappgang/magus/status)<a href="https://agentmods.dev/commands/madappgang/magus/status"><img src="https://agentmods.dev/badge/commands/madappgang/magus/status/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/madappgang/magus/status"><img src="https://agentmods.dev/badge/commands/madappgang/magus/status.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.00061 | $0.03086 |
| Opus 5.5 | $0.00024 | $0.01234 |
| Sonnet 5.5 | $0.00012 | $0.00617 |
| Haiku 4.5 | $0.00006 | $0.00309 |
Grade C, and why
status 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 2mo 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- Never `rm -rf` a worktree and never `git worktree remove --force`. `ExitWorktree` How it starts
The opening of the file, as written. The whole thing — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.
<user_request>$ARGUMENTS</user_request>
<why_this_exists> Compaction replaces the conversation with a summary whose sections are fixed: what was accomplished, what is in progress, files, next steps, constraints. Decisions and their rejected alternatives, verified-vs-unverified, blockers and plan changes have no slot, so they are the first things lost, and it happens without the user asking. The transcript on disk is NOT compacted, so the facts are still there. The collector reads them; you turn them into the report; the SessionStart hook re-injects the head after the next compaction. </why_this_exists>
<step number="1" name="Resolve arguments">
Parse $ARGUMENTS. Do not ask the user anything the arguments already answer.
- `--json` print the evidence bundle and stop; no synthesis, no report file
- `--session <id>` reconstruct another session of this directory (its transcript
is read; its artifacts are not authority for this one)
- `--no-transcript` git, PR and artifacts only (use when the transcript is huge)
- `--no-fetch` skip `git fetch` / `git ls-remote` (offline; remote state may be stale)
- `--handoff "<goal>"` append a paste-ready resume prompt aimed at that goal
Default: full report for the current session.
</step>
<step number="2" name="Collect evidence">
Run the collector and read its JSON. It is facts only: it never guesses a merge
state, never reads another session's artifacts, and degrades to git-only when the
transcript or `gh` is unavailable, saying so in `errors`.
```bash
bun "${CLAUDE_PLUGIN_ROOT}/scripts/status/collect.ts" --cwd "$PWD" --json
```
Pass `--session`, `--no-transcript`, `--no-fetch` through when given. Check
`bun --version` first; if bun is missing, say so, collect what you can by hand
(`git status --porcelain --branch`, `git log @{u}..HEAD --oneline`,
`gh pr view --json state,mergedAt,mergeCommit`) and state plainly that the transcript
was not read, so decisions and verification come from your own context only.
With `--json`, print the bundle and stop here.
Read `sessionIdSource`. If it is `newest-transcript`, say so in the report: two
sessions in one directory can make that guess wrong, and `--session <id>` fixes it.
</step>
<step number="3" name="Synthesise, evidence first">
Build the report from the bundle plus what you still hold in context. Rules:
EVIDENCE OR IT DID NOT HAPPEN. An item goes under "Done and verified" only with a
pointer: a commit SHA from `git.commits`, a passing `transcript.verifications` entry
dated after the item's last edit, or a file path you have checked exists. Claiming
completion without an artifact is the failure this command exists to prevent; the
agentops handoff skill calls it "optimistic closure". Never invent a pointer.
DO NOT MANUFACTURE EVIDENCE. The collector run in step 2 is the only command this
report executes. Never re-run tests, typechecks, builds, release gates, hooks or
diffs to decide whether something is verified — measured in a real run, that turned
a 30-second status report into a full test pass of the repository and the session
hit its usage limit before printing a single line. A run that is missing from the
bundle is simply "done, not verified — no run after the last edit at {time}", and the
user decides whether to run it. Reading a file to confirm it exists is allowed;
executing anything else is not.
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.
- 2mo ago Changed · +181 lines · +37 tokens per session scan A → C 4ecd0244bfec
- 2mo ago First seen · 38 lines · 24 tokens per session scan A 576de97409d2
status is a command published in the GitHub repository MadAppGang/magus (16 stars, last pushed today), licensed MIT. It adds 61 tokens to every session and 3,086 once invoked, about $0.0002 per session on Opus 5.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-09-04.
status compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| statusMadAppGang/magus | Command | 16 | today | MIT | C | 61 | Claude Code |
| cancel-ralphanthropics/claude-plugins-official | Command | 49k | today | Apache-2.0 | A | 4 | Claude Code |
| wsdanielmiessler/LifeOS | Command | 21k | 13d ago | MIT | A | 0 | Claude Code |
| engage.actionshypnguyen1209/offensive-claude | Command | 432 | 1mo ago | MIT | A | 11 | Claude Code |
| promote-lessonskumaran-is/claude-code-onboarding | Command | 37 | today | MIT | A | 25 | Claude Code |
| focusData-Wise/claude-plugins | Command | 7 | today | MIT | A | 0 | Claude Code |
| stuckData-Wise/claude-plugins | Command | 7 | today | MIT | A | 0 | Claude Code |