LogoClawIndex
CasesSkillsAbout
LogoClawIndex

instructor - Extract and validate structured LLM outputs

Extracts typed data from LLM responses, validates it with Pydantic, retries failures, and streams partial results.

Tags

Updated: 2026-10-02

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Extract structured data
  • Validate Pydantic models
  • Retry failed extractions
  • Parse typed JSON
  • Stream partial results
  • Support multiple providers

Inputs

  • Source text or prompts
  • Pydantic response schemas
  • Provider and model configuration
  • API credentials
  • Ollama endpoint

Outputs

  • Validated structured data
  • Validation error feedback
  • Retry requests
  • Partial streamed objects
  • Streamed iterable items

Requirements

  • Python environment
  • instructor package
  • pydantic package
  • OpenAI or Anthropic package
  • Supported LLM provider access
  • Ollama endpoint for local models

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
Instructor
Structured Output
Pydantic
Data Extraction
JSON Parsing
Type Safety
Validation
Streaming
OpenAI
Anthropic
Extract structured data
Validate Pydantic models
Retry failed extractions
Parse typed JSON
Source text or prompts
Pydantic response schemas
Provider and model configuration
Validated structured data
Validation error feedback
Retry requests