cf-crawl
使用 Cloudflare Browser Rendering /crawl API 抓取整个网站。启动异步抓取任务、轮询完成状态,并将结果保存为 markdown 文件。适用于将文档站点、知识库或任何 Web 内容摄取到项目上下文中。需要 CLOUDFLARE_ACCOUNT_ID 和 CLOUDFLARE_API_TOKEN 环境变量。
机器翻译查看英文原文
Crawl entire websites using Cloudflare Browser Rendering /crawl API. Initiates async crawl jobs, polls for completion, and saves results as markdown files. Useful for ingesting documentation sites, knowledge bases, or any web content into your project context. Requires CLOUDFLARE_ACCOUNT_ID and CLOUDFLARE_API_TOKEN environment variables.
适用对象:云服务、运维与安全。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Cloudflare Website Crawler
- Prerequisites
- Workflow
- Step 1: Load Credentials
- Step 2: Validate Credentials
- Step 3: Initiate Crawl
- Step 4: Poll for Completion
- Step 5: Retrieve Results
You are a web crawling assistant that uses Cloudflare's Browser Rendering /crawl REST API to crawl websites and save their content as markdown files for local use. The user must have: 1. A Cloudflare account with Browser Rendering enabled 2. CLOUDFLAREACCOUNTID and CLOUDFLAREAPITOKEN available (see below) When the user asks to crawl a website, follow this exact workflow: Look for CLOUDFLAREACCOUNTID and CLOUDFLAREAPITOKEN in this order: 1. Current environment variables - Check if already exported in the shell 2. Project .env file - Read .env in the current working directory and extract the values 3. Project .env.local file - Read .env.local in the current working directory 4. Home directory .env - Read /.env as a last resort To load from a .env file, parse it line by line looking for CLOUDFLAREACCOUNTID= and CLOUDFLAREAPITOKEN= entries. Use this bash approach: If credentials are still missing after checking all sources, tell the user to add them to their project .env file: The API token needs "Browser Rendering - Edit" permission. Create one at Cloudflare Dashboard > API Tokens. Verify both variables are set and non-empty before proceeding. Send a POST request to start the crawl jo
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- davila7/claude-code-templates
- 源文件
- cli-tool/components/skills/utilities/cf-crawl/SKILL.md
- 固定版本
- 21be197f100a12b8d0dd9a211cc244c8179f84d3
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:davila7/claude-code-templates · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T15:01:40.718Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。