Convert a book, paper, document, documentation site, or code repository into a structured, on-demand agent skill. Use when the user wants to turn a PDF, EPUB, DOCX, a URL, a docs site, or a GitHub repo into a skill they can load later — "make a skill from this book", "turn this paper into a skill", "turn these docs into a skill", "I want an agent that knows this library".
Documents
tech-to-skill
Try itDistills technical long-form content (engineering notes, papers, project docs) into agent-callable skills with evidence indexing and temporal tracking. Use when the user wants to convert a technical article, paper, or project documentation into reusable skills that preserve engineering detail and tr
What it does
Distills technical long-form content (engineering notes, papers, project docs) into agent-callable skills with evidence indexing and temporal tracking. Use when the user wants to convert a technical article, paper, or project documentation into reusable skills that preserve engineering detail and traceability to source.
The skill document
tech-to-skill
Convert technical content into agent-callable skills that preserve enough detail to act on, trace back to source evidence, and record their own freshness.
When to use
The user says things like:
- "Convert this engineering article into skills"
- "Distill this paper into a skill"
- "Extract development experience from project docs into skills"
Input classification
Inspect the input. Follow the matching sub-skill's instructions:
| Input signal | Sub-skill |
|---|---|
| HTML/PDF long-form with chapters, code blocks, architecture discussion | longform-to-skill |
| Paper PDF or blog post with abstract/method/experiment structure | paper-to-skill |
| Git repo, ADR directory, retrospective docs, commit history | project-docs-to-skill |
The sub-skill files are reference documents for the executing agent, not separately invoked skills. Read the relevant sub-skill before starting Stage 1.
If the input doesn't clearly match one type, ask the user.
Shared pipeline (4 stages)
- Structural Recognition - Scan the source. Identify the author's own natural boundaries (headings, numbering, content transitions). Do NOT impose a preset structure.
- Extract - Pull candidate units (each = a self-contained "how to do X" guidance). Show candidates to user for confirmation.
- Construct - Fill What / How / Why + Evidence Index for each confirmed candidate. Create ref files for evidence.
- Validate - Check structural completeness (What/How/Why present) and evidence accuracy (ref files point to real source content).
Shared output contract
All sub-skills produce skills with this structure:
- What - the problem this skill solves + trigger conditions + when NOT to use
- How - the method, at a granularity the agent can act on (not abstract methodology)
- Why - rationale from source + alternatives (if source discusses them) + timestamps
- Evidence Index - pointers to source material, loaded on demand via progressive disclosure
- Timestamps -
source_date,verified_date(objective facts only, no guessed expiration)
See templates/ for reference examples. Required: frontmatter fields, What/How/Why sections, Evidence Index. Format within each section is flexible.
Shared description field constraint
The frontmatter description field is the agent's ONLY basis for triggering a skill. It must be concise and structured. Use this three-segment shape:
- Problem statement (1 sentence) - what the skill solves
- Trigger condition (1 sentence) - language signals the agent should match
- Adjacent skills (optional, only if needed for disambiguation) - which other skills to consider instead, by name
Do NOT paste full "When NOT to use" content into description. Move that detail into the SKILL.md body. Do NOT include "Triggers on phrases like..." enumeration in description - those words belong in the body. The description is for activation; the body is for disambiguation.
Target length: under 600 characters. Concise is good, but the agent's ability to disambiguate between adjacent skills is more important than strict brevity.
This applies to all three sub-skills (longform, paper, project-docs) equally.
Shared reference file naming convention
Every ref file must follow this exact format:
references/-ref-.md
Where is a two-digit number (01, 02, ... 99), starting from 01 and continuous. The prefix is the same as the skill directory name.
Strict rules:
- Always inside a
references/subdirectory, never at skill root - No suffix variants (forbidden:
ref-02-three-scenarios.md,ref-3.md,ref_a.md) - Two-digit zero-padding required (01, not 1)
- Sequential and gapless within each skill
This applies to all three sub-skills (longform, paper, project-docs) equally.
Shared batch organization rule
Every distillation task (one execution of tech-to-skill, regardless of which sub-skill handled it) produces a batch README.md that lives in the same directory as the skills it describes. This README is task-level, not source-level: it documents what THIS distillation run produced, not what the source material contains.
The README must contain:
- Task scope: what source was distilled, what date, what tech-to-skill sub-skill ran
- Skills index table: skill name, source location, one-line topic
- Suggested reading order if skills have logical dependencies
- Validation status and known gaps
- Source coverage map (what was distilled, what was skipped, why)
This applies to all three sub-skills (longform, paper, project-docs) equally.
Core principles
- Faithful to source. Only write what the source material contains. If the source doesn't discuss alternatives, write "Source does not discuss alternatives". Do NOT fabricate code, design rationale, or rejected approaches. Technical materials vary in completeness; skills must not pretend to be more complete than their source.
- Preserve enough detail to act on. Not abstract methodology, not line-number-fragile specifics. The right granularity is discovered by testing.
- Every claim traces to evidence. The agent can follow the Evidence Index to source material when the skill's guidance isn't enough.
- No "vase" work. Inter-skill links, glossary files, and other artifacts only exist if technically justified.
- Objective timestamps. Record
source_dateandverified_dateas facts. Do not guess expiration windows.
Sub-skills
longform-to-skill- engineering notes / ebooks (Phase 1)paper-to-skill- papers / tech blogs (Phase 2)project-docs-to-skill- project development docs (Phase 3)
Related skills
Turn a user-described business process into an automated execution flow and optionally convert it into a reusable local skill. Use when a user explains steps...
Demo skill that turns a raw digital-content file (e.g. a markdown note) into a reusable skill package. Given a source file, it builds a SKILL.md, extracts me...
将企业沉淀的各类文档(支持 DOCX、PDF、MD、TXT 等格式)一键转化为可复用的技能包(.zip)。技能包内包含统一规范的 Markdown 正文、提取的图片资源,以及基于 JSONL 格式的结构化知识索引,可直接挂载给 AI Agent 作为专属知识源使用。
Use when the user wants to turn a script, repeated workflow, runbook, or hard-won procedure into a reusable agent skill, or asks "make this a skill", "extrac...
Use when you need to compile any prompt OR multi-source content (PDF/video/URL/image/doc) into a production-grade, reusable AI Skill. Triggers on: 'prompt to...