kit-doctor

kit-doctor is a skill for Claude Code from mtvrkan/senior-dev-kit. It costs 28 tokens per session (551 once invoked), scanned A, original, MIT.

A read-only diagnostic checklist for a senior-dev-kit installation. It checks where the kit is installed, which components are present, whether settings are valid, and whether versions have drifted.

In plain words
What is it for?
Use it to inspect plugin and project installation scopes, compare copied directories with expected contents, validate settings and security rules, and report version differences.
Why use it?
It shows whether an installation is incomplete, duplicated, outdated, or missing active rules without changing anything. This helps identify setup problems before applying fixes.

Skill for Claude Code

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

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the senior-dev-kit plugin — 25 skills, 6 commands, 8 agents, 1 hook shipped together

Good fit Use it to inspect plugin and project installation scopes, compare copied directories with expected contents, validate settings and security rules, and report version differences.

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 mtvrkan/senior-dev-kit
Claude Code
/plugin install senior-dev-kit

Made for: Claude Code.

Or install senior-dev-kit, the plugin that ships this one along with the rest of its 25 skills, 6 commands, 8 agents, 1 hook.

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 kit-doctor

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mtvrkan/senior-dev-kit/kit-doctor"><img src="https://agentmods.dev/badge/skills/mtvrkan/senior-dev-kit/kit-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 551 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.00028 $0.00551
Opus 5 $0.00014 $0.00275
Sonnet 5 $0.00006 $0.00110
Haiku 4.5 $0.00003 $0.00055

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

Security

Grade A, and why

kit-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 8d 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/kit-doctor/SKILL.md · 29 lines

What it actually says

kit-doctor

Diagnose the installation. Read-only — propose fixes, never apply them unasked.

  1. LOCATE: is the kit installed as a plugin (claude plugin list), copied into ~/.claude/, or both? Does the project .claude/ exist? Report every scope found, and print the absolute plugin root (${CLAUDE_PLUGIN_ROOT}) when installed that way — that is where presets/ lives for plugin users. If the plugin is present but ~/.claude/rules/ is not, say that path-scoped rules are inactive and /kit-setup fixes it.
  2. COUNT: every directory component the installer copies — agents/ skills/ commands/ rules/ agent_docs/ presets/, i.e. the directory-shaped entries of COMPONENTS in scripts/lib/install-core.mjs — against the shipped counts in the kit README. Flag shortfalls (truncated copy) and extras (user additions, not errors).
  3. SETTINGS: settings.json parses as JSON? Is permissions.deny present, with at least as many rules as SECURITY.md states? Read that number from SECURITY.md at run time — it is pinned to settings-template.json by check-consistency.ts, so it is always the live count. Never hardcode a floor here.
  4. VERSION: CLAUDE.md / .claude/stack-rules.md present? compare installed content markers against the kit's current package.json version.
  5. ROUTING: every agent named in global-CLAUDE.md's AGENT ROUTING section (prose with signal → agent arrows, not a table) exists as agents/<name>.md on disk.

Output

COMPONENT | EXPECTED | FOUND | ✓/⚠/✗   (one row per component, per scope)
VERDICT: healthy | degraded — [list] | broken — [list]
FIX: [exact re-copy command for the missing/stale component per ✗]
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. 8d ago First seen · 29 lines · 28 tokens per session scan A 7f518a071cfe

Subscribe to this mod's changes

kit-doctor is a skill published in the GitHub repository mtvrkan/senior-dev-kit (5 stars, last pushed yesterday), licensed MIT. It adds 28 tokens to every session and 551 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.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

diagnose

Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.

emdash-cms/emdash · 43 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

byted-util-volcengine-detect-retry

An orchestration workflow for Volcengine Cloud Detect, a service that checks websites or network endpoints from test locations.

bytedance/agentkit-samples · 101 tokens