← 返回
开发者工具 中文

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...
X/Twitter CLI,使用 OpenClaw 浏览器工具,用于阅读时间线、发布推文、点赞、转发、回复等交互。
coding-commits
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 640
下载
💾 5
安装
1
版本
#latest

概述

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":"<textbox-ref>"}
browser action=act profile=openclaw request={"kind":"type","ref":"<textbox-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":"<post-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":"<like-ref>"}

7. Retweet

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

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

8. Reply to a tweet

Method 1: From timeline

browser action=act profile=openclaw request={"kind":"click","ref":"<reply-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":"<follow-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

ProblemSolution
-------------------
Browser not workingCheck Xvfb, DISPLAY=:99, restart Gateway
Login failedNavigate to /login and log in manually
Post button disabledVerify text was entered
Rate limitWait a moment and retry
Login popup blocking pageSnapshot, find close/dismiss button ref, click it. If persistent, log in or try a direct URL instead

vs bird CLI

Featurebird CLIbrowsex (browser)
------------------------------------
InstallationRequires brewOnly Xvfb needed
AuthCookie extractionBrowser session
StabilityAPI-basedUI-dependent (may change)
SpeedFastSlightly slower

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 00:12 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,427
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,388
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,341