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
Installs
1
GitHub Stars
2
First Seen
Jul 15, 2026
Security Audits
structured-extraction — lua2147/claude-toolkit-catalog