doctor

doctor is a command for Claude Code from Modellix/modellix-plugin. It costs 16 tokens per session (299 once invoked), scanned A, original, MIT.

A diagnostic command for the Modellix command-line tool, which connects to Modellix's AI media-generation service.

In plain words
What is it for?
It helps troubleshoot Modellix installation, authentication, connectivity, key validity, and balance problems.
Why use it?
It shows whether the local tool, credentials, network connection, API key, and account balance are usable without submitting a paid job.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 skills/modellix-design/scripts/preflight.py --json.

Part of the modellix plugin — 2 skills, 8 commands, 3 hooks, 1 MCP server shipped together

Good fit It helps troubleshoot Modellix installation, authentication, connectivity, key validity, and balance problems.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Modellix/modellix-plugin
agentmods
npx agentmods add commands/modellix/modellix-plugin/doctor

Made for: Claude Code.

Or install modellix, the plugin that ships this one along with the rest of its 2 skills, 8 commands, 3 hooks, 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/modellix/modellix-plugin/doctor/github.svg)](https://agentmods.dev/commands/modellix/modellix-plugin/doctor)
Your own site
<a href="https://agentmods.dev/commands/modellix/modellix-plugin/doctor"><img src="https://agentmods.dev/badge/commands/modellix/modellix-plugin/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/modellix/modellix-plugin/doctor"><img src="https://agentmods.dev/badge/commands/modellix/modellix-plugin/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 299 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.00016 $0.00299
Opus 5.5 $0.00006 $0.00120
Sonnet 5.5 $0.00003 $0.00060
Haiku 4.5 $0.00002 $0.00030

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

commands/doctor.md · 22 lines

What it actually says

Diagnose the Modellix setup. Optional profile: $ARGUMENTS

Read-only: never submit a paid task from this command.

  1. Run the packaged preflight so a missing/older CLI is refreshed from public npm before doctor:
python3 skills/modellix-design/scripts/preflight.py --json

Add --profile $ARGUMENTS when a profile was given. MODELLIX_CLI_AUTO_UPDATE=0 pins the installed version; otherwise update failure safely retains an existing CLI or reports the REST fallback.

  1. Read the report: Node.js version, key source, API connectivity, key validity, balance. doctor never prints the key itself.
  2. If no credential resolves, follow the API key lifecycle in skills/modellix-design/SKILL.md: discover the session env MODELLIX_API_KEY and saved profiles first, ask the user only when nothing is available, and keep it session-only unless they ask to persist (modellix-cli auth login).
  3. If the CLI cannot be installed, say so and note that the REST fallback in skills/modellix-design/references/rest-playbook.md needs MODELLIX_API_KEY.
  4. Summarize what passed, what failed, and the single next action. Never echo the key.
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 Changed 417230c37555
  2. 1mo ago First seen · 22 lines · 16 tokens per session scan A 95d58a8f9763

Subscribe to this mod's changes

doctor is a command published in the GitHub repository Modellix/modellix-plugin (1 stars, last pushed 2d ago), licensed MIT. It adds 16 tokens to every session and 299 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.