doctor

doctor is a skill for Claude Code from MedAdemBHA/docflow. It costs 56 tokens per session (276 once invoked), scanned A, original, MIT.

A read-only diagnostic tool for a documentation workflow. It checks a repository's documentation, configuration, changelog, and links, then says whether to start, adopt, repair, or validate the setup.

In plain words
What is it for?
Use it to check documentation setup, decide whether a repository needs initialization or repair, and receive a recommended next command.
Why use it?
It shows what is missing or broken before any files are changed, helping avoid overwriting existing documentation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the docflow plugin — 9 skills, 3 commands 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 skills/medadembha/docflow/doctor
Any agent
npx skills add MedAdemBHA/docflow --skill doctor
Clone the repo
git clone --depth 1 https://github.com/MedAdemBHA/docflow

Made for: Claude Code.

Or install docflow, the plugin that ships this one along with the rest of its 9 skills, 3 commands.

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/skills/medadembha/docflow/doctor.svg)](https://agentmods.dev/skills/medadembha/docflow/doctor)
Your own site
<a href="https://agentmods.dev/skills/medadembha/docflow/doctor"><img src="https://agentmods.dev/badge/skills/medadembha/docflow/doctor.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 276 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.1 $0.00056 $0.00276
Opus 5 $0.00028 $0.00138
Sonnet 5 $0.00011 $0.00055
Haiku 4.5 $0.00006 $0.00028

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

skills/doctor/SKILL.md · 34 lines

What it actually says

doctor

Goal: inspect before changing anything. This skill is read-only.

Run

bash scripts/docflow-doctor.sh --target <REPO ROOT>

If running from an installed plugin where scripts are not in the target repo, use the plugin script path.

Interpret the recommendation

  • docflow-init = no meaningful docs found; scaffolding is safe → run /docflow:init.
  • docflow-adopt = docs/README already exist; preserve them → run /docflow:adopt.
  • docflow-repair = docflow exists; regenerate map/check links → run /docflow:repair.
  • validation: fail = docs have blockers; run /docflow:validate for details.

Report

Use these headings: Status, Detected, Missing, Risks, Recommended next command.

Rules

  • Do not edit files.
  • Do not run scaffold/adopt/repair.
  • Keep output concise and copy the doctor's section headings.
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. 6d ago First seen · 34 lines · 56 tokens per session scan A bdca3606d979

Subscribe to this mod's changes

doctor is a skill published in the GitHub repository MedAdemBHA/docflow (41 stars, last pushed 21d ago), licensed MIT. It adds 56 tokens to every session and 276 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

wiki

Markdown-first knowledge base where the LLM acts as librarian. Ingests raw sources, compiles and interlinks topic files, self-maintains an index. No vector DB or embeddings required -- uses LLM-native navigation over structured markdown up to 400K words.

SethGammon/Citadel · 56 tokens

html-summary

Convert a stakeholder summary markdown file into a single self-contained HTML executive report — bottom line and decision asks up front, supporting detail later — styled with a Test Double-derived palette and self-contained mermaid diagrams. Use when the user wants to turn a stakeholder summary, executive summary, or…

testdouble/han · 100 tokens

design-an-api

Designs the contract for an API change inside one codebase — a component's props, a function surface, URL or query parameters, an event payload, or a module boundary — through a discovery pass, an options document with one recommendation, a question round, and an adversarial validation round, with every element of the…

testdouble/han · 203 tokens

Documentation Hygiene ドキュメント衛生

AGENTS.md などの恒久ドキュメントに一過性のタスクログが混入していないか、SOP / decision / log / learned の役割が混同されていないか、公開物(README / docs / 記事)に内部メモ・ローカルパス・AI 会話断片が残っていないかを差分で検出する.

s977043/river-review · 97 tokens

read-text

Extract structured text, numbers, labels, and codes from images and evaluate by character or field accuracy. TRIGGER when: user asks to read/scan a serial, part/date/lot number, label, license plate, meter, gauge, barcode, QR code, invoice, document, form field, or other image text. SKIP when: user asks to tally/count…

Borda/vision-delivery · 143 tokens

preserve-security-evidence

Preserve security evidence before analysis, containment, or remediation changes it. Use for artifacts, volatile host state, vulnerability validation, records, logs, screenshots, commands, hashes, timelines, and reproducible handoffs.

gaelic-ghost/socket · 49 tokens