doctor

doctor is a command for Claude Code from Jujitae/invara. It costs 21 tokens per session (569 once invoked), scanned A, original, Apache-2.0.

A troubleshooting command for finding why the INVARA MCP server cannot start. It checks whether Python is installed and whether Windows is redirecting the `python` command to a non-working Store alias.

In plain words
What is it for?
Use it when INVARA fails to connect, especially on Windows. It checks the Python command, interprets the result, and tells the user what version or installation is needed.
Why use it?
It helps distinguish an INVARA problem from a missing or outdated Python installation. It also explains the fix in plain language without requiring Python to be installed first.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the invara plugin — 3 commands, 1 MCP server shipped together

Good fit Use it when INVARA fails to connect, especially on Windows. It checks the Python command, interprets the result, and tells the user what version or installation is needed.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jujitae/invara/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/Jujitae/invara

Made for: Claude Code.

Or install invara, the plugin that ships this one along with the rest of its 3 commands, 1 MCP server.

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/jujitae/invara/doctor/github.svg)](https://agentmods.dev/commands/jujitae/invara/doctor)
Your own site
<a href="https://agentmods.dev/commands/jujitae/invara/doctor"><img src="https://agentmods.dev/badge/commands/jujitae/invara/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/jujitae/invara/doctor"><img src="https://agentmods.dev/badge/commands/jujitae/invara/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 569 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.00021 $0.00569
Opus 5.5 $0.00008 $0.00228
Sonnet 5.5 $0.00004 $0.00114
Haiku 4.5 $0.00002 $0.00057

Measured 3mo ago against content hash 5d1353410109, 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 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.

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.

plugin/commands/doctor.md · 44 lines

What it actually says

The INVARA MCP server is spawned as python -m invara.mcp. When it fails to connect, the cause is almost always the machine's python, not INVARA — and on Windows that failure can be silent. Diagnose it for the user and tell them, in their language, exactly what to install. Do not assume Python exists; none of the steps below require it.

Steps

  1. Find what python resolves to.

    • Windows (PowerShell): Get-Command python | Select-Object Source
    • macOS/Linux: command -v python || command -v python3
  2. Interpret:

    • No python at all → Python is not installed. Go to step 4.
    • Windows: the source is under ...\Microsoft\WindowsApps\python.exe → this is the Microsoft Store app-execution alias, not Python. Confirm with step 3. This is the known silent case (INV-011).
    • A real installation path → run python --version; if it prints < 3.12, the interpreter is below INVARA's floor. Go to step 4.
  3. Confirm the Store alias (Windows). Run: python --version; $LASTEXITCODE Measured signature of the alias when Python is not installed: exit code 9009 (or 49 through an 8-bit truncating layer), stderr of exactly 7 bytes: Python , nothing on stdout. If you see this, Python is not actually installed on this machine — the alias only pretends.

  4. Tell the user, bilingually (English + the user's language), all three of:

    • What is missing: Python 3.12+ is not installed (or the Microsoft Store alias is shadowing it).
    • How to fix it: install from https://www.python.org/downloads/ (on Windows also: winget install Python.Python.3.12), or disable the alias under Settings > Apps > Advanced app settings > App execution aliases. During python.org installation, check "Add python.exe to PATH".
    • Whose fault it is not: this failure happens before any INVARA code runs; it is the environment, not an INVARA defect.
  5. After the fix, ask the user to restart Claude Code so the plugin respawns the server, then verify with /mcp that invara is connected.

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. 3mo ago First seen · 44 lines · 21 tokens per session scan A 5d1353410109

Subscribe to this mod's changes

doctor is a command published in the GitHub repository Jujitae/invara (1 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 21 tokens to every session and 569 once invoked, about $0.0001 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-08-31.

Related

doctor compared with commands from other repositories

doctor next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doctorJujitae/invaraCommand12mo agoApache-2.0A21Claude Code
bugfixfall-out-bug/sdpCommand195mo agoMITA17Claude Code
hotfixfall-out-bug/sdpCommand195mo agoMITA12Claude Code
ci-triagefall-out-bug/sdpCommand195mo agoMITA18Claude Code
debugfall-out-bug/sdpCommand195mo agoMITA12Claude Code
issuefall-out-bug/sdpCommand195mo agoMITA14Claude Code
auditar-cascadingluanpdd/kit-mcpCommand5yesterdayMITA54Claude Code