返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
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
安全检测
已通过
195
下载量
0
收藏
概述
安装方式
版本历史

browser-read

# 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) ```json { "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.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

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

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

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

通过命令行安装

skillhub install browser-read-1776268382

下载 Zip 包

⬇ 下载 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.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部