闲社服务运行正常AI智能体自动化平台
b

浏览器读取

技能标识: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 have the page open in the browser.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

浏览器读取

browser-read

从已打开的浏览器页面中提取可读文本并返回Markdown格式,适用于web_fetch被屏蔽或缺少认证上下文的页面。

使用场景

  • - web_fetch返回错误或空内容。
  • 页面需要仅在浏览器中可用的认证/cookie/会话状态。
  • 需要从Twitter/X或LinkedIn的时间线/文章中提取文本(此前需使用截图/OCR)。

禁止使用场景

  • - web_fetch已能返回良好的Markdown/文本(更快且成本更低)。
  • 纯静态页面,普通抓取即可满足需求。

操作步骤

  1. 1. 使用browser navigate导航至目标URL。
  2. 从~/clawd/skills/browser-read/extract.js读取提取脚本。
  3. 使用kind=evaluate运行browser act,并将脚本内容作为fn参数传入。
  4. 脚本返回{title, content, excerpt, byline, siteName, length},其中content为Markdown格式。
  5. 若提取失败或返回空内容,脚本将回退使用document.body.innerText。

示例(工具调用)

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

注意事项

  • - extract.js是一个自包含的IIFE(立即执行函数表达式),因此可直接作为fn值传递给browser act。
  • 请注意这是一个轻量级提取器;在转换前会主动剥离script/style/nav/header/footer/aside/cookie/广告等元素。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 browser-read-1776268382 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 browser-read-1776268382 技能

通过命令行安装

skillhub install browser-read-1776268382

下载

⬇ 下载 browser-read v1.0.0(免费)

文件大小: 3.23 KB | 发布时间: 2026-4-17 14:15

v1.0.0 最新 2026-4-17 14:15
- 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.
返回顶部