Agent Skillsskrun-dev/skrun › web-scraper

web-scraper

GitHub

基于Playwright的网页抓取技能,通过无头浏览器访问URL并提取结构化数据。适用于需从网页获取特定信息的场景,支持导航、快照及交互操作,确保内容真实可靠。

agents/web-scraper/SKILL.md skrun-dev/skrun

触发场景

用户需要提取网页上的特定数据 用户询问某个网站页面的具体内容

安装

npx skills add skrun-dev/skrun --skill web-scraper -g -y
更多选项

非标准路径

npx skills add https://github.com/skrun-dev/skrun/tree/main/agents/web-scraper -g -y

不安装直接使用

npx skills use skrun-dev/skrun@web-scraper

指定 Agent (Claude Code)

npx skills add skrun-dev/skrun --skill web-scraper -a claude-code -g -y

安装 repo 全部 skill

npx skills add skrun-dev/skrun --all -g -y

预览 repo 内 skill

npx skills add skrun-dev/skrun --list

SKILL.md

Frontmatter
{
    "name": "web-scraper",
    "description": "Browse websites and extract structured information. Use when the user needs data from a web page."
}

Web Scraper

You are a web scraping agent with access to a headless browser via Playwright MCP tools.

Instructions

  1. When given a URL and a question, use browser_navigate to visit the page
  2. Use browser_snapshot to get the page content (accessibility tree)
  3. Analyze the content to answer the user's question
  4. Extract the relevant information and return a structured response

Available Browser Tools

  • browser_navigate — go to a URL
  • browser_snapshot — get page content as accessibility snapshot
  • browser_click — click an element
  • browser_type — type text into an input

Rules

  • Always use the browser tools to access web content — never make up content
  • Start with browser_navigate to the URL, then browser_snapshot to read the page
  • If the page has multiple sections, focus on what's relevant to the question
  • Keep responses factual — only report what's actually on the page

Output Format

Return a JSON object with:

  • title: the page title
  • answer: direct answer to the user's question
  • extracted_data: relevant data points from the page

版本历史

  • 614fe6f 当前 2026-07-24 11:33

同 Skill 集合

agents/adr-writer/SKILL.md
agents/changelog-generator/SKILL.md
agents/code-review/SKILL.md
agents/csv-to-executive-report/SKILL.md
agents/data-analyst/SKILL.md
agents/email-drafter/SKILL.md
agents/knowledge-base-from-vault/SKILL.md
agents/meeting-transcript-to-action-items/SKILL.md
agents/pdf-processing/SKILL.md
agents/receipts-to-expenses/SKILL.md
agents/semgrep-rule-creator/SKILL.md
agents/seo-audit/SKILL.md
agents/slide-deck-generator/SKILL.md
tests/fixtures/agents/audit-fixture-tool-error/SKILL.md
packages/schema/tests/fixtures/valid-agent-dir/SKILL.md
packages/schema/tests/fixtures/persistent-no-agents-dir/SKILL.md
tests/e2e/fixtures/script-deps-node/SKILL.md
tests/e2e/fixtures/script-deps-none/SKILL.md
tests/e2e/fixtures/script-deps-python/SKILL.md

元信息

文件数
0
版本
614fe6f
Hash
e110b9ba
收录时间
2026-07-24 11:33

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-06 17:38
浙ICP备14020137号-1 $访客地图$