structured-extraction
Extract structured data matching a JSON schema from websites. Handles complex nested schemas, arrays, pagination, and validation. Always outputs via formatOutput.
Install
Install this Claude and Codex skill with the command below. The command stays visible even when copy support is unavailable.
git clone https://github.com/firecrawl/web-agent /tmp/web-agent && ln -s /tmp/web-agent/agent-core/src/skills/definitions/structured-extraction ~/.claude/skills/structured-extraction
From README
Structured Extraction Use this skill when extracting data that must match a specific JSON schema. Strategy by task type Simple query (single fact or small object) Search for relevant results. Scrape promising results with a targeted query. Build the result object and call formatOutput immediately. Single target research (one entity, multiple fields) Search for relevant URLs. Scrape to extract data — stay in the orchestrator unless you have many independent sources (roughly 5+) where parallel workers clearly help. Compile findings and call formatOutput. List of items (array in schema) Search/scrape to get the list of items. Are all requested details included in the list? Yes: Build the result and call formatOutput. No: If there are many items (roughly 5+), use spawnAgents so each worker gets the item and fields; otherwise fetch details sequentially in the orchestrator. Aggregate all results and call formatOutput.