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
Prompt EngineeringInstructorStructured OutputPydanticData ExtractionJSON ParsingType SafetyValidationStreamingOpenAIAnthropic

Capabilities

Extract structured dataValidate Pydantic modelsRetry failed extractionsParse typed JSON

Typical Inputs

Source text or promptsPydantic response schemasProvider and model configuration

Typical Outputs

Validated structured dataValidation error feedbackRetry requests

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.