doctor

doctor is a command for Claude Code from uwuclxdy/claudix. It costs 30 tokens per session (221 once invoked), scanned A, original, Apache-2.0.

A troubleshooting command for the claudix search plugin. It checks the plugin program, its search index, and the service that creates search embeddings, which are data used to compare meanings.

In plain words
What is it for?
Use it to diagnose missing indexes, incompatible embedding models, unavailable embedding providers, or development-mode installations.
Why use it?
It shows why search is failing, why an index cannot be built, or why the embedding service cannot be reached. It also provides the next repair action for common problems.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claudix plugin — 1 skill, 1 command, 4 hooks shipped together

Good fit Use it to diagnose missing indexes, incompatible embedding models, unavailable embedding providers, or development-mode installations.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add uwuclxdy/claudix
Claude Code
/plugin install claudix

Made for: Claude Code.

Or install claudix, the plugin that ships this one along with the rest of its 1 skill, 1 command, 4 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/uwuclxdy/claudix/doctor.svg)](https://agentmods.dev/commands/uwuclxdy/claudix/doctor)
Your own site
<a href="https://agentmods.dev/commands/uwuclxdy/claudix/doctor"><img src="https://agentmods.dev/badge/commands/uwuclxdy/claudix/doctor.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 221 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.00030 $0.00221
Opus 5 $0.00015 $0.00111
Sonnet 5 $0.00006 $0.00044
Haiku 4.5 $0.00003 $0.00022

Measured 4d ago against content hash cf3371a9bd65, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 4d 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.

commands/doctor.md · 15 lines

What it actually says

Run through the node bootstrap so it resolves without claudix on PATH, with stderr merged so action hints stay visible: !node "${CLAUDE_PLUGIN_ROOT}/bin/claudix-bootstrap.js" doctor 2>&1

If embedding_healthy: false, tell the user to run claudix install to download the bundled model, or set provider = "http" in ~/.claude/claudix.toml for LM Studio/Ollama.

If embedding_model_mismatch: true or index_present: false, build the index with the active model: node "${CLAUDE_PLUGIN_ROOT}/bin/claudix-bootstrap.js" index

If development_mode: true, note that claudix is running the cargo install binary at binary_path (dev mode), not the downloaded release.

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. 4d ago Changed cf3371a9bd65
  2. 8d ago First seen · 15 lines · 30 tokens per session scan A a6bdd642adbb

Subscribe to this mod's changes

doctor is a command published in the GitHub repository uwuclxdy/claudix (4 stars, last pushed 5d ago), licensed Apache-2.0. It adds 30 tokens to every session and 221 once invoked, about $0.0002 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.