Token导航 LogoToken导航

Agent Skill · 研究检索

crawler(crawler 命令行)

crawler 用于处理浏览器自动化、网页检查和页面信息提取,适合在 Codex、Claude、Cursor、Gemini CLI 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

crawler 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 44,297。

总安装 924周安装 37GitHub Stars 3下载 299核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:crawler(crawler 命令行)
来源仓库:https://github.com/alpoxdev/hypercore
仓库路径:skills/crawler
安装命令:
npx skills add https://github.com/alpoxdev/hypercore --skill crawler
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alpoxdev/hypercore --skill crawler

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

crawler 实现浏览器自动化与网页内容提取,支持 CDP 证据捕获与 API 逆向工程。适用于构建可复用的爬取流程、站点结构分析或前端接口探测任务。使用 .hypercore/crawler/<ACTION>.json 持久化中间状态,支持断点续爬。非一次性页面点击类操作,需明确交付物为可运行爬虫代码而非临时结果。

crawler 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/crawler

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/alpoxdev/hypercore --skill crawler;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

crawler 怎么安装?

在终端执行 npx skills add https://github.com/alpoxdev/hypercore --skill crawler。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

crawler 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

crawler 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

crawler 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

crawler 用的人多吗?

公开数据是累计安装 924 次,近一周安装 37 次,下载 299 次,GitHub 3 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

crawler 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
crawler

crawler 命令行 · 本页

9243操作浏览器未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Crawler Skill

Playwriter exploration -> CDP evidence capture -> Documentation -> Code generation

Use crawler when the user wants a reusable crawling flow, site extraction plan, API reverse engineering for crawling, or analysis-backed crawler code.

For resumable or multi-step crawl work, treat .hypercore/crawler/<ACTION>.json as the durable context file that preserves intent, current state, evidence pointers, and the next step.

Do not use crawler for generic browser automation, one-off page clicking, or document rewriting with no crawl deliverable.

For quick one-off extraction with no reusable crawler, keep the work lightweight and avoid forcing the full artifact set unless the request expands into crawl design.

Templates: document-templates.md · code-templates.md Checklists: pre-crawl-checklist.md · anti-bot-checklist.md References: playwriter-commands.md · cdp-capture.md · crawling-patterns.md · selector-strategies.md · network-crawling.md · action-manifest.md


<trigger_examples>

Positive examples:

  • "Scrape product cards from this shop, inspect the API first, then generate a crawler."
  • "Figure out how this logged-in dashboard loads data and document the cookies and headers."
  • "Analyze this Cloudflare-protected site and recommend the safest crawl approach."

Negative examples:

  • "Open this site and click through the signup flow."
  • "Rewrite this crawl runbook for readability."

Boundary example:

  • "Grab three prices from this public page right now." Prefer lightweight extraction unless the user asks for a reusable crawler or site-wide strategy.

</trigger_examples>


<trigger_conditions>

TriggerAction
Reusable crawling, scraping, or site-wide extractionRun immediately
Site investigation or API reverse engineering for crawlingStart discovery and API interception
One-off extraction from a single pageTreat as a boundary case and keep the workflow lightweight unless reusable crawl work is requested
Anti-bot bypass or Cloudflare-heavy targetStart with risk checks and Anti-Detect guidance

</trigger_conditions>


<support_file_routing>

Read support files in this order:

  1. Start with pre-crawl-checklist.md before making crawl or code decisions.
  2. Use playwriter-commands.md when you need session control, page interaction, visual inspection, or selector validation.
  3. Use cdp-capture.md when you need structured network, cookie, token, storage, or rate-limit evidence with lower token cost.
  4. Use network-crawling.md when turning Playwriter/CDP evidence into API.md, NETWORK.md, and raw evidence files.
  5. Use selector-strategies.md when DOM extraction is still on the table.
  6. Use crawling-patterns.md when pagination, authentication, lazy loading, or retries shape the approach.
  7. Use anti-bot-checklist.md when the target shows blocks, CAPTCHA, Cloudflare, or explicit anti-detect requirements.
  8. Use action-manifest.md when the run needs a durable state file under .hypercore/crawler/<ACTION>.json.
  9. Use document-templates.md when writing .hypercore/crawler/[site]/ artifacts.
  10. Use code-templates.md only after the method is chosen and the discovery evidence is documented.

</support_file_routing>


<mandatory_reasoning>

Mandatory Sequential Thinking

  • Always use the sequential-thinking tool before starting crawl design, extraction strategy, or code generation decisions.
  • Run sequential-thinking for each major phase: discovery, method selection, and implementation planning.
  • If sequential-thinking is unavailable, stop and report the blocker instead of continuing without structured reasoning.

</mandatory_reasoning>


<execution_defaults>

  • Do discovery before code generation, selector lock-in, or auth assumptions.
  • Use Playwriter to reproduce the user-visible flow, then prefer CDP for structured network/auth evidence capture.
  • Prefer an API-backed crawler when CDP or fallback browser-network evidence shows a stable endpoint and manageable auth.
  • Keep large DOM or accessibility snapshots rare; use them for structure checks and selector validation, not as the default capture surface.
  • If CDP attach fails, document the limitation in ANALYSIS.md and use Playwriter interception only when the fallback evidence is still sufficient.
  • Stop and report blockers when legal constraints, repeated 403/429/503, CAPTCHA, or strong anti-bot signals make automation unsafe.
  • Do not promise CRAWLER.ts until the method, auth material, and rate-limit posture are documented.

</execution_defaults>


PhaseTaskCommand/Method
1. SessionCreate session + open pageplaywriter session new
2. ExploreReproduce the page flow with PlaywriteraccessibilitySnapshot, screenshotWithAccessibilityLabels
3. CaptureAttach CDP and collect network/auth evidenceNetwork.*, Storage.*, Runtime.evaluate
4. AnalyzeDecide API-first vs DOM-firstnetwork-crawling.md, selector-strategies.md
5. DocumentSave findings under .hypercore/crawler/[site]/Write
6. CodeGenerate crawler implementationcode-templates.md

<method_selection>

ConditionMethodNotes
API found via CDP or fallback browser-network evidence + simple authfetchFastest
API + cookie/token requiredfetch + CookieRequires expiry handling
Strong bot detectionNstbrowserAnti-Detect
No API (SSR)Playwright DOMParse directly

</method_selection>


<output_structure>

.hypercore/crawler/<ACTION>.json

  • ACTION.json preserves intent, current status, capture mode, blockers, output pointers, and the next step.
  • .hypercore/crawler/[site-name]/ preserves detailed evidence, analysis, and generated code for that site.
.hypercore/crawler/
├── <ACTION>.json              # durable action context
└── [site-name]/
    ├── ANALYSIS.md
    ├── SELECTORS.md
    ├── API.md
    ├── NETWORK.md
    ├── raw/
    │   ├── network-summary.json
    │   ├── auth-signals.json
    │   └── endpoint-candidates.json
    └── CRAWLER.ts

Site artifact contract:

.hypercore/crawler/[site-name]/
├── ANALYSIS.md      # Site structure
├── SELECTORS.md     # DOM selectors
├── API.md           # API endpoints
├── NETWORK.md       # Auth/network details
├── raw/
│   ├── network-summary.json      # normalized request/response evidence
│   ├── auth-signals.json         # cookies/storage/header evidence
│   └── endpoint-candidates.json  # deduped API candidates
└── CRAWLER.ts       # Generated crawler code

Minimum artifact contract:

  • .hypercore/crawler/<ACTION>.json is required for reusable, blocked, or resumable crawl work.
  • ANALYSIS.md is always required for reusable crawl work.
  • SELECTORS.md is required when DOM extraction is used or kept as a fallback path.
  • API.md is required when API discovery was attempted; document discovered endpoints or the absence of a usable API.
  • NETWORK.md is required when cookies, tokens, headers, rate limits, or bot-detection signals affect the method.
  • raw/network-summary.json, raw/auth-signals.json, and raw/endpoint-candidates.json are recommended when CDP capture is available, and should back the human-readable docs instead of replacing them.
  • CRAWLER.ts is required only after discovery evidence is written and the chosen method is justified.

Starter interaction commands live in playwriter-commands.md. CDP evidence capture lives in cdp-capture.md. Durable action-state rules live in action-manifest.md. Keep the core focused on method choice, output gates, and stop conditions.

Templates: document-templates.md

</output_structure>


<blocked_outcomes>

For blocked or unsafe runs:

  • write ANALYSIS.md with the blocker, the evidence that triggered the stop, and the safest next step
  • write NETWORK.md when auth signals, block responses, or anti-bot findings affected the decision
  • write any available raw evidence files even when the run is blocked, so the stop is auditable
  • update ACTION.json so status, capture_mode, blockers, and output pointers match the blocked state
  • omit CRAWLER.ts until the blocker is resolved or the method becomes safe to automate

</blocked_outcomes>


✅ Playwriter session created
✅ `ACTION.json` created when the run is reusable, blocked, or resumable
✅ Structure analyzed with limited Playwriter snapshots
✅ CDP capture attempted for network/auth evidence
✅ raw evidence files recorded when CDP capture is available, or the fallback limitation documented when it is not
✅ Selector extraction validated
✅ Findings documented under .hypercore/crawler/
✅ Crawler code generated
✅ sequential-thinking trace recorded for major phases
✅ legal, rate-limit, and bot-detection blockers documented before scaling
✅ blocked runs reported explicitly when crawler code is unsafe or premature
✅ `ACTION.json` status and `site_dir` match the actual run outputs
✅ completed runs leave `ACTION.json.next_step` empty or terminal and point outputs at final files

CategoryForbidden
AnalysisGuess selectors without structure analysis
ApproachUse DOM-only flow without checking APIs
DocumentationSkip documenting analysis results
NetworkIgnore rate limiting

# User: /crawler crawl products from https://shop.example.com

# 1. Create durable action context
# .hypercore/crawler/extract-products.json

# 2. Session
playwriter session new  # => 1
playwriter -s 1 -e "state.page = await context.newPage(); await state.page.goto('https://shop.example.com/products')"

# 3. Structure analysis
playwriter -s 1 -e "console.log(await accessibilitySnapshot({ page: state.page }))"
# => list "Products" [ref=e5]: listitem [ref=e6]: link "Product A" [ref=e7]

# 4. CDP capture
playwriter -s 1 -e $'
const client = await state.page.context().newCDPSession(state.page);
await client.send("Network.enable");
state.cdpHits = [];
client.on("Network.responseReceived", (event) => {
  if (event.response.url.includes("/api/")) state.cdpHits.push(event.response.url);
});
'
playwriter -s 1 -e "await state.page.evaluate(() => window.scrollTo(0, 9999))"
playwriter -s 1 -e "console.log(state.cdpHits)"
# => ["/api/products?page=2"]

# 5. Update extract-products.json -> status=running, capture_mode=cdp
# 6. Documentation -> .hypercore/crawler/shop-example-com/ + raw/network-summary.json
# 7. Generate API-based crawler

平台分布

Codex

37.08%
按下载量换算111

Claude

27.7%
按下载量换算83

Cursor

18.6%
按下载量换算56

Gemini CLI

9.96%
按下载量换算30

安全审计

Gen Agent Trust Hub

可疑

Socket

未通过

Snyk

未通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills