← 返回 Skills 市场
bill492

browser-read-x

作者 bill492 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
233
总下载
2
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install browser-read-x
功能描述
Extract the main X/Twitter post or article content from a page that is already open in the browser (using browser act evaluate).
使用说明 (SKILL.md)

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_fetch is 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

  1. Navigate to the URL with browser navigate (or ensure the page is already open).
  2. Run browser act with kind="evaluate" and pass the contents of skills/browser-read-x/extract.js as fn.
  3. The script returns:
    • title
    • content (plain markdown-ish text with reduced X UI noise)
    • excerpt
    • byline
    • siteName
    • length
    • url

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).
安全使用建议
This skill runs the supplied JavaScript inside the web page's DOM context to extract the main post/article. That is consistent with its purpose, but remember: any JS you run in page context can read whatever is currently loaded in that page (including private content visible to the browser). The included extract.js appears to only traverse and prune DOM nodes and produce markdown-like text — it does not perform network calls or access environment variables — but you should: (1) review the full extract.js source before installing/running, (2) avoid invoking it on pages that contain sensitive private data you don't want read, and (3) prefer skills from known authors if you require stronger trust guarantees. If you want higher assurance, run the code in a controlled/test page first or request the full untruncated extract.js for manual review.
功能分析
Type: OpenClaw Skill Name: browser-read-x Version: 1.0.0 The skill is a specialized web scraper designed to extract clean text content from X (Twitter) posts and articles. The provided JavaScript (extract.js) performs DOM manipulation to remove UI noise (sidebars, ads, login prompts) and converts the main content into a markdown-like format, returning it to the agent without any evidence of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
Name/description match the code and instructions: the skill only includes a DOM-extraction script (extract.js) and SKILL.md describing how to run it via browser act evaluate. No unrelated credentials, binaries, or installs are requested.
Instruction Scope
SKILL.md instructs the agent to run the bundled JS via browser act evaluate against a page already open in the browser. The instructions reference only the included extract.js and standard browser actions; they do not ask the agent to read unrelated files, environment variables, or send data to external endpoints.
Install Mechanism
No install spec is present (instruction-only with one included script). Nothing is downloaded or written to disk by an installer, and the file contents are provided directly in the skill bundle.
Credentials
The skill declares no required environment variables, credentials, or config paths. The script operates on DOM content only and does not reference process env or secret tokens.
Persistence & Privilege
Skill is not always:true and does not request elevated platform privileges or modify other skills or system config. It can be invoked autonomously (platform default), which is expected for a user-invocable skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install browser-read-x
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /browser-read-x 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release: Extracts the main X/Twitter post or article content from an already open browser page. - Filters out UI chrome such as sidebars, login prompts, reaction counts, and promotional blocks. - Returns cleaned content fields: title, content (plain markdown-ish), excerpt, byline, siteName, length, and url. - Designed for use when web_fetch is blocked or too noisy, especially on X/Twitter. - Works by running a provided JS script via browser act evaluate.
元数据
Slug browser-read-x
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

browser-read-x 是什么?

Extract the main X/Twitter post or article content from a page that is already open in the browser (using browser act evaluate). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 233 次。

如何安装 browser-read-x?

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

browser-read-x 是免费的吗?

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

browser-read-x 支持哪些平台?

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

谁开发了 browser-read-x?

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

💬 留言讨论