doctor

doctor is a command for Claude Code from deeleeramone/PyWry. It costs 27 tokens per session (478 once invoked), scanned A, original, Apache-2.0.

A command that checks whether a PyWry development setup is installed and reachable. PyWry is a Python toolkit for making desktop, browser, or notebook interfaces.

In plain words
What is it for?
Checking Python and PyWry versions, required extras, the native PyTauri module, and the PyWry MCP server startup.
Why use it?
It identifies missing Python packages, native components, or the PyWry tool server before development begins. It also checks whether the configured server can start.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code.

Part of the pywry plugin — 1 skill, 3 commands, 1 agent, 1 hook, 1 MCP server shipped together

Good fit Checking Python and PyWry versions, required extras, the native PyTauri module, and the PyWry MCP server startup.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/deeleeramone/pywry/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/deeleeramone/PyWry

Made for: Claude Code.

Or install pywry, the plugin that ships this one along with the rest of its 1 skill, 3 commands, 1 agent, 1 hook, 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/deeleeramone/pywry/doctor/github.svg)](https://agentmods.dev/commands/deeleeramone/pywry/doctor)
Your own site
<a href="https://agentmods.dev/commands/deeleeramone/pywry/doctor"><img src="https://agentmods.dev/badge/commands/deeleeramone/pywry/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/deeleeramone/pywry/doctor"><img src="https://agentmods.dev/badge/commands/deeleeramone/pywry/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 478 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.00027 $0.00478
Opus 5.5 $0.00011 $0.00191
Sonnet 5.5 $0.00005 $0.00096
Haiku 4.5 $0.00003 $0.00048

Measured 1mo ago against content hash 9c609c43e5ed, 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 1mo 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.

claude/plugins/pywry/commands/doctor.md · 18 lines

What it actually says

Run the following diagnostic steps and report a green/red summary:

  1. Python interpreter — run python --version and report the version. Fail if less than 3.10.
  2. PyWry importable — run python -c "import pywry; print(pywry.__version__)". Fail if ImportError; suggest pip install pywry.
  3. MCP extra installed — run python -c "import pywry.mcp, fastmcp; print(fastmcp.__version__)". Fail if ImportError; suggest pip install 'pywry[dev]' (or pywry[all]) — [dev] also pulls in ruff so the plugin's post‑edit format hook works.
  4. Native PyTauri binary — run python -c "import pytauri; print(pytauri.__file__)" and confirm the module loads. Fail if the platform wheel is missing; link to the PyWry README's Linux system‑package note when on Linux.
  5. MCP server smoke start — run pywry mcp --transport stdio in the background with a 3‑second timeout (this is the same command the plugin's .mcp.json launches). Confirm it starts without crashing (a clean stdio server waits on input). Kill it after. On Windows, also verify pywry.exe is on PATH — the plugin launches the console script rather than bare python to avoid the Microsoft Store Python shim.
  6. Claude Code MCP connection — remind the user to run /mcp in Claude Code to confirm pywry is listed and connected.

For each step, print a single line: ✓ step name or ✗ step name — reason — suggested fix. Do not run PyWry example scripts or create files. This command is read‑only.

If all six checks pass, end with PyWry is healthy. Try /pywry:scaffold <name> to create a new app.

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. 1mo ago First seen · 18 lines · 27 tokens per session scan A 9c609c43e5ed

Subscribe to this mod's changes

doctor is a command published in the GitHub repository deeleeramone/PyWry (98 stars, last pushed 4d ago), licensed Apache-2.0. It adds 27 tokens to every session and 478 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-30.