distill

Generate SKILL.md and EVALUATION.md files from domain knowledge and code patterns.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/lostsolution/makelele --skill distill-lostsolution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: distill
Source: https://github.com/lostsolution/makelele/tree/main/skill-graph/skills/distill
Command: npx skills add https://github.com/lostsolution/makelele --skill distill-lostsolution

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill automates the creation of new, self-contained skills by distilling knowledge from existing domains and code patterns, ensuring they address recurring tasks or failures.

Core Features & Use Cases

  • Automated Skill Generation: Creates SKILL.md and EVALUATION.md files based on provided domain knowledge, code examples, and a target task.
  • Adherence to Best Practices: Enforces the 15 Laws of Claude Code Tooling during the distillation process.
  • Use Case: A developer needs to create a new skill to summarize code changes. They provide existing code snippets and documentation, and this skill generates a well-defined SKILL.md with triggers, descriptions, and evaluation scenarios.

Quick Start

Use the distill skill to create a new skill for summarizing code changes from the 'code-review' domain.

Frequently Asked Questions about distill

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

FAQPage Schema
How do I generate Claude Code skills from existing domain knowledge and code patterns?

To generate Claude Code skills, you use a distillation process that extracts knowledge from provided domain files and code examples to output a structured SKILL.md and EVALUATION.md. This enforces tooling best practices for specific trigger definitions and robust evaluation cases.

What is skill distillation in prompt engineering and developer productivity?

Skill distillation is an automated generation process that extracts knowledge from existing domains and code patterns to create self-contained skill definitions. It solves recurring developer tasks by producing structured files with triggers, descriptions, and evaluation scenarios.

Can I automate skill generation to address recurring code failures?

Yes, you can automate skill generation to address recurring code failures by providing representative source code and target tasks. The distillation process creates new, self-contained skills that specifically document how to handle these failures.

Do I need specific code style guidelines to distill a new skill definition?

Yes, providing code style guidelines is part of the input gathering process for distilling a new skill definition. Along with domain files and representative source code, these guidelines help the background sub-agent apply distillation laws accurately.

What's the best way to create evaluation scenarios for automated skill generation?

The best way to create evaluation scenarios is through an automated distillation process that generates an EVALUATION.md file alongside the skill definition. It uses provided domain knowledge and target tasks to produce robust evaluation cases.

Are there specific laws for Claude Code tooling when generating skill definitions?

Yes, the skill generation process strictly enforces the 15 Laws of Claude Code Tooling. These laws dictate specific trigger definitions, concise descriptions, and robust evaluation cases to ensure the resulting SKILL.md is well-defined and self-contained.