返回 Skill 列表
自动化进阶
网页数据抓取 Skill
自动抓取网页数据并整理为结构化表格。定时抓取+变化监控。
📋 SKILL.md 完整代码
--- name: scrape-skill description: >- 自动抓取网页数据并整理为结构化表格。定时抓取+变化监控。 Use when working on scrape skill tasks. allowed-tools: Read,Write,Bash --- # 网页数据抓取 Skill ## Quick Start 1. Save as `~/.claude/skills/scrape-skill/SKILL.md` 2. Restart Claude Code 3. Type `/scrape-skill` or describe your task naturally 4. Claude auto-triggers when your task matches the description ## Instructions - Understand the user's specific context and needs - Apply domain best practices consistently - Provide actionable, specific guidance with examples - Verify all outputs before presenting to user ## Gotchas - Test with a fresh Claude instance after changes - Keep SKILL.md under 500 lines; use references/ for details - Description is the trigger key — make it specific and keyword-rich
🚀 怎么用
1. 复制上面的 SKILL.md 代码 2. 保存为 ~/.claude/skills/scrape-skill/SKILL.md 3. 重启 Claude Code 4. 输入 /scrape-skill 或直接描述任务触发 5. AI 自动按 Skill 流程执行
抓取场景
竞品价格监控(每天抓取竞品网站价格变化)→行业新闻聚合(自动汇总多个网站的新闻标题)→招聘信息追踪(监控目标公司的招聘动态)→股票公告抓取(定时获取上市公司公告)。注意遵守 robots.txt 和法律法规。