← 返回
未分类 中文

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...
从浏览器页面提取可读内容并转为Markdown格式。当web_fetch失败时使用(如遭遇机器人防护、需要身份验证的页面、Twitter/X、LinkedIn等),且你已...
bill492
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 571
下载
💾 2
安装
1
版本
#latest

概述

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.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 13:05 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Video Understanding

bill492
利用 Google Gemini AI 分析和总结 1000+ 个网站的视频,提供字幕、描述、摘要及问答功能。
★ 5 📥 1,534

browser-read-x

bill492
从已在浏览器中打开的页面提取主要的X/Twitter帖子或文章内容(使用浏览器act evaluate)
★ 2 📥 604

sub-agents

bill492
生成并协调子代理会话以实现并行工作。适用于任务委托(研究、代码、分析)、路由到合适的模型或管理...
★ 0 📥 645