원클릭으로
crawl
Recursively crawl a documentation site, converting each page to markdown
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Recursively crawl a documentation site, converting each page to markdown
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
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
| 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.