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.
git clone --depth 1 https://github.com/frenzymath/ArchonWrote 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/frenzymath/archon/doctor)<a href="https://agentmods.dev/commands/frenzymath/archon/doctor"><img src="https://agentmods.dev/badge/commands/frenzymath/archon/doctor/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/frenzymath/archon/doctor"><img src="https://agentmods.dev/badge/commands/frenzymath/archon/doctor.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.00009 | $0.02318 |
| Opus 5.5 | $0.00004 | $0.00927 |
| Sonnet 5.5 | $0.00002 | $0.00464 |
| Haiku 4.5 | $0.00001 | $0.00232 |
Grade C, and why
doctor 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 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- Default: Report findings, show `rm -rf` commands, do NOT execute How it starts
The opening of the file, as written. The whole thing — 281 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lean4 Doctor
Diagnostics, troubleshooting, and migration assistance for the Lean4 plugin.
Usage
/lean4:doctor # Full diagnostic (plugin + workspace)
/lean4:doctor env # Environment only
/lean4:doctor migrate # Detect legacy installs (read-only)
/lean4:doctor migrate --global # Include user-level ~/.claude scan
/lean4:doctor cleanup # Show stale files + removal commands
/lean4:doctor cleanup --apply # Actually remove stale files
Inputs
| Arg | Required | Description |
|---|---|---|
| mode | No | env, migrate, cleanup, or full (default) |
| --global | No | Include user-level paths (~/); migrate only |
| --apply | No | Execute removals; cleanup only |
Actions
1. Environment Check
| Tool | Check | Required |
|---|---|---|
lean |
lean --version |
Yes |
lake |
lake --version |
Yes |
python3 |
python3 --version |
For scripts |
git |
git --version |
For commits |
rg |
rg --version |
Optional (faster search) |
Environment variables: LEAN4_PLUGIN_ROOT, LEAN4_SCRIPTS, LEAN4_REFS, LEAN4_PYTHON_BIN
1b. MCP Tools
| Check | Detection | Status |
|---|---|---|
| Lean LSP MCP | lean_goal tool available in this session |
Optional (sub-second feedback) |
✓ … available or ⚠ … unavailable — see INSTALLATION.md |
2. Plugin Check
Verify structure and permissions:
plugins/lean4/
├── .claude-plugin/plugin.json
├── commands/ (*.md command files)
├── hooks/ (executable .sh)
├── skills/lean4/ (SKILL.md + references/)
├── agents/ (4 files)
└── lib/scripts/ (12 files, executable)
3. Project Check
lakefile.leanandlean-toolchainpresentlake buildpasses- Sorry count reported
4. Migration Detection (read-only)
Detects legacy v3 artifacts without making changes.
Legacy plugin installs:
~/.claude/plugins/lean4-theorem-proving/
~/.claude/plugins/lean4-subagents/
~/.claude/plugins/lean4-memories/
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 · 281 lines · 9 tokens per session scan C 6379e132920b
doctor is a command published in the GitHub repository frenzymath/Archon (235 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 9 tokens to every session and 2,318 once invoked, about $0.0000 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-08-30.
doctor compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| doctorfrenzymath/Archon | Command | 235 | 3mo ago | Apache-2.0 | C | 9 | Claude Code |
| qa-changesOpenHands/extensions | Command | 190 | today | MIT | A | 63 | Claude Code |
| auditar-cascadingluanpdd/kit-mcp | Command | 5 | yesterday | MIT | A | 54 | Claude Code |
| react-nativegetsentry/toolkit | Command | 977 | today | none | A | 0 | Claude Code |
| http-serviceMadAppGang/magus | Command | 16 | today | MIT | A | 27 | Claude Code |
| doctordoncheli/don-cheli-sdd | Command | 59 | 3mo ago | Apache-2.0 | A | 76 | Claude Code |
| doctorfatihkan/badi | Command | 8 | 1mo ago | MIT | A | 0 | Claude Code |