kit-doctor
Self-audit this Copilot kit for token cost, bloat, schema drift, and coverage gaps.
Skill by timander
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/timander-kit-doctor
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/kit-doctor
Tools it pre-approves 1
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
shell
What's inside
- Skill name
kit-doctor- Description
- Self-audit this Copilot kit for token cost, bloat, schema drift, and coverage gaps. Use when the user wants to verify the kit's health or before adopting changes.
- License
- MIT
- Allowed tools
- shell
- Instructions
- 43 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Kit Doctor Audit the kit directories (`~/.copilot-kit/` for the workstation install, or `.github/` in a repo). Read-only — diagnose, don't edit. Measure with `wc -c`; don't estimate. ## Stance This kit pays a token tax on every Copilot turn. Keep it honest. Treat the kit like a production codebase: measure first, prescribe second, never apply without explicit user approval. ## Checks - **Token cost.** Run `wc -c` over the kit's instructions, agents, and skill files. Convert with `bytes ÷ 4`. Build a steady-state cost matrix for: Plain TS, Plain Java, Spring Java, Python, CDK TS, Test file, Astro page, Chat-only. - **Auto-load budget.** Flag any instruction file over **1,800 tok** that's matched by any reasonable `applyTo`. - **Scenario budget.** Flag any scenario over **6,000 tok** of background context. - **Duplication.** Grep for repeated section headings across instruction files. Quote both occurrences when flagging. - **Cross-file preambles.** Lines like "Design principles are in design.instructions.md" — the model can't follow them as links, so they're paid context. - **Prose markers** that suggest essay rather than rules: `Why it matters:`, long block quotes, full-sentence URLs, ASCII diagrams. Candidates for compression, not automatic kills. - **Aspirational schema.** `agent:` or `handoffs:` anywhere in prompts. Instruction files missing `applyTo`. Agents with malformed or empty `tools:` arrays. - **Structural integrity.** Unbalanced code fences, unparseable frontmatter, mismatched table columns, files that don't match the `*.instructions.md` / `*.agent.md` / `SKILL.md` convention. - **Coverage gaps.** Instructions referencing a skill or agent whose file doesn't exist. Languages declared in the README's tooling table without an instruction file. Stacks declared in the Audience section of `copilot-instructions.md` without a matching instruction file. - **Agent additive stance.** Each agent should carry a `## Stance` section *and* a `## Stay Capable` (or equivalent) section, use "Prefer"/"Default to" framing rather than "Don't" lists, and either have a generous `tools:` array or omit it entirely (default = all tools). ## Report Produce one markdown document with these sections, in this order: - **Headline** — top 3 findings ranked by impact, one line each. - **Steady-state cost matrix** — scenario / tokens / status table. - **Per-file sizes** — bytes, tokens, applyTo trigger, status. Sort by tokens descending. - **Findings** — grouped as Blockers / Should-fix / Nits. Every finding cites file:line. Quote duplicated text where applicable. - **Recommended next moves** — ranked TODO with rough effort and rough savings per item. - **What looks healthy** — short, only genuinely worth noting. ## Discipline - Don't edit any kit file during this audit. - Don't speculate about token cost — measure. - When flagging duplication, quote both sides so the user can verify. - When flagging aspirational schema, name the field and file:line. - If a "finding" is a deliberate choice the user made, they'll say so — the doctor recommends, the user decides. After the report, ask: **"Want me to apply any of these? If yes, which ones, in what order?"** Then wait.
From timander/copilot-instructions-starter-kit, MIT.
More from timander/copilot-instructions-starter-kit
- 0.474score
audience
timander
Switch the explanation level (learning / working / expert) for a stack mid-session.
SkillCFreshness: CClaude Code +9 - 0.474score
challenge
timander
Socratic questioning — challenge the user's assumptions and thinking before they commit.
SkillCFreshness: CClaude Code +9 - 0.474score
code-quality
timander
Offer to add opt-in lint, static-analysis, and coverage tooling for the project's language.
SkillCFreshness: CClaude Code +9 - 0.474score
diagnose
timander
One-shot systematic diagnosis script — understand the problem before suggesting fixes.
SkillCFreshness: CClaude Code +9 - 0.474score
expert-panel
timander
Simulate a panel of named experts (Fowler, Beck, Bloch, Metz, Feathers, etc.) discussing the code or design decision.
SkillCFreshness: CClaude Code +9 - 0.474score
options
timander
Present a decision as a set of options with trade-offs spelled out, so the user can pick well.
SkillCFreshness: CClaude Code +9 - 0.474score
refactor
timander
Apply the refactoring catalog (Fowler, Beck Tidy First, Feathers legacy techniques) to existing code.
SkillCFreshness: CClaude Code +9 - 0.474score
review
timander
Review code or a PR diff for correctness, design, smells, and missing tests.
SkillCFreshness: CClaude Code +9 - 0.474score
tdd
timander
Walk through Red-Green-Refactor explicitly for implementing a feature.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 12, 2026 (4 months ago)
- Last release
- Jun 12, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from timander
- 0.474score
audience
timander
Switch the explanation level (learning / working / expert) for a stack mid-session.
SkillCFreshness: CClaude Code +9 - 0.474score
challenge
timander
Socratic questioning — challenge the user's assumptions and thinking before they commit.
SkillCFreshness: CClaude Code +9 - 0.474score
code-quality
timander
Offer to add opt-in lint, static-analysis, and coverage tooling for the project's language.
SkillCFreshness: CClaude Code +9 - 0.474score
diagnose
timander
One-shot systematic diagnosis script — understand the problem before suggesting fixes.
SkillCFreshness: CClaude Code +9 - 0.474score
expert-panel
timander
Simulate a panel of named experts (Fowler, Beck, Bloch, Metz, Feathers, etc.) discussing the code or design decision.
SkillCFreshness: CClaude Code +9 - 0.474score
options
timander
Present a decision as a set of options with trade-offs spelled out, so the user can pick well.
SkillCFreshness: CClaude Code +9
Cite this page
kit-doctor skill. Agent Mart. https://agentmart.dev/skills/timander-kit-doctor (last updated 2026-10-24)