doctor

doctor is a command for Claude Code from MadAppGang/magus. It costs 46 tokens per session (411 once invoked), scanned A, original, MIT.

A command that runs three health checks for a madbench plugin: whether its instructions match the installed madbench version, whether bench files are laid out correctly, and whether the generated index is valid. Madbench is a tool for evaluating AI-agent behavior.

In plain words
What is it for?
Use it to check madbench plugin staleness, validate a project's bench layout, and inspect the generated bench index.
Why use it?
It makes plugin and bench problems visible without relying on an agent to summarize the checks. The raw output preserves the exact results for inspection.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the aside plugin — 1 skill, 1 command shipped together

Good fit Use it to check madbench plugin staleness, validate a project's bench layout, and inspect the generated bench index.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/madappgang/magus/doctor
Install

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.

Clone the repo
git clone --depth 1 https://github.com/MadAppGang/magus

Made for: Claude Code.

Or install aside, the plugin that ships this one along with the rest of its 1 skill, 1 command.

Wrote 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.

agentmods badge for doctor

README.md
[![agentmods](https://agentmods.dev/badge/commands/madappgang/magus/doctor/github.svg)](https://agentmods.dev/commands/madappgang/magus/doctor)
Your own site
<a href="https://agentmods.dev/commands/madappgang/magus/doctor"><img src="https://agentmods.dev/badge/commands/madappgang/magus/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.

agentmods 80×15 button for doctor

Your own site · 80×15
<a href="https://agentmods.dev/commands/madappgang/magus/doctor"><img src="https://agentmods.dev/badge/commands/madappgang/magus/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 411 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00411
Opus 5.5 $0.00018 $0.00164
Sonnet 5.5 $0.00009 $0.00082
Haiku 4.5 $0.00005 $0.00041

Measured 29d ago against content hash da712e3b4c0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

doctor 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 29d 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.

plugins/aside/commands/doctor.md · 31 lines

What it actually says

/aside:doctor

Answers one question: can a task run on Aside right now, and on which host and account? It reads and reports. It installs nothing, signs in to nothing and changes no setting.

Arguments: $ARGUMENTS (an optional --host <id-or-name> to check one host).

Run these, one Bash call each

  1. aside --version. If the command is not found, the CLI is not installed: say that it must be installed and stop. Do not run an installer.
  2. aside account list. It lists the accounts and which one is active and signed in.
  3. aside host list. It lists this machine and any remote hosts, and whether each is online.
  4. aside host status, and with --host, aside host status --host <h>. It shows whether that Aside is running.

Never run aside with no task: it opens an interactive session. Never run aside login, aside host use or aside account use.

Report

Lead with one line: ready, or what blocks.

  • Ready. Name the version, the active account, the host a task would run on (the default one, or the one passed with --host), and whether that host is online.
  • Blocked. Name the one thing and the one step. A machine not signed in to Aside is the user's step, and the CLI prints the command for it. A remote host that is offline or has remote control turned off needs the user to start Aside there; say so and do not suggest running on this machine instead.

Add nothing else.

Changes

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.

  1. 29d ago Changed · -79 lines · +14 tokens per session da712e3b4c0e
  2. 1mo ago Changed · +2 lines · -3 tokens per session d9f74f0d6725
  3. 2mo ago First seen · 108 lines · 35 tokens per session scan A baf534f4c367

Subscribe to this mod's changes

doctor is a command published in the GitHub repository MadAppGang/magus (16 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 411 once invoked, about $0.0002 per session on Opus 5.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-09-12.

Related

doctor compared with commands from other repositories

doctor next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doctorMadAppGang/magusCommand16todayMITA46Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code