← 返回 Skills 市场
bill492

Browser Read

作者 bill492 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
228
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install browser-read
功能描述
Extract readable content from browser pages as markdown. Use when web_fetch fails (bot protection, auth-required pages, Twitter/X, LinkedIn) and you already...
使用说明 (SKILL.md)

browser-read

Extract readable text from an already-open browser page and return markdown, suitable for pages where web_fetch is blocked or missing auth context.

When to use

  • web_fetch returned an error or empty content.
  • Page requires authentication/cookies/session state available only in the browser.
  • You need text extraction from Twitter/X or LinkedIn timelines/articles where screenshot/OCR was previously used.

When NOT to use

  • web_fetch already returns good markdown/text (faster and cheaper).
  • Purely static pages where normal fetch is sufficient.

Steps

  1. Navigate to the URL with browser navigate.
  2. Read extraction script from ~/clawd/skills/browser-read/extract.js.
  3. Run browser act with kind=evaluate and pass the script contents as fn.
  4. Script returns {title, content, excerpt, byline, siteName, length} where content is markdown.
  5. If extraction fails or returns empty content, script falls back to document.body.innerText.

Example (tool calls)

{
  "action": "navigate",
  "targetId": "...", 
  "url": "https://example.com"
}
{
  "action": "act",
  "targetId": "...",
  "kind": "evaluate",
  "fn": "(() => { ... return {title, content, excerpt, byline, siteName, length}; })()"
}

Notes

  • extract.js is a self-contained IIFE so it can be passed directly as the fn value to browser act.
  • Keep in mind this is a lightweight extractor; it intentionally strips script/style/nav/header/footer/aside/cookie/ad elements before conversion.
安全使用建议
This skill appears coherent and low-risk: it runs a JS extractor inside the browser page and returns markdown, and it does not request secrets or make network calls. Before installing, confirm that (1) the agent's file-access is limited to the skill directory (the SKILL.md references ~/clawd/skills/browser-read/extract.js), (2) you are comfortable allowing the agent to evaluate scripts in pages you open (the script can read page content, metadata, and URLs), and (3) you avoid running it on highly sensitive pages (banking, 2FA flows) or pages where extracting content violates terms. If you want extra assurance, review extract.js yourself and test it on a non-sensitive page first.
功能分析
Type: OpenClaw Skill Name: browser-read Version: 1.0.0 The browser-read skill is a utility designed to extract readable markdown content from web pages currently open in a browser, particularly useful for authenticated or bot-protected sites like LinkedIn or X (Twitter). The core logic in extract.js performs standard DOM cleaning and transformation into markdown without any evidence of data exfiltration to third parties, credential theft, or obfuscated malicious code.
能力评估
Purpose & Capability
Name/description (extract readable content from an open browser page) match the included JS and SKILL.md. No unrelated binaries or credentials are requested.
Instruction Scope
Instructions tell the agent to read the extractor from ~/clawd/skills/browser-read/extract.js and run it in the browser via browser act evaluate. Reading the skill's own file and executing it in the page context is expected for this purpose; verify the runtime will only read the skill path (not arbitrary host files) and that browser evaluate is appropriately sandboxed.
Install Mechanism
No install spec — instruction-only with one included JS file. Nothing is downloaded from external URLs and no archives are extracted.
Credentials
No environment variables, credentials, or config paths are required. The extract script only reads DOM content, metadata, and document.location (expected for content extraction).
Persistence & Privilege
Skill is not always-enabled and is user-invocable. It does not request elevated persistence or modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install browser-read
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /browser-read 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of browser-read skill for extracting readable content from open browser pages as markdown. - Designed to handle cases where web_fetch fails due to bot protection, authentication requirements, or dynamic content (e.g., Twitter/X, LinkedIn). - Provides markdown output with metadata: title, excerpt, byline, site name, and content length. - Falls back to extracting plain text from document body if primary extraction fails. - Not intended for use when web_fetch already works or on static pages.
元数据
Slug browser-read
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Browser Read 是什么?

Extract readable content from browser pages as markdown. Use when web_fetch fails (bot protection, auth-required pages, Twitter/X, LinkedIn) and you already... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 228 次。

如何安装 Browser Read?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install browser-read」即可一键安装,无需额外配置。

Browser Read 是免费的吗?

是的,Browser Read 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Browser Read 支持哪些平台?

Browser Read 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Browser Read?

由 bill492(@bill492)开发并维护,当前版本 v1.0.0。

💬 留言讨论