← 返回 Skills 市场
coding-commits

the skill to browse X

作者 William Xu · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
401
总下载
1
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install browsex
功能描述
X/Twitter CLI using OpenClaw browser tool. Use when the user wants to interact with X/Twitter: reading timeline, posting tweets, liking, retweeting, replying...
使用说明 (SKILL.md)

browsex

Manipulate X(formerly Twitter) using the OpenClaw browser tool. Browser-based alternative to bird CLI.

Prerequisites

Environment requirements

  • OpenClaw with browser tool enabled
  • openclaw browser profile
  • X/Twitter account logged in (only required for posting, liking, retweeting, replying, following)

Read-only browsing (viewing profiles, individual tweets, search) works without login. X may show login popups on unauthenticated sessions -- dismiss them or ignore.

For headless servers

Xvfb virtual display required (see spool skill's Prerequisites)

Login (only needed for write actions)

browser action=start profile=openclaw
browser action=open profile=openclaw targetUrl="https://x.com/login"
# Ask user to log in manually

Usage

Read-only (no login required)

These actions work without an X/Twitter account. X may show login modals after a few pages -- look for close/dismiss buttons in the snapshot and click them.

1. View a specific tweet

browser action=open profile=openclaw targetUrl="https://x.com/username/status/1234567890"
browser action=snapshot profile=openclaw compact=true

2. View profile

browser action=open profile=openclaw targetUrl="https://x.com/username"
browser action=snapshot profile=openclaw compact=true

3. Search

browser action=open profile=openclaw targetUrl="https://x.com/search?q=search_term&src=typed_query"
browser action=snapshot profile=openclaw compact=true

Login required

These actions require an authenticated session. Complete the login step in Prerequisites first.

4. Read timeline

browser action=open profile=openclaw targetUrl="https://x.com/home"
browser action=snapshot profile=openclaw compact=true

For each article, you can see author, content, and like/retweet/reply counts.

5. Post a tweet

Step 1: Find the textbox on home

browser action=open profile=openclaw targetUrl="https://x.com/home"
browser action=snapshot profile=openclaw compact=true

→ Find textbox "Post text" ref

Step 2: Enter content

browser action=act profile=openclaw request={"kind":"click","ref":"\x3Ctextbox-ref>"}
browser action=act profile=openclaw request={"kind":"type","ref":"\x3Ctextbox-ref>","text":"tweet content"}

Step 3: Click Post button

browser action=snapshot profile=openclaw compact=true

→ Find button "Post" ref (one that is not disabled)

browser action=act profile=openclaw request={"kind":"click","ref":"\x3Cpost-ref>"}

6. Like a tweet

From timeline, find button "Like" or button "X Likes. Like" ref within article:

browser action=act profile=openclaw request={"kind":"click","ref":"\x3Clike-ref>"}

7. Retweet

Find button "Repost" or button "X reposts. Repost" ref:

browser action=act profile=openclaw request={"kind":"click","ref":"\x3Crepost-ref>"}
browser action=snapshot profile=openclaw compact=true
# Select "Repost" option
browser action=act profile=openclaw request={"kind":"click","ref":"\x3Crepost-option-ref>"}

8. Reply to a tweet

Method 1: From timeline

browser action=act profile=openclaw request={"kind":"click","ref":"\x3Creply-button-ref>"}
browser action=snapshot profile=openclaw compact=true
# Enter text in reply input box, then click Reply button

Method 2: From tweet page

browser action=open profile=openclaw targetUrl="https://x.com/username/status/1234567890"
browser action=snapshot profile=openclaw compact=true
# Find reply input box and enter text

9. Follow

On profile page, find button "Follow" ref:

browser action=act profile=openclaw request={"kind":"click","ref":"\x3Cfollow-ref>"}

Key points

  1. Snapshot first - Check current state before any action
  2. ref changes every time - Always find fresh ref from snapshot
  3. compact=true - Save tokens
  4. article structure - Each tweet is an article element with author/content/buttons inside
  5. Confirm before posting - Get user confirmation of content

Troubleshooting

Problem Solution
Browser not working Check Xvfb, DISPLAY=:99, restart Gateway
Login failed Navigate to /login and log in manually
Post button disabled Verify text was entered
Rate limit Wait a moment and retry
Login popup blocking page Snapshot, find close/dismiss button ref, click it. If persistent, log in or try a direct URL instead

vs bird CLI

Feature bird CLI browsex (browser)
Installation Requires brew Only Xvfb needed
Auth Cookie extraction Browser session
Stability API-based UI-dependent (may change)
Speed Fast Slightly slower
安全使用建议
This skill is coherent and low-risk from a static/install perspective because it's instruction-only and asks for no extra secrets. The main operational risk is that it uses your OpenClaw browser profile (cookies/session) to perform write actions on your X account. Before installing or using it: (1) only grant it an isolated browser profile if you want to limit access to your real account; (2) require manual confirmation or disable autonomous agent actions for any write operation (posting/liking/following); (3) be aware that in headless environments Xvfb and DISPLAY settings are needed; (4) note the skill source is unknown—if you need provenance, ask the publisher for more info. If you do not want an agent to act on your logged-in X session, do not provide a logged-in profile or restrict invocation to manual only.
功能分析
Type: OpenClaw Skill Name: browsex Version: 1.0.0 The skill bundle 'browsex' is designed to interact with X/Twitter using the OpenClaw browser tool. All instructions in SKILL.md are consistent with its stated purpose of browsing, posting, liking, retweeting, replying, and following on X.com. It uses the `browser` tool with actions like `start`, `open`, `snapshot`, and `act`, targeting only `x.com` URLs. There are no indications of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts against the agent. Notably, it includes a positive security instruction to 'Confirm before posting' content.
能力评估
Purpose & Capability
Name/description match the instructions: the SKILL.md tells the agent to drive the OpenClaw browser to view or interact with X. It does not request unrelated credentials, binaries, or installs. The only implicit requirement is an OpenClaw browser profile (and Xvfb for headless servers), which is appropriate for a browser-based tool.
Instruction Scope
Instructions are narrowly scoped to opening X URLs, taking snapshots, finding element refs, clicking, typing, and similar UI interactions. They do not instruct the agent to read arbitrary files, environment variables, or send data to endpoints other than X. Write actions require an authenticated browser session and the docs explicitly advise confirming content before posting.
Install Mechanism
No install spec or code files are present (instruction-only), so nothing is downloaded or written to disk by the skill itself. This is the lowest-risk install profile.
Credentials
The skill requires a logged-in OpenClaw browser profile to perform write actions (cookies/session act as the credential). While this is proportionate to the stated functionality, it effectively grants the agent the ability to act as the logged-in user if invoked, so session/cookie exposure is the primary credential-related risk.
Persistence & Privilege
always is false (normal). The skill can be invoked autonomously by the agent (platform default). Combined with access to a logged-in browser profile, autonomous invocation could perform account actions (post/like/follow) without explicit human approval unless the agent or platform enforces confirmation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install browsex
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /browsex 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of browsex: a browser-based CLI tool to interact with X/Twitter via OpenClaw. - Supports common actions: reading timeline, viewing tweets and profiles, posting, liking, retweeting, replying, searching, and following. - Read-only browsing works without login; write actions require an authenticated X/Twitter account. - Designed for environments without Homebrew; alternative to the bird CLI. - Includes detailed usage instructions, troubleshooting tips, and a comparison with bird CLI.
元数据
Slug browsex
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

the skill to browse X 是什么?

X/Twitter CLI using OpenClaw browser tool. Use when the user wants to interact with X/Twitter: reading timeline, posting tweets, liking, retweeting, replying... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 401 次。

如何安装 the skill to browse X?

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

the skill to browse X 是免费的吗?

是的,the skill to browse X 完全免费(开源免费),可自由下载、安装和使用。

the skill to browse X 支持哪些平台?

the skill to browse X 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 the skill to browse X?

由 William Xu(@coding-commits)开发并维护,当前版本 v1.0.0。

💬 留言讨论