skim402
v0.2.5Clean markdown and structured web data.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
read_url
Fetch any URL and return clean, agent-ready Markdown via Skim (skim402.com). Output is ~4x smaller than raw HTML — fewer tokens, faster processing. Strips nav, ads, and boilerplate; preserves the article body plus structured metadata (title, byline, published date, language, excerpt). Use this whenever you need to read web content: articles, docs, blog posts, GitHub READMEs, research papers, etc.
| Parameter | Type | Description |
|---|---|---|
url * | string | The fully-qualified URL to fetch and clean (https://...). |
read_urls
Read up to 10 URLs in one Skim call and return per-URL clean Markdown plus metadata. Use this instead of calling read_url in a loop. Card lane: POST /api/t/read/batch. Wallet lane: POST /api/v1/read/batch.
| Parameter | Type | Description |
|---|---|---|
urls * | array | 1–10 fully-qualified http(s) URLs to read. |
stripImages | boolean | If true, drop image markup from the markdown. |
stripLinks | boolean | If true, flatten markdown links to their anchor text. |
extract_url
Extract structured JSON (or tables) from a URL via Skim. Pass a JSON Schema, or a preset (article, product, job, review, event, table). Values come only from the page — missing fields are omitted or null, never invented. Card lane: POST /api/t/extract. Wallet lane: POST /api/v1/extract.
| Parameter | Type | Description |
|---|---|---|
url * | string | The fully-qualified URL to fetch and extract from. |
instructions | string | Optional natural-language hint (e.g. only quote prices from the article body). |
preset | string | Built-in extraction shape. Use table for data tables on the page. Ignored when schema is set. |
schema | object | JSON Schema (type: object) describing the output. Required unless preset is set. Wins if both are set. |
crawl_url
Crawl a site (origin or start URL) and return clean Markdown for the important pages. Discovers sitemap.xml / robots.txt sitemaps plus same-origin links. Cap 25 pages. 1 credit per successful page; failed pages are not charged. Card lane only: POST /api/t/crawl. No x402 /v1 twin.
| Parameter | Type | Description |
|---|---|---|
url * | string | Site origin or start URL. Bare hosts like example.com are treated as https://example.com. |
maxPages | integer | Optional page cap, 1–25. Default 25. |
stripImages | boolean | If true, drop image markup from every page. |
stripLinks | boolean | If true, flatten markdown links to their anchor text on every page. |
read_pdf
Fetch a public PDF URL and return clean Markdown plus an optional bookmark outline. Text comes only from the file — nothing is invented. Image-only scans return 422 (no OCR). Files larger than 8 MB return 413. 3 credits; failed conversions are not charged. Card lane only: POST /api/t/read-pdf. No x402 /v1 twin.
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute http(s) PDF URL to fetch and convert. |
outline | boolean | If true (default), include the PDF bookmark outline when present. Set false to omit it. |
watch_urls
Register a private Skim Watch on 1–20 URLs. Returns a watch_id (treat it as a secret) used with check_watch. First check baselines each page; later checks report content diffs. Card lane: POST /api/t/watch. Wallet lane: POST /api/v2/watch.
| Parameter | Type | Description |
|---|---|---|
urls * | array | 1–20 fully-qualified http(s) URLs to watch. |
note | string | Optional label for this watch (e.g. competitor pricing). |
check_watch
Poll a Skim Watch for content changes (or fetch registration status). Pass the watch_id from watch_urls. Card lane: GET /api/t/watch/diff?id= (or /status). Wallet lane: GET /api/v2/watch/diff?id= (or /status, which is free).
| Parameter | Type | Description |
|---|---|---|
watch_id * | string | Watch id returned by watch_urls (treat as a secret). |
status_only | boolean | If true, return registration status only (no diff). Wallet-lane status is free. |
poll_signal
Poll a Skim Signal feed and return the latest structured items (title, summary, source, timestamp, link, entities). 2 credits per successful poll; failed polls are refunded. Card lane: GET /api/t/signal/{slug}/latest?limit= (filters: forms, categories, fields, states, committees). The x402 ecosystem feed is GET /api/t/feeds/x402/latest — never /signal/x402. Requires SKIM_API_KEY. No x402-fetch-compatible wallet twin (GET /api/v2/... returns a v2 402 with an empty body).
| Parameter | Type | Description |
|---|---|---|
slug * | string | Signal slug from skim402.com/signals. Use x402 for the ecosystem feed, not /signal/x402. |
categories | string | deals only. Comma-separated category terms (1–8, each 2–40 chars), e.g. laptop,gpu. |
committees | string | campaign-finance only. Comma-separated committee-name substrings (1–8, each 2–60 chars), e.g. turning point,dnc. |
fields | string | research only. Comma-separated arXiv fields: ai, ml, nlp, vision, robotics, agents, security, quantum. |
forms | string | Comma-separated form filter. sec-filings: 8-K, S-1, 10-K, 10-Q, SC 13D, SC 13G, 4. campaign-finance: F1, F2, F3, F3P, F3X, F3L, F24, F5, F6, F9, F13, F99. |
limit | integer | Max items, newest-first. Default 50, capped at 100. |
states | string | film-incentives only. Comma-separated two-letter states: CA, NY, GA, NM, TX. |