doctor-csk

doctor-csk is a command for Claude Code from byerlikaya/claude-starter-kit. It costs 25 tokens per session (696 once invoked), scanned A, original, MIT.

A project health-check command for an installed coding-agent kit. It checks whether hooks, configuration, gates, and project instructions are actually connected and active.

In plain words
What is it for?
Use it to diagnose kit installation, verify Git and agent hooks, check discipline loading, and review whether the project is ready for agent work.
Why use it?
It catches setups that look installed but do not run, such as missing executable hooks, an incorrect Git hook path, or empty gate configuration.

Command for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it to diagnose kit installation, verify Git and agent hooks, check discipline loading, and review whether the project is ready for agent work.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/byerlikaya/claude-starter-kit/doctor-csk
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.

Clone the repo
git clone --depth 1 https://github.com/byerlikaya/claude-starter-kit

Made for: Claude Code.

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-csk

README.md
[![agentmods](https://agentmods.dev/badge/commands/byerlikaya/claude-starter-kit/doctor-csk/github.svg)](https://agentmods.dev/commands/byerlikaya/claude-starter-kit/doctor-csk)
Your own site
<a href="https://agentmods.dev/commands/byerlikaya/claude-starter-kit/doctor-csk"><img src="https://agentmods.dev/badge/commands/byerlikaya/claude-starter-kit/doctor-csk/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-csk

Your own site · 80×15
<a href="https://agentmods.dev/commands/byerlikaya/claude-starter-kit/doctor-csk"><img src="https://agentmods.dev/badge/commands/byerlikaya/claude-starter-kit/doctor-csk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 696 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.00025 $0.00696
Opus 5 $0.00013 $0.00348
Sonnet 5 $0.00005 $0.00139
Haiku 4.5 $0.00003 $0.00070

Measured yesterday against content hash a8e980541c36, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

doctor-csk 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 yesterday.

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.

claude-starter/commands/doctor-csk.md · 35 lines

What it actually says

/doctor-csk

Verify the kit is actually active in this project (not just present on disk):

  1. Run bash .claude/eval/doctor.sh.
  2. Read its report. It checks: VERSION present · every hook executable · the required git hooks (pre-commit, commit-msg) present · guard-bash actually blocks a force-push (catches a hook that is present but neutered) · core.hooksPath points at .claude/hooks (else the §4.1/§4.2 commit trace + secret/bloat scan never runs) · settings.json valid and wiring the PreToolUse / UserPromptSubmit / Stop gates to non-empty hook arrays (an empty [] wires nothing); SessionStart (rehydration) is reported as a warning if absent · ./CLAUDE.md actually imports .claude/DISCIPLINE.md — without that line the discipline sits on disk and never loads, which every other check is blind to.
  3. For each ❌, apply the printed fix. Anything that changes git config or file permissions needs approval first — show the exact command and wait.
  4. Read the Readiness block too. It is advisory (never changes the verdict) and asks a different question — is this project set up to be worked on by agents: CLAUDE.md project section filled in · a project-specific skill alongside the kit's generic ones · a devcontainer to sandbox agent commands · an MCP server · CLAUDE.md not drifted behind the code. Report the gaps as suggestions, not as failures, and never "fix" them unasked — adding a devcontainer or an MCP server is the user's call.
  5. Summarise: healthy, or the precise fixes applied/needed, plus the readiness score. If it's not a git repo, note that the commit-time gates need git init + git config core.hooksPath .claude/hooks.

If .claude/eval/doctor.sh doesn't exist, this is not a full (start.sh / adopt.sh) install — the kit is likely running as a plugin, whose hooks are managed by Claude Code itself; there's nothing for the doctor to check.

The eval scripts and the Studio panel are installer-only, by decision. eval/doctor.sh, smoke-test.sh, routing-eval.sh, scan-skill.sh, utilization.sh — and studio/ ship with start.sh and adopt.sh and NOT with the plugin edition. The eval scripts are developer instruments: they inspect an installation from outside it, and the plugin edition has no installation to inspect. The panel is the same boundary from the other side: it needs a place on disk to be launched from, and a plugin install has no .claude/studio/. Say this plainly when someone asks why /doctor-csk reports nothing or why /studio-csk declines on a plugin install, rather than treating either as a defect.

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. yesterday Changed · +2 lines a8e980541c36
  2. 11d ago First seen · 33 lines · 25 tokens per session scan A 633da8bb7f7a

Subscribe to this mod's changes

doctor-csk is a command published in the GitHub repository byerlikaya/claude-starter-kit (22 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 696 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-30.