Audits and repackages Claude/Hermes skills — trims bloat, fixes weak triggers, catches duplication, fills real gaps, all with your approval.
mkdir -p ~/.claude/skills/barber
curl -o ~/.claude/skills/barber/SKILL.md https://raw.githubusercontent.com/maxkilla/barber/main/SKILL.mdHermes: same command, swap ~/.claude/skills/ for ~/.hermes/skills/. Barber detects which runtime it's in automatically.
An 8-part audit, one finding per line, on any SKILL.md:
- Description — weak or missing triggers
- Body — bloat, repetition, over-explaining
- Structure — misplaced scripts/assets, broken references, generated files
- Dependencies — unconditional installs, missing version pins
- Safety — never trims confirmation/authority language
- Generalization — triggers that are too narrow or too broad
- Cross-skill dedup — redundant bodies, missing co-load links
- Gaps (opt-in,
--gaps) — what's dangerously missing, not just what's bloated
Every finding is shown before any edit. Nothing changes without approval.
- "audit this skill" — full pass
- "why isn't my skill triggering" — sections 1 & 6
- "which of my skills overlap" — section 7
- "tune up my skill library" — cheap pass across everything installed
- "enhance this skill" (
--enhance) — bounded audit → approve → fix → retest loop, capped at 3 cycles
Flags: --check-only, --max-lines N, --tokens, --gaps, --enhance.
A single small skill that's already lean, or if you want automated CI regression testing — barber is a manual, in-conversation audit, not a test framework.
MIT — see LICENSE.