extract-structured-data

extract-structured-data is a skill for Claude Code, Codex from jezweb/vite-flare-starter. It costs 42 tokens per session (514 once invoked), scanned A, original, MIT.

A skill for turning messy text, documents, or web pages into structured JSON with chosen fields.

In plain words
What is it for?
Use it to extract contacts, events, products, tasks, or custom fields, then check that the results have sensible types and required values.
Why use it?
It removes the need to manually find and consistently format information in unstructured content.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jezweb/vite-flare-starter/extract-structured-data
Any agent
npx skills add jezweb/vite-flare-starter --skill extract-structured-data
Clone the repo
git clone --depth 1 https://github.com/jezweb/vite-flare-starter

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for extract-structured-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/jezweb/vite-flare-starter/extract-structured-data.svg)](https://agentmods.dev/skills/jezweb/vite-flare-starter/extract-structured-data)
Your own site
<a href="https://agentmods.dev/skills/jezweb/vite-flare-starter/extract-structured-data"><img src="https://agentmods.dev/badge/skills/jezweb/vite-flare-starter/extract-structured-data.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 514 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.00514
Opus 5 $0.00021 $0.00257
Sonnet 5 $0.00008 $0.00103
Haiku 4.5 $0.00004 $0.00051

Measured 5d ago against content hash 14b55978f293, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

extract-structured-data scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/extract-structured-data/SKILL.md · 49 lines

What it actually says

Extract Structured Data

When to use

The user has unstructured content (email, document, web page, transcript) and wants specific fields extracted as structured data.

Steps

  1. Identify the schema — what fields does the user want? If unclear, propose one via ask_questions or just offer_choices with common templates:

    • Contacts (name, email, phone, company)
    • Events (title, date, location, attendees)
    • Products (name, price, description, sku)
    • Tasks (title, due, assignee, priority)
    • Custom (ask user to list fields)
  2. Get the source content:

    • For URLs: use browser_extract — Cloudflare Browser Rendering's /json endpoint runs Workers AI extraction natively, very efficient
    • For attachments: read the document content (already in context or via fs_read)
    • For plain text in the message: use directly
  3. Extract — for browser-based extractions, prefer browser_extract because it's done server-side. For other content, extract using your own reasoning.

  4. Validate — check the extraction:

    • Required fields populated?
    • Numbers are numbers, dates are dates?
    • Anything obviously wrong (e.g. email field contains a phone number)?
  5. Display — use show_data_table to render the extracted records cleanly. Columns should match the schema fields.

  6. Offer next steps via offer_choices:

    • "Save as CSV"
    • "Add another field"
    • "Re-extract with different schema"
    • "Looks good"

Style

  • Be precise about what's missing. Use null or empty string consistently — pick one and document it.
  • Preserve original casing and formatting where possible
  • For dates, normalise to ISO 8601 (YYYY-MM-DD) unless told otherwise

What not to do

  • Don't infer values that aren't in the source. If a field is missing, say so — don't guess.
  • Don't reformat numbers (e.g. "$1,234.56" — keep as-is unless asked)
  • Don't deduplicate without permission — the user may want all records
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 49 lines · 42 tokens per session scan A 14b55978f293

Subscribe to this mod's changes

extract-structured-data is a skill published in the GitHub repository jezweb/vite-flare-starter (48 stars, last pushed 10d ago), licensed MIT. It adds 42 tokens to every session and 514 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

foundry-config-setup

Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.

microsoft/agent-framework · 65 tokens

google-cloud-solution-agentic-analytics-spark-knowledge-catalog

Discovers requirements and generates guidance to design and deploy a governed, secure agentic-analytics solution for data that's distributed across Google Cloud, other cloud providers, or on-premises. Data that's outside Google Cloud (such as data from Databricks, Snowflake, Salesforce, SAP, or Oracle systems) is…

google/skills · 138 tokens

training-check

Interactively monitor training metrics from the current Codex session, periodically checking WandB or fallback logs for NaN, divergence, plateaus, and broken runs.

wanshuiyin/Auto-claude-code-research-in-sleep · 35 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens