com um clique
crawl
Recursively crawl a documentation site, converting each page to markdown
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Recursively crawl a documentation site, converting each page to markdown
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
| name | crawl |
| description | Recursively crawl a documentation site, converting each page to markdown |
| user-invocable | false |
| allowed-tools | Read, Bash, Glob, Grep |
Recursively crawl a documentation site starting from a root URL, using LLM judgment to follow related links and converting each page to markdown.
/crawl <start_url> [-o output_dir] [-d max_depth]
Defaults: -o output/, -d 2
Parse arguments: extract start URL, -o <dir> (default output/), -d <depth> (default 2).
Create the output directory if needed: mkdir -p <output_dir>
Initialize state:
visited: set of normalized URLs already processed (fetched or skipped)queue: list of (url, depth) pairs, starting with [(start_url, 0)]results: list of {url, path, status} for final reportmax_pages: 50 (safety cap)Process the queue in breadth-first order:
For each (url, depth) popped from the queue:
a. Skip if the normalized URL is already in visited.
b. Add the normalized URL to visited.
c. Fetch and convert the page:
bash fetch/parsers/web.sh "<url>" "<output_dir>"
len(results) >= max_pages, stop and report.
e. If depth < max_depth, extract links:bash fetch/links.sh "<url>"
This outputs TSV: <absolute_url>\t<link_text> per line.
f. Filter links — classify each extracted link as follow or skip:
Follow (add to queue at depth + 1):
/en/docs/claude-code, follow /en/docs/claude-code/settings but not /en/docs/agents)Skip (do not follow):
/api/, /auth/, /login/, /signup/, /download/, /changelog/.pdf, .zip, .tar.gz, .png, .jpg, .svg, .gifvisitedUse your judgment for edge cases. When uncertain, prefer to follow — the user can always delete unwanted files.
g. Add filtered URLs to the queue as (url, depth + 1).
h. Pace requests: wait 1 second between fetches to avoid rate limiting: sleep 1
After the queue is empty (or max_pages reached), report results:
web.sh generates.max_pages, stop and tell the user how many remain.-o ~/code/llm-wiki/raw/)./crawl https://docs.anthropic.com/en/docs/claude-code -o ~/code/llm-wiki/raw/ -d 2
This fetches the Claude Code docs root, follows all related doc links up to 2 levels deep, and writes markdown files to the llm-wiki raw directory.
Process raw sources into wiki pages — creates summaries, entities, and concept pages
Check Sentry errors, Axiom logs, and other monitoring sources for bugs, then fix them with regression tests
Fetch Google Docs and convert to markdown
Generate TTS audio from speaker_notes and upload to Vercel Blob
Generate AI illustrations for course cards and upload to Vercel Blob
Convert PDF files to markdown