General 1,290 installs

web-access Skill

by eze-is/web-access

所有联网操作必须通过此 skill 处理,包括:搜索、网页抓取、登录后操作、网络交互等。 触发场景:用户要求搜索信息、查看网页内容、访问需要登录的网站、操作网页界面、抓取社交媒体内容(小红书、微博、推特等)、读取动态渲染页面、以及任何需要真实浏览器环境的网络任务。

Skill content

Unified web access skill for search, scraping, login-required operations, and real-time browser interaction.

- Supports three access methods: WebSearch for discovery, WebFetch/curl for static content, and CDP browser automation for login-protected or dynamically-rendered platforms (Xiaohongshu, WeChat, Twitter, etc.)

- Operates through user's existing Chrome/Edge browser via CDP Proxy, preserving login state without separate browser instance; all operations run in background tabs

- Includes 10+ core commands: /eval for DOM queries and JavaScript execution, /click for UI interaction, /screenshot for visual capture, /scroll for lazy-load triggering, /navigate for page transitions, and file upload support

- Emphasizes human-like browsing logic: clarify success criteria first, choose the most direct path, validate results against goals, and adjust strategy based on evidence rather than repeating failed approaches

- Supports parallel sub-agent execution for independent research targets, with shared browser instance and automatic tab cleanup

web-access Skill

前置检查

在开始联网操作前,先检查 CDP 模式可用性:

node "${CLAUDE_SKILL_DIR}/scripts/check-deps.mjs"

Node.js 22+ 必需(使用原生 WebSocket)。

按脚本输出处理:

- exit 0 → 继续

- exit 2 → 需询问用户偏好,写入 ${CLAUDE_SKILL_DIR}/config.env 的 WEB_ACCESS_BROWSER

- exit 1 → 按 stdout 错误信息处理。若提示包含「Agent 处理顺序」,按其步骤执行(如先用系统命令打开浏览器后重跑),自动可解则不打扰用户;仍失败再向用户求助

支持参数 --browser <chrome|edge> 表达本次临时覆盖(不写 config.env)。