One-click install
npx skills add https://github.com/himanshu231204/AI_Research_agent --skill rules-distill-himanshu231204
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rules-distill
Source: https://github.com/himanshu231204/AI_Research_agent/tree/main/.opencode/skills/rules-distill
Command: npx skills add https://github.com/himanshu231204/AI_Research_agent --skill rules-distill-himanshu231204

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

When you maintain a library of custom skills for your team, common principles and guardrails are often scattered across multiple skill files, leading to inconsistent practices, duplicated effort, and missing standardized rules that should apply across all team workflows.

Core Features & Use Cases

  • Exhaustive Skill & Rule Inventory: Uses deterministic shell scripts to scan all installed skills and existing rule files, capturing full frontmatter, content, and rule headings with no missed entries.
  • Contextual Principle Extraction: Leverages LLM judgment to cross-read all skill and rule content, identifying actionable cross-cutting principles that appear in 2 or more skills, have clear violation risks, and are not already covered by existing rules.
  • Structured Rule Recommendations: Generates detailed verdicts for each candidate principle, including whether to append to existing rules, revise outdated content, add new sections, or create new rule files, with draft text and evidence links for transparency.
  • Use Case: For a software team using 12 custom skills for coding, security, and agent testing, this skill can automatically surface the shared principle "sanitize all LLM output before storing or re-injecting it" that appears in 3 separate skills, and propose adding it to the team's shared security rule file, cutting hours of manual cross-skill review.

Quick Start

Use the rules-distill skill to scan your installed skills and generate a structured report of candidate principles to add to your team's shared rule files.

Frequently Asked Questions about rules-distill

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

FAQPage Schema
How do I extract shared principles scattered across multiple agent skills into team rules?

You can standardize team practices by distilling skill patterns from your installed library, which cross-reads all skill content to identify duplicated guardrails and generates structured verdicts proposing updates to your shared rule files.

What is the best way to eliminate duplicated guardrails across a library of custom coding skills?

Eliminating duplicated guardrails involves scanning your custom skills library to find overlapping principles, then generating structured verdicts that propose exactly where to append or revise rules to ensure single-source standardization.

How do I generate a rule maintenance report for cross-skill analysis?

You generate a rule maintenance report by executing deterministic shell scripts that inventory all skill frontmatter and rule headings, followed by LLM cross-reading to produce structured verdicts with draft text and evidence links for each candidate principle.

Do I need jq installed to run cross-cutting principle extraction?

Yes, jq is a required dependency for the cross-cutting principle extraction process, as the deterministic shell scripts rely on it to parse and inventory skill frontmatter and existing rule headings accurately.

Can I use this skill distillation tool for a small set of security and testing agent workflows?

Yes, you can use this skill distillation tool for security and testing agent workflows, as it scales to any team maintaining a custom skill library and requires only access to installed skill directories and existing rule files to function.

When should I not use automated principle extraction for team standards?

You should avoid automated principle extraction if your custom skills lack clear violation risks, or if your directories contain fewer than two skills sharing overlapping guardrails, because the LLM judgment phase requires cross-cutting patterns to generate structured rule recommendations.