skill-improver
Skill1 starsChanged 4 months agoMITView on GitHub
Analyze accumulated feedback, run eval checks, and propose targeted improvements to domain skills. Use when the user says "improve skills", "run skill evals", "process feedback", or invokes $skill-improver directly. Do not use during normal skill usage.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- svg153/skillstheir own version, first seen Nov 1, 2026
- davidanthonyn/claude-skillstheir own version, first seen Oct 20, 2026
- air-gapped/skillstheir own version, first seen Oct 19, 2026
- juandelossantos/another-agent-skillstheir own version, first seen Oct 17, 2026
- AlvaroVFon/skillstheir own version, first seen Oct 13, 2026
- ilamanov/skillstheir own version, first seen Oct 13, 2026
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- Galaxy-Dawn/claude-scholar★ 5.9ksame name
- Heyvhuang/ship-faster★ 337same name
- fjrevoredo/mini-diarium★ 318same name
- ribeirogab/zeno-agent★ 9same name
- air-gapped/skills★ 6same name
- exiao/meta-skills★ 4same name
- AlvaroVFon/skills★ 2same name
- karozi/awesome-product-management-skills★ 2same name
- LiozShor/claude-code-skills★ 2same name
- prPMDev/my-portfolio-kit★ 2same name
9 more not listed
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.
- commit-messageSkill
- skill-feedbackSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. 0 are common, 18 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
18
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Read the feedback log, identify patterns, run eval checks, propose a targeted patch per skill, apply it after user confirmation, and commit …
- Very specific: line 18
If there are zero open entries, stop and say: "No open feedback entries found.
- Distinctive: line 29
Only actionable pairs will be patched.
- Very specific: line 36
If it does not, skip this skill and note: "Skill folder not found for <skill> — skipping."
- Very specific: line 47
Check if ~/.claude/skill-data/eval-prompts/<skill>.prompts.csv exists.
- Very specific: line 48
If it does not, skip this phase for that skill and note: "No eval prompts for <skill> — populate …
- Very specific: line 52
Read the CSV. Expected columns (in order): id, prompt, asset, should_trigger, must_contain, must_not_contain
- Distinctive: line 60
Use empty string for no check.
- Distinctive: line 64
If triggered, would the output satisfy must_contain given the current instructions?
- Distinctive: line 80
Write the proposed change as an explicit before/after diff:
- Distinctive: line 97
Prefer adding a concrete example over rewriting an abstract rule.
- Distinctive: line 100
Never remove quality gates, required sections, or output structure.
- Distinctive: line 101
Keep the change minimal. One fix per actionable pair.
- Distinctive: line 102
If multiple sections are actionable for the same skill, fix the highest severity one only.
- Distinctive: line 111
If the user replies "edit", accept their text, show the updated diff, and ask again.
- Distinctive: line 116
Only runs after the user replies "yes".
- Distinctive: line 120
Read the file back and confirm the AFTER text is present.
- Very specific: line 122
Run these git commands from ~/.claude/:
- Distinctive: line 130
If git commit fails, say: "Git commit failed: <error>.
- Distinctive: line 137
Do not delete entries. Do not modify any other field.
- Distinctive: line 155
Never apply a patch without explicit "yes" from the user in Phase 4.
- Distinctive: line 156
Never modify feedback-log.md except to change status in Phase 6.
- Distinctive: line 157
Never touch any domain skill that has zero actionable pairs.
- Distinctive: line 158
Always commit after a successful patch.
- Very specific: line 161
Never improve skill-feedback or skill-improver through this flow.
“Common” is measured: kept by at least 6 in 10 of the 19 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.
Files
Skill Improver
Purpose
Read the feedback log, identify patterns, run eval checks, propose a targeted patch per skill, apply it after user confirmation, and commit to git. Works for any domain skill without configuration.
Phase 1 — Read and parse feedback
- Read
~/.claude/skill-data/feedback-log.md. - Extract all entries with
status: open. - If there are zero open entries, stop and say:
"No open feedback entries found. Use
$skill-feedbackto log issues first." - Group entries by
skill, then bysectionwithin each skill. Print a summary table:
Skill Section Open entries Max severity ... ... ... ... - Mark a (skill, section) pair as actionable if it has 2 or more open entries, OR if any single entry has severity 4 or 5. Only actionable pairs will be patched. Skip the rest silently.
Phase 2 — Read the target skill
For each skill with at least one actionable pair:
- Confirm the folder
~/.claude/skills/<skill>/exists. If it does not, skip this skill and note: "Skill folder not found for<skill>— skipping." - Read
~/.claude/skills/<skill>/SKILL.md. - Identify the text block that corresponds to the flagged section.
- Note the pattern across feedback entries (e.g. "two entries say the same section produced output the user could not use directly").
Phase 3 — Run eval checks
For each skill being improved:
- Check if
~/.claude/skill-data/eval-prompts/<skill>.prompts.csvexists. If it does not, skip this phase for that skill and note: "No eval prompts for<skill>— populate ~/.claude/skill-data/eval-prompts/<skill>.prompts.csv to enable this phase." Read the CSV. Expected columns (in order):
id,prompt,asset,should_trigger,must_contain,must_not_containasset: relative path to an image file under~/.claude/skill-data/eval-prompts/assets/, or empty string if no image.should_trigger:trueorfalsemust_contain: comma-separated strings that must appear in the output when the skill triggers. Use empty string for no check.must_not_contain: comma-separated strings that must NOT appear. Use empty string for no check.
- For each row, reason against the current SKILL.md:
- Would this prompt trigger the skill based on its name and description?
- If triggered, would the output satisfy must_contain given the current instructions?
- Would must_not_contain strings be absent?
- If the row has a non-empty
assetfield, load the image at that path and include it alongside the prompt when reasoning about whether the skill would produce the correct output. If the file does not exist at that path, mark the row as SKIP and note: "asset file not found:<path>"
Report results before the patch:
Eval —
<skill>(before patch):id prompt (truncated) expected trigger result reason ... ... ... PASS/FAIL ...
Phase 4 — Propose patch
For each actionable (skill, section) pair (highest severity first, one per run):
Write the proposed change as an explicit before/after diff:
FILE: ~/.claude/skills/<skill>/SKILL.md SECTION: <section> BEFORE: <exact current text to be replaced> AFTER: <replacement text> Reason: <one sentence linking the change to the feedback pattern>- Rules for writing patches:
- Replace only the flagged section. Do not touch any other part of the file.
- Prefer adding a concrete example over rewriting an abstract rule.
- Reinforce a changed rule with a
> 💡 Lesson:bullet directly beneath it, quoting the pattern observed in the feedback. - Never remove quality gates, required sections, or output structure.
- Keep the change minimal. One fix per actionable pair.
- If multiple sections are actionable for the same skill, fix the highest severity one only. The others stay open for the next run.
Show the diff and ask: "Apply this patch? Reply yes / no / edit.
- yes → apply and commit
- no → skip, entries remain open
- edit → paste your corrected AFTER text"
If the user replies "edit", accept their text, show the updated diff, and ask again.
Phase 5 — Apply patch and commit
Only runs after the user replies "yes".
- Apply the patch: replace the exact BEFORE text with the AFTER text in
~/.claude/skills/<skill>/SKILL.md. - Read the file back and confirm the AFTER text is present. If not, stop and report: "Patch verification failed — file may not have been written."
Run these git commands from
~/.claude/:cd ~/.claude git add skills/<skill>/SKILL.md git commit -m "skill(<skill>): improve <section> — <one-line reason>"- If git commit fails, say: "Git commit failed:
<error>. File was updated on disk but not committed. Please commit manually." Do not block on this.
Phase 6 — Resolve feedback entries
In ~/.claude/skill-data/feedback-log.md, for every entry whose (skill, section)
pair was addressed by the patch, change status: open to status: resolved.
Do not delete entries. Do not modify any other field.
Phase 7 — Final report
Run complete.
Patches applied: <count>
Skills improved: <list>
Feedback entries resolved: <count>
Feedback entries still open: <count> (<reason if any were skipped>)
Next: continue using your skills. Log issues with $skill-feedback.
Run $skill-improver again after accumulating more feedback.Rules
- Never apply a patch without explicit "yes" from the user in Phase 4.
- Never modify feedback-log.md except to change status in Phase 6.
- Never touch any domain skill that has zero actionable pairs.
- Always commit after a successful patch. Never leave an uncommitted change.
- Process one skill at a time: complete all phases for skill A before starting skill B.
- Never improve
skill-feedbackorskill-improverthrough this flow.
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
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.

