rules-distill

Inventory installed skills and distill cross-cutting principles into rule files.

86|21|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/Jamkris/everything-gemini-code --skill rules-distill-jamkris
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rules-distill
Source: https://github.com/Jamkris/everything-gemini-code/tree/main/skills/rules-distill
Command: npx skills add https://github.com/Jamkris/everything-gemini-code --skill rules-distill-jamkris

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) components.

What problem does it solve?

This Skill helps teams manage knowledge by extracting shared principles from multiple skills and turning them into formal rules, reducing duplication and guiding consistent behavior.

Core Features & Use Cases

  • Cross-skill principle discovery: Scans installed skills to identify recurring patterns and high-leverage rules.
  • Rule generation & maintenance: Appends to existing rule files, revises outdated guidance, or creates new rule files as patterns emerge.
  • Governance & compliance: Improves consistency across tooling by centralizing guidelines and guardrails.

Quick Start

Run the rules-distill workflow to inventory your skills, invoke the distillation process, and update your rules base.

Frequently Asked Questions about rules-distill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I distill cross-cutting principles from multiple installed skills into rules?

To distill cross-cutting principles into rules, run the workflow to inventory all installed skills, apply deterministic collection, and use LLM judgment to generate or update formal rule files.

What is the best way to automate knowledge governance and reduce duplicated guidance across skills?

Automating knowledge governance involves scanning installed skills to identify recurring patterns, then centralizing those high-leverage principles into formal rules to ensure consistent tooling behavior.

Do I need jq installed to generate machine-readable rules from skill inventories?

Yes, you need jq installed because the deterministic collection scripts rely on it to scan skills and rules and produce machine-readable outputs suitable for the Gemini rules base.

How does the rule distillation process update existing rule files without losing previous knowledge?

The rule distillation process appends to existing rule files, revises outdated guidance, or creates new rule files as patterns emerge, ensuring previous knowledge is updated rather than overwritten.

Can I integrate distilled rules directly into my Gemini rules base?

Yes, you can integrate distilled rules directly because the workflow produces machine-readable outputs specifically designed for integration into the Gemini rules base.

When should I not use an LLM to extract shared principles from skills?

You should avoid using an LLM to extract shared principles if your installed skills lack text-based patterns to inventory, as this workflow relies on deterministic collection before applying LLM judgment.