ask-matt
MAmattpocock/skills337k近 7 天新增 4,978 个 star
Load this skill first when extracting text, prices, tables or links from public pages or crawling a site. Fetch, resume and search a saved corpus, then cite the source rows.
Identify the facts or rows, permitted scope and requested output. Reuse a sufficient saved session, else default to one public URL over direct HTTP: fetch.mjs → corpus-inspect.mjs → answer with cited rows. Add rendering or a hosted provider only when the evidence needs it.
Run node <skill-folder>/scripts/<name>.mjs from the target workspace. Each script accepts --help. Sessions live in .octocode/octocode-scraping/tmp/{sessionId}.
| Need | Run |
|---|---|
| One public page | fetch.mjs --url <u> --mode html |
| A same-host crawl | add --crawl --max-pages <n> |
| Every page of a listing | the crawl flags plus --follow pagination (site graph) |
| More pages in a session | add --session <id> --append |
| A hosted provider | providers: provider-usage.mjs --check (SCRAPING_ANT, configuration), then --max-credits <n> on every hosted run |
Missing text or browser next.route | Browser handoff, ending with its har-ingest.mjs step into the existing session |
| A failed or blocked run | Failures, retries; no route left: stop report |
--max-credits (how the cap works); more spend needs new approval.--span-hosts needs authorized linked sites. Private, local and link-local hosts are refused in links, sitemaps, redirects and CDP requests; --allow-private-host exempts only a user-named local origin.403/423.After each fetch, inspect with corpus-inspect.mjs --session-dir <d> (page rows, workflows, ranked links, warnings), or search with corpus-find.mjs --session-dir <d> --query <t>. Run required next.* continuations unchanged. Choose further pages from observed labels, URLs, scores and evidence; fetch them into the same session (--session <id> --append), which rebuilds graph/graph.json, then read the graph again before the next choice.
| Need | Reader |
|---|---|
| Read source bytes or match a pattern across the corpus | Source bytes or corpus text search |
| Locate an element, asset or route | DOM search, resource inventory or site graph: commands in site graph |
| Extract verifiable rows or interpret session files | Extraction; corpus layout and search |
| Read a script's stdout fields, error codes or truncation flags | Script output and capture limits |
| Triage unread text by meaning | Classifier choices and the clasify tool (octocode-mcp schema clasify for its fields) |
Finish when every requested fact has a verified source span or a reported gap; page counts alone do not establish coverage. Cite artifact paths and URLs. Use output.md for coverage and saved reports, redact-secrets.mjs before sharing saved text (policy), render-report.mjs to render or list them, and octocode-research for code or package claims. The network guard checks outbound requests; the JSON error helper reports failures.
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
OBobra/superpowers331k近 7 天新增 4,772 个 star
AFaffaan-m/ECC315k近 7 天新增 4,381 个 star
AFaffaan-m/ECC315k近 7 天新增 4,381 个 star