rules-distill
Scan skills to extract cross-cutting principles and distill them into rules — append, revise, or create new rule files
npx skills add mturac/everything-openai-codex --skill rules-distill --agent codex
Same command for any agent — swap --agent for claude-code, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Rules Distill Scan installed skills, extract cross-cutting principles that appear in multiple skills, and distill them into rules — appending to existing rule files, revising outdated content, or creating new rule files. Applies the "deterministic collection + LLM judgment" principle: scripts collect facts exhaustively, then an LLM cross-reads the full context and produces verdicts. ## When to Use - Periodic rules maintenance (monthly or after installing new skills) - After a skill-stocktake reveals patterns that should be rules - When rules feel incomplete relative to the skills being used ## How It Works The rules distillation process follows three phases: ### Phase 1: Inventory (Deterministic Collection) #### 1a. Collect skill inventory ```bash bash ~/.codex/skills/rules-distill/scripts/scan-skills.sh ``` #### 1b. Collect rules index ```bash bash ~/.codex/skills/rules-distill/scripts/scan-rules.sh ``` #### 1c. Present to user ``` Rules Distillation — Phase 1: Inventory ──────────────────────────────────────── Skills: {N} files scanned Rules: {M} files ({K} headings indexed) Proceeding to cross-read analysis... ``` ### Phase 2: Cross-read, Match & Verdict (LLM Judgment) Extract
- When to Use
- How It Works
- Phase 1: Inventory (Deterministic Collection)
- Phase 2: Cross-read, Match & Verdict (LLM Judgment)
- Phase 3: User Review & Execution
- Example
- End-to-end run
- Design Principles
bash ~/.codex/skills/rules-distill/scripts/scan-skills.sh bash ~/.codex/skills/rules-distill/scripts/scan-rules.sh
What does the rules-distill skill do?
Scan skills to extract cross-cutting principles and distill them into rules — append, revise, or create new rule files
How do I install it?
Run `npx skills add mturac/everything-openai-codex --skill rules-distill --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From mturac/everything-openai-codex, a repository with 84 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
