agentsclimarketplace

Skill doctor

Skill forgeron-AI/claude-skill-doctor/skill-doctor

Audit and repair Claude skills that misbehave. Use when a skill never triggers, triggers on the wrong requests, produces inconsistent outputs, has grown too long to maintain, or when the user shares a SKILL.md saying "it doesn't work", "audit this skill", "why doesn't my skill trigger", "clean up this skill". Also use to review a skill before publishing or installing it. Do NOT use for creating a new skill from scratch, for prompt writing unrelated to skills, or for simple text correction.From its SKILL.md

Install
npx -y skills add forgeron-AI/claude-skill-doctor --skill skill-doctor

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.4 KB, 931 tokens by cl100k_base, as published. Nobody here has run it

Skill Doctor

Core principle

When a skill "doesn't work", the cause is almost never the content — it's the structure. Two failure modes explain ~90% of cases:

  1. Never triggers → the frontmatter description is generic. It's the only text Claude always sees; it must list exact trigger signals AND exclusions.
  2. Inconsistent outputs → the context is saturated. Everything loads on every use, the signal drowns. SKILL.md should stay under 500 lines; everything else belongs in references/ behind an explicit read condition.

Every sentence in a SKILL.md must change Claude's behavior. If it doesn't, it's noise — delete it.

When to use / not use

Use if: a skill misfires, under-triggers, over-triggers, drifts, or needs a pre-publication review. Do not use if: the user wants a brand-new skill built from scratch (that's creation, not repair — see Full toolkit note at the bottom).

Rule when information is missing

Make explicit assumptions, produce a first version, flag the assumptions. Ask at most 1–3 questions, and only if an assumption would be too risky. Never block.

Audit workflow

1. Read the whole skill

SKILL.md including frontmatter, plus every file in references/, templates/, scripts/. Never audit from the SKILL.md alone if other files exist.

2. Check promised vs. present

Every file pointed to by SKILL.md must exist. Phantom references silently degrade outputs — this is one of the most common defects in published skills.

3. Score against the 7-criteria grid

Read references/audit-grid.md and score each criterion 0–5: clarity, triggering, concision, reusability, testability, maintainability, robustness. Delivery threshold: 4/5 average.

4. Identify the dominant failure

Match symptoms to the anti-pattern table below. Name ONE dominant cause — a repair that fixes everything fixes nothing.

5. Produce the fix list, ranked by impact

Each fix: what to change, where, why it changes behavior.

6. Deliver the corrected version

Full corrected SKILL.md, not a diff. Preserve the author's intent and voice — repair the structure, not the project.

7. Test on 5 cases

Normal · vague · edge · missing info · out of scope (must NOT trigger). Binary verdict per case. Every failure becomes a rule, an example, or a constraint. Protocol details in references/audit-grid.md.

Anti-pattern table

SymptomStructural causeFix
Never triggersGeneric description, no signalsRewrite description: keywords, request types, exclusions
Triggers on wrong requestsNo exclusions in descriptionAdd explicit "do NOT use for..."
Inconsistent outputsSKILL.md overloaded (500+ lines)Move bulk to references/ with read conditions
References never readFiles not pointed from SKILL.md, or no conditionAdd pointer + "read X only if Y"
Claude rewrites code instead of running scriptsNo exact call documentedDocument: python scripts/x.py <args>
Install brokenFrontmatter name ≠ folder nameAlign both
Output varies wildly between runsNo imposed output formatAdd a numbered output format section
Skill fabricates when input is badNo missing-info ruleAdd the assumptions-first rule (see above)

Imposed output format

Every audit follows this order:

  1. Quick diagnosis — solid / to simplify / structurally broken, in 3 lines
  2. Promised vs. present — list of phantom files, if any
  3. 7-criteria scores — table with one-line cause per score below 4
  4. Dominant failure — one named cause
  5. Fix list — ranked by impact
  6. Corrected SKILL.md — complete
  7. 5-case test plan — with expected verdicts

Resources

  • references/audit-grid.md — 7-criteria scoring grid + 5-case test protocol — read at steps 3 and 7
  • templates/skill-md-template.md — clean SKILL.md skeleton — use when the corrected version needs restructuring from the ground up

What ships with it: 2 files

3.7 KB alongside SKILL.md

references/

templates/

Keep looking

Skills are one crate of 326,452. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.