structured-extraction
Installation
SKILL.md
Structured Extraction
Overview
Patterns for extracting structured data from unstructured text using Claude. Covers few-shot prompting for consistent extraction, schema enforcement via tool_choice, and validation-retry loops for production reliability.
Few-Shot Extraction Pattern
The Template
Provide 2-3 examples that demonstrate the exact output format, edge cases, and how to handle missing data.
EXTRACTION_PROMPT = """Extract financial metrics from the text below.
## Examples