浏览器读取X
browser-read-x
by bill492
Extract the main X/Twitter post or article content from a page that is already open in the browser (using browser act evaluate).
安装
claude skill add --url github.com/openclaw/skills/tree/main/skills/bill492/browser-read-x文档
browser-read-x
Site-specific extractor for X/Twitter. It is tuned to return the central post/article content while filtering UI chrome such as sidebars, trends, login/signup prompts, reaction metrics, and article footer/promotional blocks.
Use case
web_fetchis noisy or blocked (auth-required/public X/X-protected pages).- You need tweet/article text from an already-open X page in browser.
- You specifically want the main status/article body, not sidebar or CTAs.
How to use
- Navigate to the URL with
browser navigate(or ensure the page is already open). - Run
browser actwithkind="evaluate"and pass the contents ofskills/browser-read-x/extract.jsasfn. - The script returns:
titlecontent(plain markdown-ish text with reduced X UI noise)excerptbylinesiteNamelengthurl
Example
{
"action": "act",
"kind": "evaluate",
"targetId": "...",
"fn": "(() => { ... })()"
}
Notes
- Self-contained and safe to pass directly as JS to
browser act. - The script prefers the specific status/article node on X and falls back to generic article/main selection if that fails.
- For non-X pages it still behaves similarly to the generic extractor (best-effort cleanup + markdownish text conversion).
相关 MCP 服务
Puppeteer 浏览器控制
编辑精选by Anthropic
Puppeteer 是让 Claude 自动操作浏览器进行网页抓取和测试的 MCP 服务器。
✎ 这个服务器解决了手动编写 Puppeteer 脚本的繁琐问题,适合需要自动化网页交互的开发者,比如抓取动态内容或做端到端测试。不过,作为参考实现,它可能缺少生产级的安全防护,建议在可控环境中使用。
网页抓取
编辑精选by Anthropic
Fetch 是 MCP 官方参考服务器,让 AI 能抓取网页并转为 Markdown 格式。
✎ 这个服务器解决了 AI 直接处理网页内容时格式混乱的问题,适合需要让 Claude 分析在线文档或新闻的开发者。不过作为参考实现,它缺乏生产级的安全配置,你得自己处理反爬虫和隐私风险。
Brave 搜索
编辑精选by Anthropic
Brave Search 是让 Claude 直接调用 Brave 搜索 API 获取实时网络信息的 MCP 服务器。
✎ 如果你想让 AI 助手帮你搜索最新资讯或技术文档,这个工具能绕过传统搜索的限制,直接返回结构化数据。特别适合需要实时信息的开发者,比如查 API 更新或竞品动态。不过它依赖 Brave 的 API 配额,高频使用可能受限。