doctor

doctor is a command for coding agents from Ohswedd/praxis. It costs 14 tokens per session (175 once invoked), scanned A, original, MIT.

A command for diagnosing a repository's Praxis setup and reporting missing pieces or documentation drift. Drift means the written instructions disagree with the current settings or refer to files, scripts, or commands that no longer exist.

In plain words
What is it for?
Use it to check repository health and review setup or documentation problems. It points to bootstrap for missing setup, config for settings changes, and docs for repairing documentation drift.
Why use it?
Stale setup or instructions can make a coding agent follow unsafe or impossible steps. This explains what is missing, what settings are active, and which documentation is no longer trustworthy.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the praxis plugin — 15 skills, 8 commands, 13 agents, 5 hooks shipped together

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.

agentmods
npx agentmods add commands/ohswedd/praxis/doctor
Clone the repo
git clone --depth 1 https://github.com/Ohswedd/praxis

Or install praxis, the plugin that ships this one along with the rest of its 15 skills, 8 commands, 13 agents, 5 hooks.

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/ohswedd/praxis/doctor.svg)](https://agentmods.dev/commands/ohswedd/praxis/doctor)
Your own site
<a href="https://agentmods.dev/commands/ohswedd/praxis/doctor"><img src="https://agentmods.dev/badge/commands/ohswedd/praxis/doctor.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 175 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00014 $0.00175
Opus 5 $0.00007 $0.00088
Sonnet 5 $0.00003 $0.00035
Haiku 4.5 $0.00001 $0.00017

Measured 5d ago against content hash 810279f3a909, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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/praxis/commands/doctor.md · 20 lines

What it actually says

Run the praxis doctor check and report the results:

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/doctor.py"

Interpret the output rather than pasting it: explain each MISSING item and what it costs, state the settings actually in force, and walk through any documentation drift it found. Drift means a document contradicts the live configuration, or points at a command, script, or file that no longer exists; both make a session act on something untrue, so treat them as defects and offer to fix them with /praxis:docs.

Then offer /praxis:bootstrap for missing setup, and /praxis:config to change a setting. Propose changes and ask before writing anything.

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. 5d ago First seen · 20 lines · 14 tokens per session scan A 810279f3a909

Subscribe to this mod's changes

doctor is a command published in the GitHub repository Ohswedd/praxis (1 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 175 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-31.