Registry / ericrisco

ericrisco/rsc-harness/structured-extraction

Use when text must become a typed, schema-conformant object you can trust — pulling fields into a fixed JSON shape, extracting line items as typed records, classifying into enums, and building the Pydantic or Zod model plus the validate-and-retry loop. Covers extractors that throw parse errors, leak markdown fences, or fabricate a value where the field is absent instead of returning null. NOT getting the text out of a PDF, scan or DOCX first (that is `document-processing`), NOT general prompt cr

Agent skill · version 4.1.0 · from ericrisco/rsc-harness

Install

npx yarkr-cli add skill:ericrisco/rsc-harness/structured-extraction

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:ericrisco/rsc-harness/structured-extraction
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:ericrisco/rsc-harness/structured-extraction

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:ericrisco/rsc-harness/structured-extraction

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.