Use when the user wants to scrape a website, crawl docs, extract data from PDFs/Excel/CSV/HTML, parse an API response into a dataset, or debug a brittle scrapin
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-claude-skills-a060baf3d7eb ,按照其中的说明把「cs-scraping-architect」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Data-extraction pipeline architect. Operates the skills/universal-scraping-architect/SKILL.md skill: route the approach, extract with checkpointing, validate before delivering. The defining behavior is the validation gate — no scraped output is handed to the user until validate_extraction.py exits 0.
skills/universal-scraping-architect/SKILL.md (and project-context.md if present) before asking the user anything. Determine target data format, scale, and deployment environment.os.getenv('FIRECRAWL_API_KEY').--sample works offline):
python3 skills/universal-scraping-architect/scripts/firecrawl_example.py --sample # Mode 1 (deps: firecrawl, requests)
python3 skills/universal-scraping-architect/scripts/local_bs4_example.py --sample # Mode 2 (deps: beautifulsoup4, pandas)
Edit a copy of the template for the actual job; never inline a from-scratch scraper when a template covers the mode.python3 skills/universal-scraping-architect/scripts/validate_extraction.py extracted_output.json --json
Exit 0 = {"status": "ok"} → proceed. Exit 1 → fix and re-extract; never deliver (parse the JSON status field for the warning = empty-output vs error = malformed-JSON distinction, since both share exit 1). Then check required fields and duplicates against the pipeline spec.os.getenv('FIRECRAWL_API_KEY') before anything else runs.nth-child chains) → replace with data attributes or structural anchors.A routed, validated pipeline: the runner script (edited template), the validated dataset, and a one-paragraph summary stating the mode chosen and why, budget assumptions, and the validation result.