skill · Developer tools
Rules Distill
by affaan-m
Scan skills to extract cross-cutting principles and distill them into rules — append, revise, or create new rule files. Use when the same principle keeps recurring across skills and belongs in a rule file instead.
- Claude Code
- Codex
- Cursor
- GitHub Copilot
- Gemini CLI
- ★ 306k on GitHub
- Updated 2026-11-17
- MIT
Calyban is a free desktop app. It checks Rules Distill for red flags before installing, lets you choose the agent and folder, and undoes it in one click.
Install Rules Distill manually
Prefer the terminal? This does the same thing as Calyban's install.
Claude Code
git clone --depth 1 https://github.com/affaan-m/ECC.git calyban-tmp-rules-distill
mkdir -p ~/.claude/skills
cp -r calyban-tmp-rules-distill/skills/rules-distill ~/.claude/skills/rules-distill
rm -rf calyban-tmp-rules-distillCodex
git clone --depth 1 https://github.com/affaan-m/ECC.git calyban-tmp-rules-distill
mkdir -p ~/.codex/skills
cp -r calyban-tmp-rules-distill/skills/rules-distill ~/.codex/skills/rules-distill
rm -rf calyban-tmp-rules-distillStart a new Claude Code, Codex & more session afterwards so it picks up the change.
Similar skills
Ask MattmattpocockAsk which skill or flow fits your situation. A router over the skills in this repo.Diagnosing BugsmattpocockDiagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.ImplementmattpocockImplement a piece of work based on a spec or set of tickets.Implement SpecmattpocockImplement the result of /to-spec and /to-tickets in code.Improve Codebase ArchitecturemattpocockScan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.Loop MemattpocockGrill me about specs for the workflows I want to build, within this workspace.
Guides
Listed in the public Calyban catalog. Rules Distill is made by affaan-m, not Calyban. Inclusion isn't an endorsement and safety checks aren't a guarantee.