Borrowing it
Nothing to install: this file belongs to yash-gadodia/claude-init. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/yash-gadodia/claude-init/main/.claude/skills/doctor/SKILL.mdgit clone --depth 1 https://github.com/yash-gadodia/claude-initWrote 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.
[](https://agentmods.dev/skills/yash-gadodia/claude-init/doctor)<a href="https://agentmods.dev/skills/yash-gadodia/claude-init/doctor"><img src="https://agentmods.dev/badge/skills/yash-gadodia/claude-init/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.
<a href="https://agentmods.dev/skills/yash-gadodia/claude-init/doctor"><img src="https://agentmods.dev/badge/skills/yash-gadodia/claude-init/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00042 | $0.01960 |
| Opus 5 | $0.00021 | $0.00980 |
| Sonnet 5 | $0.00008 | $0.00392 |
| Haiku 4.5 | $0.00004 | $0.00196 |
Grade B, and why
doctor scanned grade B with 2 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 3d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- [ ] No dangling symlinks under `.claude/rules/` — `find .claude/rules -xtype l` should return nothing (shared rule libraries are linked in via symlink; a broken link silently drops those rules from context) Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- [ ] Any `` !`cmd` `` or ```` ```! ```` shell-preprocessing blocks run read-only commands only (never `rm`, `curl http://...`, writes, or long-running ops) How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Doctor: Validate Your Config
Run diagnostics on the .claude/ configuration and report issues.
Checks
1. CLAUDE.md Health
- Exists at repo root
- Under 80 lines (warn if over, error if over 200)
- All
@importpaths resolve to existing files - Commands section: verify each command actually runs (e.g.,
npm test --help,cargo test -- --help) - No placeholder text left from templates (e.g.,
<your-framework-here>) - No content that merely restates what Claude could derive by reading the codebase (full dependency/version lists duplicating package.json, directory trees
lswould show, verbatim README paragraphs) — flag for trimming, matching Claude Code's own/doctorCLAUDE.md-trimming check (changelog 2.1.206)
2. Agents
For each .claude/agents/*.md:
- Valid YAML frontmatter (name, description present)
- Model is valid (
opus,sonnet,haiku,fable,inherit, or a full model ID) - Referenced tools exist
-
backgroundis a boolean andmemoryis one ofuser/project/localif present -
effortis one oflow/medium/high/xhigh/max,isolationisworktree,coloris one ofred/blue/green/yellow/purple/orange/pink/cyan, andpermissionModeis one ofdefault/acceptEdits/auto/dontAsk/bypassPermissions/plan/manual— if present (per https://code.claude.com/docs/en/sub-agents frontmatter table) - No empty markdown body
3. Skills
For each .claude/skills/*/SKILL.md:
- Valid YAML frontmatter
-
namematches the skill's directory name and is lowercase-kebab-case - Description is specific enough (not just "does stuff")
- Description is third-person and contains a when-to-use trigger (
Use when…,Use before…, orAuto-triggered…) — descriptions with no trigger won't reliably fire - Description is ≤1024 characters
- Description does NOT summarize the workflow steps — a process summary in the description makes Claude follow the summary instead of reading the skill
- Skill body has
Red Flags/ rationalization-rebuttal content and a verification step (the generated skills should all carry these) - SKILL.md body is under 500 lines (warn over ~150 — push long examples/scripts into sibling reference files)
- If
context: fork, verify no Task/Skill tool references in body (forked skills can't spawn subagents) - If
context: fork, verifybackgroundis explicitly set (trueorfalse) rather than omitted — since Claude Code 2.1.218 these skills default to running in the background, so an omitted field means a Claude Code upgrade can silently change the skill from blocking to backgrounded - If
paths:frontmatter exists, verify globs match at least one file (dead scopes = skill never loads) -
allowed-toolsuses real tool names (Read, Edit, Write, Bash, Grep, Glob, Agent — not Tool, File, etc.) - Any
!`cmd`or```!shell-preprocessing blocks run read-only commands only (neverrm,curl http://..., writes, or long-running ops) - Referenced scripts in
scripts/directory exist and are executable - Recommend running Claude Code's native
/skill-doctor(2.1.261+) as a complementary check — it reports which loaded skills go unused and what they cost in context, which this structural review does not measure
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.
- 3d ago Changed · +1 lines 140a560e82f1
- 6d ago Changed 26f1af186972
- 11d ago First seen · 112 lines · 42 tokens per session scan B a6cd14ef2a85
doctor is a skill published in the GitHub repository yash-gadodia/claude-init (5 stars, last pushed 4d ago), licensed MIT. It adds 42 tokens to every session and 1,960 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
swiftui-performance-audit
Audit and improve SwiftUI runtime performance. Use for requests to diagnose slow rendering, janky scrolling, high CPU/memory usage, excessive view updates, or layout thrash in SwiftUI apps.
github-ci-fix
Use when PR checks fail, CI is red, or GitHub Actions workflows break - systematically inspects failing checks via gh CLI, pulls logs, checks for flakiness and scopes the breaking commit, scopes external checks, then creates fix plan using existing plan skill.
ios-debugger-agent
Build, run, and debug iOS apps on a simulator. Use when asked to run an iOS app, interact with the simulator UI, capture logs, or diagnose runtime behavior.
native-app-profiling
Profile native macOS/iOS apps for CPU hotspots, hangs, and hitches using Instruments traces. Use when asked to identify performance hotspots, profile CPU usage, or diagnose slow code paths without opening Instruments.
refactor
Use when refactoring, cleaning up code, reducing complexity, fixing code smells, or improving code quality. Audits code for dead code, nesting, and patterns.
xcsym
Symbolicate and triage iOS/macOS crash reports (.ips, MetricKit, legacy .crash, Xcode Organizer .xccrashpoint) via the xcsym CLI. Use when given a crash file to diagnose, when TestFlight/App Store Connect crashes need triage, when a crash comes back unsymbolicated, or when asked what kind of crash something is.