doctor

doctor is a skill for Claude Code from joris887/exosuit. It costs 23 tokens per session (2,514 once invoked), scanned B, original, MIT.

A project health check for the Exosuit framework and its development setup. It verifies configured commands, hook dependencies, and whether project rules apply to actual files.

In plain words
What is it for?
Use it after setup or when something is not working to check commands, formatting and shell hooks, dependencies, project rules, and recent rule activity.
Why use it?
It helps explain why framework automation is not working and distinguishes required failures from optional missing tools. It can also identify rules that are unused or no longer relevant.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; positional $N argument.

Part of the exosuit plugin — 44 skills, 1 command, 9 agents, 10 hooks shipped together

Good fit Use it after setup or when something is not working to check commands, formatting and shell hooks, dependencies, project rules, and recent rule activity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joris887/exosuit/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.

Any agent
npx skills add joris887/exosuit --skill doctor
Clone the repo
git clone --depth 1 https://github.com/joris887/exosuit

Made for: Claude Code.

Or install exosuit, the plugin that ships this one along with the rest of its 44 skills, 1 command, 9 agents, 10 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/joris887/exosuit/doctor/github.svg)](https://agentmods.dev/skills/joris887/exosuit/doctor)
Your own site
<a href="https://agentmods.dev/skills/joris887/exosuit/doctor"><img src="https://agentmods.dev/badge/skills/joris887/exosuit/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/joris887/exosuit/doctor"><img src="https://agentmods.dev/badge/skills/joris887/exosuit/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,514 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00023 $0.02514
Opus 5 $0.00012 $0.01257
Sonnet 5 $0.00005 $0.00503
Haiku 4.5 $0.00002 $0.00251

Measured 9d ago against content hash f864d376d0b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

doctor scanned grade B with 1 finding 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate-skills.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

echo "Project profile: $(cat .claude/hooks/state/project-profile 2>/dev/null || echo 'standard (default)')"
.claude/skills/doctor/SKILL.md · 238 lines

How it starts

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


doctor

Run a comprehensive health check on the framework configuration and project setup.

1. Command Verification

Read CLAUDE.md Commands section. For each configured command (test, lint, format, build, typecheck):

2. Hook Dependencies

For each hook in .claude/settings.json:

  • Verify the hook script file exists and is executable
  • For post-edit-format.sh: check if at least one formatter is installed (prettier, biome, ruff, black, rustfmt, gofmt)
  • For shell hook scripts: verify git is available (used by stop.sh, session-start.sh)
  • Optional: check if jq is available (hooks fall back to sed without it)

Report: PASS/WARN (missing optional tools)/FAIL (missing required tools)

3. Rule Relevance

For each rule in .claude/rules/:

  • Read the YAML frontmatter paths: field
  • Check if any files in the project match those patterns
  • Report: ACTIVE (matches found) / DORMANT (no matches — rule will never trigger)
  • Check docs/sessions/.activity-log.jsonl for rule trigger frequency over the last 5 sessions
  • Rules that are ACTIVE but have zero trigger events in 5+ sessions: report as REVIEW (candidate for retirement)
  • The "pull their weight" test: if a rule never changes AI behavior, it wastes context budget

4. Skill Dependencies & Cross-References

For each skill with depends-on: in YAML frontmatter:

  • Verify each dependency skill exists in .claude/skills/
  • For skills with requires: — check binaries, commands, and files
  • Report: PASS/WARN (optional dependency missing)/FAIL (required dependency missing)

For each skill with calls: in skills-registry.json:

Read the full file on GitHub · 238 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 238 lines · 23 tokens per session scan B f864d376d0b6

Subscribe to this mod's changes

doctor is a skill published in the GitHub repository joris887/exosuit (4 stars, last pushed 20d ago), licensed MIT. It adds 23 tokens to every session and 2,514 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.