skill-slimming-strategy
Skill11 starsChanged 5 months agoMITView on GitHub
Use when a skill SKILL.md is over 2000 words and needs trimming to the Superpowers standard of under 500 words.
In this repository26 other files it gives its agents.
- agent-capability-comparison-methodologySkill
- autonomous-work-signalingSkill
- batch-skill-description-standardizationSkill
- checkpoints-and-rewindSkill
- context-aware-task-decompositionSkill
- context-compaction-verification-and-recoverySkill
- cross-session-execution-frameworkSkill
- hermes-agentSkill
- hermes-improvement-multiphase-planSkill
- hermes-tweetSkill
- multi-agent-browser-text-extractionSkill
- multi-role-synthesis-frameworkSkill
- openclaw-hermes-archSkill
- open-source-adaptation-patternSkill
- planSkill
- requesting-code-reviewSkill
- router-learning-systemSkill
- security-hardening-checklistSkill
- self-regulation-brake-systemSkill
- spec-driven-developmentSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- think-toolSkill
- token-efficiencySkill
- writing-plansSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
When a SKILL.md file exceeds 2000 words and needs to be made more token-efficient per Superpowers standards.
- Distinctive: line 23
Before slimming, classify the skill into one of these types.
- Distinctive: line 67
Use the classification above.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill Slimming Strategy
When to Use
When a SKILL.md file exceeds 2000 words and needs to be made more token-efficient per Superpowers standards.
Classification First
Before slimming, classify the skill into one of these types. Each gets a different treatment:
Type A: Auto-generated API Reference Doc
Signs: Language like "Created On: Jun 06, 2025 | Last Updated On:..." or "This skill auto-generated from official documentation" Action: Replace entirely. Keep only the frontmatter + a 200-word summary with links to official docs. The original content is stale anyway — official docs are more current.
Example:
# Before: 22,733 words of copied PyTorch API docs
# After: 219 words — frontmatter + 3 bullet core concepts + 3 common tasks + linksType B: Hand-Authored Pipeline / Flow Doc
Signs: Has step-by-step phases, checklists, decision trees. Written by a human for a specific project.
Action: Extract details to reference files. Keep the decision tree / flow diagram + one-sentence-per-phase in SKILL.md. Move detailed checklists, commands, and troubleshooting to references/ files.
Example:
# Before: 14,058 words — full paper writing pipeline with all 7 phases detailed
# After: 429 words — flow diagram + phase summary table + links to reference filesType C: External Package / Vendored Skill
Signs: Has homepage: or repository: pointing to an external GitHub project. Contains vendored Python scripts.
Action: Don't touch. These are maintained by external authors. The scripts are the real content, not the SKILL.md prose.
Example: last30days — 19,231 words of scripts + instructions from mvanhorn.
Type D: Project-Specific Debug Flow
Signs: Contains real-world debugging steps learned through painful experience. Lots of "quick fix" ordering.
Action: Abstract to decision tree. Keep the symptom diagnosis (Case A vs Case B) + quick-fix order in SKILL.md. Move deep-dive explanations and repair procedures to references/.
Example:
# Before: 8,022 words — full Cocos gray screen debug flow with 5 case analyses
# After: 209 words — symptom check + quick-fix order + reference linksThe Process
Step 1: Read first 30 lines + last 10 lines
Understand the structure: is it a flow, a reference, or an external package?
Step 2: Decide the action
Use the classification above.
Step 3: Slim
- Type A: Replace entire body with summary
- Type B: Copy detailed sections to
references/files, keep outline only - Type C: Skip (add a note "External package, see source for details")
- Type D: Abstract to decision tree
Step 4: Verify word count
wc -w skills/path/SKILL.md # Target: <500 wordsPitfalls
- External packages (Type C) look like Type A or B — always check for
homepage:orrepository:in frontmatter before slimming. - Don't delete reference content entirely — save it to
references/files so it's still accessible via the Read tool when needed. - Don't slim skills the user actively uses —
claude-code,hermes-agent, and project-specific debugs are frequently loaded. Slimming them requires care. - Batch approach is better — use a Python script for multiple skills (see
batch-skill-description-standardizationfor the batch approach pattern).
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.

