Agent skill
cloudflare-aware-scrape
Detect and document Cloudflare or anti-bot challenge responses while scraping. Use when a site returns "Just a moment...", /cdn-cgi/ pages, or requires JS verification; provides detection heuristics, retry steps, and fallback capture methods.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/documents/cloudflare-aware-scrape
SKILL.md
Cloudflare-Aware Scrape
Overview
Identify when you are seeing a challenge page and apply a consistent fallback and reporting workflow.
Quick start
- Fetch or render the target page.
- Check for challenge signals from
references/challenge-signals.md. - If challenged, retry once with dev-browser and capture evidence.
- If still blocked, use the fallback playbook and document access notes.
Workflow
1) Detect challenges
- Inspect the page title, HTML, and obvious banners.
- Use
references/challenge-signals.mdto classify as "challenge" vs "normal".
2) Retry with dev-browser
- Load the page in a persistent dev-browser context.
- Wait briefly, then re-check
page.title()andpage.url(). - Capture a screenshot if the challenge persists.
3) Use fallbacks
- Follow
references/fallbacks.mdin order: dev-browser retry, Jina snapshot, direct fetch. - Do not rely on fallback content without noting limitations.
4) Record access notes
- State which access path succeeded and which failed.
- Include URLs, timestamps (if relevant), and evidence captured.
Resources
references/challenge-signals.mdreferences/fallbacks.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?