agentleFS
spironanspironan/Skills/skill-inspector/SKILL.md

skill-inspector

Skill1 starsChanged 5 months agoMITView on GitHub

Inspect an existing skill and iteratively improve it. Load the skill file, interview the user about their goals, then build, revise, or rewrite the skill. Use when the user wants to improve, debug, refactor, or extend an existing skill. Triggers include: "inspect this skill", "improve this skill", "iterate on skill", "skill needs work", "fix this skill", "rewrite skill", or any invocation like "/skill-inspector [skill-name]".

6 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions6 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 6

    1. NVIDIA/SkillSpector★ 25ksame name
    2. Mahesh-Bishnoi/skills★ 2same name
    3. pauloribeiro16/my-skills★ 1same name
    4. Ronnasayd/aipp★ 1same name
    5. matheus-rib1108/meu-kit-claude-code★ 0same name
    6. Prince-Vince/claude-skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. 0 are common, 12 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never volunteer observations, critique, or findings during goal mode.

    line 22
  2. Distinctive:

    Before saying anything to the user, do this silently:

    line 28
  3. Very specific:

    Read the target skill's SKILL.md using view

    line 30
  4. Very specific:

    Check for bundled resources: bash ls <skill-path>/ — if scripts/, references/, or agents/ exist, read any scripts that the SKILL.md …

    line 31
  5. Distinctive:

    Do NOT share this inspection.

    line 39
  6. Distinctive:

    Ask the user questions until you have clear answers to ALL of these:

    line 45
  7. Distinctive:

    Ask these as a conversation, not a form.

    line 55
  8. Distinctive:

    If at any point the user says something like "flag issues", "what did you find", "what's wrong with it", "share your observations" — …

    line 63
  9. Distinctive:

    After each iteration, ask: "Does this meet your goal, or do you want to adjust?"

    line 100
  10. Distinctive:

    When the user is satisfied:

    line 107
  11. Very specific:

    Ensure the final SKILL.md is written to /tmp/<skill-name>/SKILL.md

    line 109
  12. Very specific:

    Call present_files with the .skill zip path

    line 115
  13. Distinctive:

    Never: start implementing before goals are clear

    line 122
  14. Distinctive:

    Always: wait for user confirmation before moving to the next phase

    line 123
  15. Distinctive:

    If the user skips ahead ("just fix it"), ask the minimum clarifying questions needed, then proceed

    line 124
  16. Distinctive:

    If the user says "just vibe with me", drop the structure and follow their lead

    line 125

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Inspector

Helps you understand a skill and improve it through structured goal-setting and iteration.

Core principle

You have two modes:

  1. Goal mode — ask questions, say nothing about the skill's quality
  2. Inspection mode — only entered when user explicitly asks for it ("flag issues", "what's wrong with it", "inspect it", "share your findings")

Never volunteer observations, critique, or findings during goal mode. That information is held internally until requested.


Phase 1 — Load and Inspect (silent)

Before saying anything to the user, do this silently:

  1. Read the target skill's SKILL.md using view
  2. Check for bundled resources: bash ls <skill-path>/ — if scripts/, references/, or agents/ exist, read any scripts that the SKILL.md references by name (they often contain the real logic and constraints)
  3. Build an internal model of the skill covering:
    • What it does and when it triggers
    • Its execution steps and structure
    • What the bundled scripts actually do vs. what the SKILL.md claims
    • Things that look ambiguous, missing, fragile, or inconsistent
    • Things that are working well

Do NOT share this inspection. Proceed to Phase 2.


Phase 2 — Goal Elicitation (relentless)

Ask the user questions until you have clear answers to ALL of these:

Required before proceeding:

  1. Trigger intent — What prompted this session? ("something broke", "adding a new feature", "vague feeling it could be better", "full rewrite")
  2. Scope — Narrow fix, targeted improvement, or ground-up rewrite?
  3. Success condition — How will you know the improved skill is working correctly?
  4. Priority — If multiple things are wrong or can be improved, what matters most?
  5. Constraints — Anything that must stay the same? (interface, name, structure, bundled scripts)

Ask these as a conversation, not a form. One or two questions at a time. If the user's answer to one question resolves another, skip it. If answers are vague, probe further.

Do not move to Phase 3 until all five are resolved.


Phase 3 — Inspection Share (only when explicitly requested)

If at any point the user says something like "flag issues", "what did you find", "what's wrong with it", "share your observations" — transition here.

Present your findings from Phase 1 in this format:

## Skill Inspection: <skill-name>

### Structure
- <1-line summary of what the skill does>
- Files: SKILL.md [+ any bundled resources found]

### Strengths
- <bullet per thing working well>

### Issues / Gaps
- <bullet per ambiguity, missing piece, or fragility>
  - Severity: low / medium / high
  - Why it matters: <one sentence>

### Open questions
- <anything you need the user to answer before you can form a full opinion>

Then ask: "Want to address any of these, or proceed with the goals we've already established?"


Phase 4 — Build / Improve / Iterate

Once goals are clear (and optionally inspection shared), proceed:

  1. If narrow fix: make the targeted change, show diff, confirm
  2. If targeted improvement: propose the change approach first, get sign-off, then implement
  3. If rewrite: draft a new version based on goals, present side-by-side with the original structure, iterate

For all cases:

  • Show changes explicitly (before/after or diff-style)
  • After each iteration, ask: "Does this meet your goal, or do you want to adjust?"
  • Repeat until the user confirms it's done

Phase 5 — Package

When the user is satisfied:

  1. Ensure the final SKILL.md is written to /tmp/<skill-name>/SKILL.md
  2. Copy any unchanged bundled resources (scripts/, references/) from the original skill path
  3. Package:
    cd /tmp && zip -r /mnt/user-data/outputs/<skill-name>.skill <skill-name>/
  4. Call present_files with the .skill zip path

Rules

  • Never volunteer inspection findings during Phase 2
  • Never start implementing before goals are clear
  • Always wait for user confirmation before moving to the next phase
  • If the user skips ahead ("just fix it"), ask the minimum clarifying questions needed, then proceed
  • If the user says "just vibe with me", drop the structure and follow their lead

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.