cf-crawl
Skill by davila7
Crawls websites with the Cloudflare Browser Rendering /crawl API and saves the pages as markdown files. Useful for loading documentation sites or knowledge bases into a project's context. Requires Cloudflare credentials in environment variables.
Install cf-crawl
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/utilities/cf-crawl ~/.claude/skills/cf-crawlRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/utilities/cf-crawl ~/.gemini/antigravity-cli/skills/cf-crawlAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
cf-crawl is an agent skill that crawls entire websites using Cloudflare's Browser Rendering /crawl API. The assistant starts an async crawl job, polls it until it finishes, and saves each page's content as a markdown file in a local output directory. It can also run incremental crawls that only pick up pages modified since a given date.
The skill reads CLOUDFLARE_ACCOUNT_ID and CLOUDFLARE_API_TOKEN from the shell or from .env files. Options include URL include and exclude patterns, a fast mode without JavaScript rendering, and a page limit. It is aimed at developers who want to ingest documentation sites, knowledge bases, or other web content into their project context.
Written from the project's SKILL.md and checked against it.
What it can do
- Crawl a websiteStarts a Browser Rendering crawl job from a starting URL with a page limit.
- Poll job statusChecks the crawl job every 5 seconds until it completes.
- Save as markdownWrites each crawled page's markdown content into a local output directory.
- Incremental crawlUses modifiedSince to fetch only pages changed after a given date.
- URL filtersInclude and exclude wildcard patterns control which pages are crawled.
- Fast fetch modeThe --no-render option uses a static HTML fetch without JavaScript rendering.
- Skipped page reportLists pages that were unchanged since the given timestamp.
What you need
- A Cloudflare account with Browser Rendering enabled
- CLOUDFLARE_ACCOUNT_ID environment variable
- CLOUDFLARE_API_TOKEN with Browser Rendering - Edit permission
- python3 and curl, used in the commands
Try asking
- /cf-crawl https://docs.example.com --limit 50
- Crawl the docs site at example.com and save the pages as markdown
- Run an incremental crawl of docs.example.com for changes since March 10
Good to know
- Free plan includes 10 minutes of browser time per day.
- Job results are kept for 14 days after completion.
- Maximum job runtime is 7 days, and response page size is capped at 10 MB.
- The --merge option is described, but the save script in the source writes one file per page.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/utilities/cf-crawl/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB
Alternatives to cf-crawl
All alternatives →Box lets an AI assistant search, read, upload, download, move, rename, delete, restore and share Box content. It also manages comments and metadata. It suits people who work with files stored in Box.
Guides AI assistants in using n8n-mcp MCP tools to search nodes, validate configs, browse templates and manage n8n workflows. Aimed at people building n8n workflows through MCP.
Manages citations across the research and writing process. It covers searching Google Scholar and PubMed, converting DOIs, PMIDs and arXiv IDs to BibTeX, and validating bibliographies. It is for researchers building bibliographies for manuscripts or theses.
Exa Search is a skill that guides an AI assistant to use the Exa MCP server for neural search. It covers web pages, code, companies, and people, and is for users who need current information or research during development tasks.
Runs recent community and social trend research over the last 30 days. It suits teams who need to know what people are saying now about a topic or launch.
seo-flow adds the FLOW SEO framework to Claude SEO. It surfaces stage-specific AI prompts from the FLOW knowledge base across the Find, Leverage, Optimize and Win stages. It is for SEO practitioners who want evidence-led prompts.
Compare with box, n8n-mcp-tools-expert or citation-management
cf-crawl: common questions
Does cf-crawl respect robots.txt?
Yes. The source says the /crawl endpoint respects robots.txt, including crawl-delay, and blocked URLs appear with a disallowed status.
What does the no-render option do?
It uses a fast static HTML fetch instead of a headless browser. The source notes this is faster and cheaper but does not capture JavaScript-rendered content.
How do incremental crawls work?
Pass a modifiedSince Unix timestamp, or use --since with a date. Pages not modified since that time appear with status skipped in the results.
How do I install cf-crawl?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is cf-crawl free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is cf-crawl safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to cf-crawl?
Similar skills: box, n8n-mcp-tools-expert, citation-management, exa-search.
