What problem does it solve? Getting reliable, structured data out of LLM responses is error-prone: raw JSON parsing breaks, fields go missing, and types are inconsistent. This Skill uses the Instructor library to enforce Pydantic schemas on LLM outputs, automatically validating results and retrying failed extractions with error feedback. ## Core Features & Use Cases - Schema-Validated Extraction: Define Pydantic response models with type hints, field constraints, enums, and custom validators; the LLM output is parsed and validated against them automatically. - Automatic Retries: When validation fails, the error message is sent back to the LLM and extraction is retried up to a configurable limit. - Streaming & Multi-Provider Support: Stream partial objects or iterables in real time, and work with Anthropic Claude, OpenAI, or local models via Ollama. - Use Case: Extract company information (name, founding year, industry, headcount) from unstructured text into a typed CompanyInfo model, or classify articles into fixed categories with confidence scores. ## Quick Start Use the instructor skill to extract a person's name, age, and email from a block of text into a validated Pydantic model.