doctor

doctor is a skill for Claude Code from bdfinst/agentic-dev-team. It costs 26 tokens per session (885 once invoked), scanned A, original, MIT.

A diagnostic command for checking the dev-team plugin installation and this repository's configuration. With --fix, it can create missing runtime directories.

In plain words
What is it for?
Use it to check the installation or project configuration, optionally repair missing runtime directories, and inspect the command's reported errors.
Why use it?
It gives a mechanical report on setup problems instead of requiring manual inspection, while restricting which command options can be passed through.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/user/.claude/plugins/cache/bfinster/dev-team/14.0.1.

Part of the dev-team plugin — 102 skills, 56 agents, 4 hooks shipped together

Good fit Use it to check the installation or project configuration, optionally repair missing runtime directories, and inspect the command's reported errors.

Compare 6 skills 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 bdfinst/agentic-dev-team
Claude Code
/plugin install dev-team

Made for: Claude Code.

Or install dev-team, the plugin that ships this one along with the rest of its 102 skills, 56 agents, 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/skills/bdfinst/agentic-dev-team/doctor/github.svg)](https://agentmods.dev/skills/bdfinst/agentic-dev-team/doctor)
Your own site
<a href="https://agentmods.dev/skills/bdfinst/agentic-dev-team/doctor"><img src="https://agentmods.dev/badge/skills/bdfinst/agentic-dev-team/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/skills/bdfinst/agentic-dev-team/doctor"><img src="https://agentmods.dev/badge/skills/bdfinst/agentic-dev-team/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 885 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.00026 $0.00885
Opus 5.5 $0.00010 $0.00354
Sonnet 5.5 $0.00005 $0.00177
Haiku 4.5 $0.00003 $0.00089

Measured 25d ago against content hash a2f62389c7ab, 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 25d 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.

plugins/dev-team/skills/doctor/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Doctor

Role: worker. This command runs one script that checks the plugin install and this repo's dev-team configuration. It is a purely mechanical lookup. You do not interpret the checks.

You have been invoked with the /doctor command.

Arguments: $ARGUMENTS

Steps

Run the script and report its output verbatim:

sh "$CLAUDE_PLUGIN_ROOT/hooks/py.sh" "$CLAUDE_PLUGIN_ROOT/scripts/doctor.py" $ARGUMENTS

Pass only these tokens through $ARGUMENTS: --json, --fix, and --project <DIR>. Wrap DIR in single quotes, and replace each ' inside DIR with '\''. If any other token appears, refuse the whole invocation and run nothing. Also refuse if a shell metacharacter appears outside the quoted DIR: ;, |, &, $, a backtick, (, ), <, >, or a newline.

hooks/py.sh resolves a real Python 3 interpreter on every OS, or exits 2.

Exit codes

  • Exit 0: print stdout verbatim, then stderr if it is not empty.
  • Exit 1: a diagnosis, not a tool error: print stdout verbatim, then stderr if it is not empty, and do not retry.
  • Exit 2: print stderr verbatim.

Exit 1 also follows a failed --fix action; stderr carries the errors in both modes, and the text report also lists them in an errors: block. Exit 0 means no row failed, and warn rows do not fail the run.

Flags

  • --json prints the report as JSON instead of text.
  • --fix creates the missing .claude/metrics and .claude/memory directories, and their .claude parent if that is also missing. It changes no other file. With --fix, the text report also lists the fixed: directories (or fixed: none), plus an errors: block if an action failed, before the overall: line.
  • --project DIR diagnoses the project containing DIR instead of the current directory.

Checks

The script runs these nine checks, in this order:

  1. plugin-version
  2. hook-registration
  3. interpreter
  4. python-floor
  5. required-tools
  6. optional-tools
  7. metrics-writable
  8. project-settings
  9. managed-sections

Read the full file on GitHub · 88 lines

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. 25d ago First seen · 88 lines · 26 tokens per session scan A a2f62389c7ab

Subscribe to this mod's changes

doctor is a skill published in the GitHub repository bdfinst/agentic-dev-team (312 stars, last pushed today), licensed MIT. It adds 26 tokens to every session and 885 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-11-07.

Related

doctor compared with skills from other repositories

doctor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doctorbdfinst/agentic-dev-teamSkill312todayMITA26Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9kyesterdayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill342todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
verus-query-timinglbx154/ArgusSkill337yesterdayMITA28Claude Code, Codex