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