harvest-structured
Structured data extraction - tables, pricing, products, API endpoints with schema
- License 许可
- MIT
- 最近更新
- 2026-06-09
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- harvest-structured
- keywords
- [ "scrape", "structured", "data", "extract", "schema", "table", "pricing", "product", "json", "csv" ]
- description
- Structured data extraction - tables, pricing, products, API endpoints with schema
- allowed-tools
- [ "Bash", "Read", "Write", "WebFetch" ]
03 SKILL.md 正文
Harvest Structured
Extract structured data from web pages using user-defined schemas. Turns messy HTML into clean JSON/CSV - pricing tables, product listings, API endpoint docs, comparison matrices.
Usage
/scrape <url> --schema "<field descriptions>"
Examples
# Extract pricing data
/scrape https://example.com/pricing --schema "plan_name, price, features[], cta_text"
# Extract product listings
/scrape https://store.example.com/products --schema "name, price, rating, reviews_count, image_url"
# Extract API endpoints
/scrape https://docs.api.com/reference --schema "method, path, description, parameters[], response_code"
Schema Definition
Define fields as comma-separated names. Use [] for arrays:
name → Single text value
price → Single value (auto-detects currency)
features[] → Array of items
description → Long text
url → Auto-detects links
image_url → Auto-detects image sources
How It Works
- Fetch page content
- Parse schema definition
- Use CSS selectors or LLM extraction to match fields
- Validate extracted data against schema
- Output as JSON (default) or CSV
Output Format
JSON (default)
[
{
"plan_name": "Pro",
"price": "$29/mo",
"features": ["Unlimited projects", "Priority support", "API access"],
"source_url": "https://example.com/pricing"
}
]
CSV
plan_name,price,features,source_url
Pro,"$29/mo","Unlimited projects; Priority support; API access",https://example.com/pricing
Integration
- growth: Competitor pricing extraction
- migrator: Changelog/breaking changes extraction
- tech-radar: Feature comparison across tools
- data-analyst: Structured data for analysis
Rules
- Only extract publicly visible data
- Respect rate limits (1 req/sec)
- Validate schema before extraction
- Report confidence per field (high/medium/low)
- Output includes source URL for every record
04 同仓库更多 Skills
workflow-router
Goal-based workflow orchestration - routes tasks to specialist agents based on user goals
wiring
Wiring Verification
websocket-patterns
Connection management, room patterns, reconnection strategies, message buffering, and binary protocol design.
visual-verdict
Screenshot comparison QA for frontend development. Takes a screenshot of the current implementation, scores it across multiple visual dimensions, and returns a structured PASS/REVISE/FAIL verdict with concrete fixes. Use when implementing UI from a design reference or verifying visual correctness.
verification-loop
Comprehensive verification system covering build, types, lint, tests, security, and diff review before a PR.
vector-db-patterns
Embedding strategies, ANN algorithms, hybrid search, RAG chunking strategies, and reranking for semantic search and retrieval.