schematron

Extract JSON from HTML pages using configurable Schematron models.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/MagicWifiMoney/openclaw-starter-kit --skill schematron
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: schematron
Source: https://github.com/MagicWifiMoney/openclaw-starter-kit/tree/main/skills-custom/schematron
Command: npx skills add https://github.com/MagicWifiMoney/openclaw-starter-kit --skill schematron

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Schematron extracts reliable, strict JSON from noisy or inconsistent HTML pages so you can turn web pages, government opportunity listings, RFPs, and press releases into clean structured data without expensive LLM calls.

Core Features & Use Cases

  • High-volume HTML → JSON: Use schematron-3b for cost-effective extraction and schematron-8b for higher accuracy on complex schemas.
  • Schema-first extraction: Enforce strict JSON Schemas with required fields and additionalProperties set to false to ensure consistent outputs.
  • Practical workflows: Batch-process SAM.gov opportunities, scrape competitor sites, parse RFPs, and monitor agency press releases while cleaning HTML and handling large-context pages.

Quick Start

Extract SAM.gov opportunity fields from this HTML and return strict JSON that matches the SAM_OPPORTUNITY_SCHEMA.

Frequently Asked Questions about schematron

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract structured JSON from messy HTML web pages?

Extracting structured JSON from messy HTML involves cleaning the web page content and applying schema-first models to enforce strict JSON Schemas with required fields. This process ensures consistent outputs from noisy or inconsistent HTML sources.

What is the best way to scrape SAM.gov opportunity pages for pipeline ingestion?

Scraping SAM.gov opportunity pages for pipeline ingestion is best handled by batch-processing the HTML through dedicated extraction models. This approach cleans the HTML and generates strict JSON conforming to your provided schemas for reliable intelligence.

Can I enforce strict JSON Schemas with additionalProperties set to false during web scraping?

Enforcing strict JSON Schemas with additionalProperties set to false is fully supported during web scraping. The extraction models validate the output against your schema, ensuring only required fields are present and consistent.

How do I handle large-context HTML pages and truncation when extracting JSON?

Handling large-context HTML pages and truncation when extracting JSON requires built-in cleaning and truncation management features. These features process high-volume pages effectively while maintaining schema compliance for the extracted data.

Does inference.net Schematron offer different models for high-volume HTML extraction?

Inference.net Schematron offers configurable model selection for high-volume HTML extraction, including schematron-3b for cost-effective processing and schematron-8b for higher accuracy on complex schemas.