LogoClawIndex
CasesSkillsAbout
LogoClawIndex

instructor - Extract validated structured data from LLMs

Extracts structured data from LLM responses and validates it with Pydantic, including retries and streaming support.

Tags

Updated: 2026-10-02

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Extract structured data
  • Validate outputs with Pydantic
  • Retry failed extractions
  • Parse typed JSON
  • Stream partial results
  • Support OpenAI and Anthropic

Inputs

  • Source text or prompt
  • Pydantic response model
  • LLM provider credentials
  • Model and request configuration

Outputs

  • Validated structured objects
  • Validation errors
  • Partial streamed objects
  • Streamed iterable items

Requirements

  • Python environment
  • Installed instructor, Pydantic, OpenAI, and Anthropic packages
  • Provider API key or local Ollama server
  • Linux, macOS, or Windows

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
Prompt Engineering
Structured Output
Pydantic
Data Extraction
JSON Parsing
Type Safety
Validation
Streaming
OpenAI
Anthropic
Extract structured data
Validate outputs with Pydantic
Retry failed extractions
Parse typed JSON
Source text or prompt
Pydantic response model
LLM provider credentials
Validated structured objects
Validation errors
Partial streamed objects