Grounded Text to JSON Extractor
Extracts strict, validated JSON from unstructured documents with exact verbatim evidence grounding and zero hallucination.
Free
Works with the AI Agents you already use
Grounded Text to JSON Extractor
Example session with this skill installed
Extract service name, error code, and root cause from: 'Service auth-gateway failed with status 504 due to connection pool exhaustion.'
- Read your context and instructions
- Compiled the grounded text to
{
"fields": {
"service_name": {
"value": "auth-gateway",
"evidence": "auth-gateway"
},
"error_code": {
"value": 504,
"evidence": "504"
},
"root_cause": {
"value": "connection pool exhaustion",
"evidence": "connection pool exhaustion"
}
},
"valid": true
}
Connects securely to your tools. The creator never sees your data.
About this skill
Grounded Text-to-JSON Extractor
Transform messy, unstructured documents, server logs, invoices, and tickets into strict, validated JSON with zero hallucination.
Why System 1 Grounded Extraction?
Standard LLM JSON extraction often suffers from subtle paraphrasing, invented numbers, and uncalibrated guesses when data is missing.
This skill enforces Verbatim Evidence Grounding:
- Exact Substring Proof: Every extracted value is paired with an exact literal snippet (
evidence) copied directly from the text. - Character Span Auditing: Verifies 0-based character offsets
[start, end]in the source text to ensure auditability. - Calibrated Null Handling: Resolves unmentioned fields to
nullinstead of hallucinating plausible defaults. - Strict Schema Envelopes: Wraps any target JSON schema into an evidence-backed verification envelope.
Bundled Tools & Resources
- Complete Extraction Protocol & Schema Transformation guide (
SKILL.md). - Standard grounded envelope specification (
references/envelope_schema.json). - Standalone verification script (
scripts/extract_grounded_json.py).
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.
Operates on text input. Non-text documents (scanned images, audio) require prior conversion or transcription before extraction.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed today
- Free with an Agensi account
- Software
Python 3.10+