home / skills / leegonzales / aiskills / skill-extractor
This skill transforms repeated conversation patterns into reusable SKILL.md files by extracting triggers, inputs, transforms, and outputs.
npx playbooks add skill leegonzales/aiskills --skill skill-extractorReview the files below or copy the command above to add this skill to your agents.
---
name: skill-extractor
description: Extract reusable skills from conversation patterns. Use when asked to "turn this into a skill," "extract a skill," or "I keep doing this task repeatedly."
---
# Skill Extractor
Transform repeated conversation patterns into reusable SKILL.md files.
## Workflow
### 1. Gather Evidence
Ask: "Share a conversation excerpt where Claude did this task well, or describe a task you do repeatedly."
Accept:
- Pasted conversation excerpts
- Task descriptions with examples
- Multiple examples to find common patterns
### 2. Identify the Pattern
Analyze for these elements:
| Element | Find This |
|---------|-----------|
| **Trigger** | What phrase starts this workflow? |
| **Input** | What does user provide? |
| **Transform** | What does Claude do with it? |
| **Output** | What format/structure results? |
| **Quality** | What separates good from bad? |
### 3. Validate
Confirm: "It sounds like you want to [workflow]. Is that right?"
Refine: "What would you change? What context made it work?"
### 4. Generate SKILL.md
Output a complete skill file following the format in `references/skill-template.md`.
### 5. Test
Run the extracted skill on fresh input. Iterate until it works reliably.
## Skill Archetypes
| Type | Pattern | Example |
|------|---------|---------|
| **Transformer** | Format A → Format B | Notes → Email |
| **Analyzer** | Input → Assessment | Code → Review |
| **Generator** | Parameters → Content | Topic → Blog |
| **Synthesizer** | Many → One | Feedback → Themes |
## Viability Check
**Strong candidates:**
- Done 3+ times with similar structure
- Clear input → output transformation
- Required specific prompting to work
- Explainable to a colleague
**Weak candidates:**
- One-off creative tasks
- Simple Q&A (no workflow)
- Requires external data
- Too vague to define success
## Output Deliverables
Provide:
1. **SKILL.md** — Complete, ready to use
2. **Test prompt** — Verify it works
3. **Usage examples** — How to invoke
4. **Refinement notes** — Next iteration
## Example Extraction
**User says:** "I keep asking Claude to turn meeting notes into weekly updates."
**Extracted pattern:**
- Trigger: "write weekly update" / "summarize this week"
- Input: Bullet points from meetings
- Transform: Organize by Accomplishments/In Progress/Blockers
- Output: Professional email format
- Quality: Outcome-focused, not activity-focused
**Result:** See `references/example-extractions.md` for the full `weekly-update-writer` skill.
## References
- `references/skill-template.md` — Standard skill format
- `references/example-extractions.md` — Before/after examples
This skill extracts reusable automation skills from repeated conversation patterns. It guides you from example conversations through pattern identification to a ready-to-use skill file and test prompt. The goal is a reliable, repeatable workflow that others can apply without re-teaching the steps.
You provide one or more conversation excerpts or descriptions of a repeated task. The extractor identifies trigger phrases, inputs, transformations, outputs, and quality criteria. It validates the inferred workflow with a confirmation prompt, generates a complete skill file plus a test prompt and usage examples, then recommends iterative tests and refinements.
What input formats do you accept?
Paste conversation excerpts, describe the repeated task with examples, or supply multiple variants; both free text and bulleted examples work.
How do I know a pattern is viable to extract?
A strong candidate appears 3+ times with the same structure, has clear input→output mapping, and produces repeatable quality when prompted.