afc:doctor

afc:doctor is a skill for Claude Code from jhlee0409/all-for-claudecode. It costs 13 tokens per session (1,040 once invoked), scanned A, original, MIT.

A read-only health check for the all-for-claudecode plugin in the current project. It checks the plugin’s installation, settings, hooks, stored state, and surrounding environment.

In plain words
What is it for?
Checking plugin setup before using it, investigating configuration warnings, and getting detailed or faster status reports.
Why use it?
It shows whether the plugin is set up correctly without examining your project’s code. When it finds a problem, it gives a command that can fix it.

Skill for Claude Code

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

Part of the afc plugin — 29 skills, 12 agents, 19 hooks shipped together

Good fit Checking plugin setup before using it, investigating configuration warnings, and getting detailed or faster status reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jhlee0409/all-for-claudecode/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 jhlee0409/all-for-claudecode --skill doctor
Clone the repo
git clone --depth 1 https://github.com/jhlee0409/all-for-claudecode

Made for: Claude Code.

Or install afc, the plugin that ships this one along with the rest of its 29 skills, 12 agents, 19 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 afc:doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/doctor/github.svg)](https://agentmods.dev/skills/jhlee0409/all-for-claudecode/doctor)
Your own site
<a href="https://agentmods.dev/skills/jhlee0409/all-for-claudecode/doctor"><img src="https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/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 afc:doctor

Your own site · 80×15
<a href="https://agentmods.dev/skills/jhlee0409/all-for-claudecode/doctor"><img src="https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,040 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.00013 $0.01040
Opus 5 $0.00006 $0.00520
Sonnet 5 $0.00003 $0.00208
Haiku 4.5 $0.00001 $0.00104

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

Security

Grade A, and why

afc: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 11d 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 · 127 lines

How it starts

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

/afc:doctor — Plugin Setup Diagnosis

Checks whether the all-for-claudecode plugin is correctly installed and configured in the current project. Like brew doctor or flutter doctor — verifies the tool's setup, NOT the project's code quality. Read-only — never modifies files. Reports issues with actionable fix commands.

IMPORTANT: Do NOT analyze project source code, architecture, or code quality. Only check afc plugin configuration, hooks, state, and environment. All checks are handled by the bash script — just run it and print the output.

Arguments

  • $ARGUMENTS — (optional) flags:
    • --verbose — detailed output with command results and file paths
    • --fast — skip CI/gate command execution checks (faster)

Output Format

Three-tier status per check:

  • — pass (healthy)
  • — warning (non-blocking but suboptimal)
  • — fail (broken, needs action)

Each failing check includes a Fix: line with the exact command to resolve it.


Execution

  1. Run the health check script (covers ALL categories — no manual checks needed):

    "${CLAUDE_SKILL_DIR}/../../scripts/afc-doctor.sh" $ARGUMENTS
    
  2. Print the script's stdout output as-is. Do not reformat, summarize, or interpret.

  3. Stop. Output nothing after the script output. No analysis, no suggestions, no follow-up actions.

Rules:

  • The ONLY Bash command you may run is the afc-doctor.sh script above. No other Bash calls.
  • Do NOT execute Fix commands. They are for the user to run manually.
  • Do NOT analyze project source code, git history, branches, or architecture.

Example Output

all-for-claudecode Doctor (v2.11.0)
Plugin root: /path/to/plugin

Environment
  ✓ git installed (2.43.0)
  ⚠ jq not found — hook scripts will use grep/sed fallback
    Fix: brew install jq

Project Config
  ✓ .claude/afc.config.md exists
  ✓ Required sections present
  ✓ Gate command defined

CLAUDE.md Integration
  ✓ Global ~/.claude/CLAUDE.md exists
  ✓ all-for-claudecode block present
  ⚠ all-for-claudecode block outdated (block: 1.0.0, plugin: 1.1.0)
    Fix: run /afc:setup to update

Legacy Migration
  ✓ No legacy artifacts found

Pipeline State
  ✓ No stale pipeline state
  ✓ No orphaned artifacts

Memory Health

Hook Health
  ✓ hooks.json valid
  ✓ All hook scripts exist
  ✓ All scripts executable

Learner Health
  ✓ Learner not enabled (opt-in via /afc:learner enable)

Version Sync (dev)
  ✓ Version triple match (1.1.0)
  ✓ Cache in sync

Skill Definitions (dev)
  ✓ Frontmatter exists (29 files)
  ✓ Required fields present
  ✓ Name-filename match
  ✓ Fork-agent references valid

Agent Definitions (dev)
  ✓ Frontmatter exists (12 files)
  ✓ Required fields present
  ✓ Name-filename match
  ✓ Expert memory configured (8/8)
  ✓ Worker maxTurns configured (2/2)

Doc References (dev)
  ✓ Referenced docs exist
  ✓ Domain adapters exist (3 files)

─────────────────────────
Results: 26 passed, 2 warnings, 0 failures
2 warnings found. Non-blocking but review recommended.

Read the full file on GitHub · 127 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. 11d ago First seen · 127 lines · 13 tokens per session scan A 8fe32ce34070

Subscribe to this mod's changes

afc:doctor is a skill published in the GitHub repository jhlee0409/all-for-claudecode (7 stars, last pushed 5mo ago), licensed MIT. It adds 13 tokens to every session and 1,040 once invoked, about $0.0001 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.