Langsung ke konten
Skillpedia
Web scraping5.5k Β· #14819

wigolo-extract

Fungsinya

Skill ini mengajari agent cara mengambil informasi terstruktur dari halaman web, bukan teks biasa. Skill ini bisa membaca tabel, daftar definisi, data tersemat, dan detail halaman seperti logo merek.

Kapan dipakai

  • βœ“Saat pengguna ingin tabel harga atau perbandingan fitur dari halaman web.
  • βœ“Saat pengguna meminta data terstruktur atau meminta tabel diekstraksi dari halaman.
  • βœ“Saat pengguna ingin warna merek, logo, dan font dari sebuah situs web.

Link skill

https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-extract/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-extract/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œEkstrak tabel harga dari halaman ini sebagai data terstruktur yang bisa saya tempel ke spreadsheet.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent memuat halaman dan membaca bagian terstrukturnya, seperti tabel HTML dan data terstruktur yang tersemat. Agent bisa mencocokkan field dengan skema atau membaca satu selector CSS, lalu mengembalikan hasilnya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

wigolo extract

Structured data extraction beyond simple markdown.

Quick Reference

// Full structured extraction (ALWAYS prefer this)
{ "url": "https://bun.sh", "mode": "structured" }

// JSON Schema extraction β€” heuristic field matching
{ "url": "https://example.com/pricing", "mode": "schema", "schema": { "type": "object", "properties": { "name": { "type": "string" }, "price": { "type": "string" }, "sku": { "type": "string" } } } }

// CSS selector extraction
{ "url": "https://example.com", "mode": "selector", "css_selector": ".product-card", "multiple": true }

// Metadata only (matches fetch metadata shape)
{ "url": "https://example.com", "mode": "metadata" }

// From raw HTML
{ "html": "<table>...</table>", "mode": "tables" }

Modes

Mode What it extracts When to use
structured Tables + definition lists + JSON-LD + chart hints + key-value pairs Default choice β€” use this
tables HTML tables only When you specifically need only tables
schema Fields matching a JSON Schema (LLM-sourced fields verified against source; hallucinated values returned as null) When you know the exact fields you want
brand Logo, favicon, colors, fonts, social_links (with provenance; favicons never promote to logo_url) Brand kit / identity extraction
metadata OpenGraph, meta tags, JSON-LD, canonical_url, og_image For page metadata only
selector CSS selector matches When you know the exact CSS selector

Always use mode: "structured" instead of mode: "tables". Structured captures everything tables does, plus definitions, key-value pairs, JSON-LD, and chart descriptions.

Chart Hints

When a page has visual charts (SVG, Canvas), chart_hints contains text descriptions extracted from aria-labels, SVG <title>, and figcaptions. Use these to describe visual data even when the underlying data is JavaScript-rendered.

Schema Mode

mode: "schema" matches your JSON Schema field names against page content via CSS classes, ARIA labels, microdata, and JSON-LD. When a language model is available it sources fields and verifies each value against the source β€” hallucinated values are returned as null rather than guessed. Pass { properties: { field: { type: "string" } } }.

Named Schemas

Instead of hand-writing a schema, pass named_schema for a strict, heuristic-only extraction (no LLM required) into a known shape:

{ "url": "https://blog.example.com/post", "named_schema": "Article" }

Available: Article, Recipe, Product, CodeSnippet, Paper, EventListing. Mutually exclusive with schema.

Brand Mode

mode: "brand" pulls a page's identity assets β€” logo, favicon, colors, fonts, and social_links β€” each with provenance. Favicons never get promoted to logo_url.

Token Budget

max_tokens_out (cl100k-base) caps extracted output; trailing table rows or heavy keys are dropped first to fit.

Anti-Patterns

  • DON'T use mode: "tables" β€” use mode: "structured" instead.
  • DON'T pass a schema without properties key β€” handler rejects it.
  • DON'T extract for a whole page when you need markdown β€” use fetch instead.

When NOT to use wigolo-extract

  • Multi-page autonomous structured extraction β€” use wigolo's agent tool instead.
  • Page requires login / click / form-fill before the data appears β€” handle authentication with use_auth or interact with the page before extracting.

See Also

Pertanyaan umum

Bisakah saya memberikan skema?

Bisa. Skema JSON bisa mendeskripsikan field, dan skill ini mencocokkannya dari halaman.

Bisakah ia bekerja dari HTML mentah?

Bisa. Skill ini menerima HTML mentah sebagai input, tidak hanya URL.

Apa yang dikembalikan mode merek?

Mode ini mengembalikan logo, favicon, warna, font, dan tautan media sosial, beserta sumber masing-masing.

Detail

Deskripsi asli dari pembuat

Local-first structured extraction from any webpage β€” tables, definition lists, key-value pairs, JSON-LD, microdata, chart hints (SVG titles / aria-labels / figcaptions), brand assets, and metadata. Use when the user wants structured data, pricing tables, feature comparisons, or says "extract the table", "get structured data", "pull the pricing", "extract as JSON". For autonomous navigation across many pages, use wigolo's `agent` tool instead.

repo: KnockOutEZ/wigolo

Popularitas

Bintang GitHub
5.5k
Peringkat
#14819
Lisensi
β€”
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa