LogoClawIndex
CasesSkillsAbout
LogoClawIndex

instructor - Generate validated structured outputs from LLMs

Extracts structured data from LLM responses using Pydantic schemas, validation, retries, and streaming across supported providers.

Tags

Updated: 2026-10-02
Prompt EngineeringInstructorStructured OutputPydanticData ExtractionJSON ParsingType SafetyValidationStreamingOpenAIAnthropic

Capabilities

Extract structured dataValidate Pydantic outputsRetry failed validationsParse typed JSON

Typical Inputs

LLM response textPydantic response modelsProvider API credentials

Typical Outputs

Validated structured objectsValidation error feedbackRetried extraction results

What this skill does

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

Inputs

  • LLM response text
  • Pydantic response models
  • Provider API credentials
  • LLM model selection
  • User prompts

Outputs

  • Validated structured objects
  • Validation error feedback
  • Retried extraction results
  • Partial streamed objects
  • Streamed iterable items

Requirements

  • Python environment
  • instructor package
  • pydantic package
  • OpenAI or Anthropic package
  • Supported LLM provider access
  • Provider API permissions

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.