X/Twitter CLI using OpenClaw browser tool. Use when the user wants to interact with X/Twitter: reading timeline, posting tweets, liking, retweeting, replying, or searching. Alternative to bird CLI for environments without Homebrew.
使用OpenClaw浏览器工具操作X/Twitter。bird CLI的基于浏览器的替代方案。
需要Xvfb虚拟显示器(参考spool技能的前置条件)
browser action=start profile=openclaw
browser action=open profile=openclaw targetUrl=https://x.com/login
browser action=open profile=openclaw targetUrl=https://x.com/home
browser action=snapshot profile=openclaw compact=true
可在每个article中查看作者、内容、点赞/转发/回复数。
步骤1:在首页找到文本框
browser action=open profile=openclaw targetUrl=https://x.com/home
browser action=snapshot profile=openclaw compact=true
→ 找到 textbox Post text ref
步骤2:输入内容
browser action=act profile=openclaw request={kind:click,ref:
browser action=act profile=openclaw request={kind:type,ref:
步骤3:点击Post按钮
browser action=snapshot profile=openclaw compact=true
→ 找到 button Post ref(非disabled状态)
browser action=act profile=openclaw request={kind:click,ref:
在时间线中找到article内的 button Like 或 button X Likes. Like ref:
browser action=act profile=openclaw request={kind:click,ref:
找到 button Repost 或 button X reposts. Repost ref:
browser action=act profile=openclaw request={kind:click,ref:
browser action=snapshot profile=openclaw compact=true
选择Repost选项
browser action=act profile=openclaw request={kind:click,ref:
方法1:在时间线中
browser action=act profile=openclaw request={kind:click,ref:
browser action=snapshot profile=openclaw compact=true
在回复输入框中输入文本后点击Reply按钮
方法2:在推文页面
browser action=open profile=openclaw targetUrl=https://x.com/username/status/1234567890
browser action=snapshot profile=openclaw compact=true
browser action=open profile=openclaw targetUrl=https://x.com/username
browser action=snapshot profile=openclaw compact=true
browser action=open profile=openclaw targetUrl=https://x.com/search?q=搜索词&src=typed_query
browser action=snapshot profile=openclaw compact=true
在个人资料页面找到 button Follow ref:
browser action=act profile=openclaw request={kind:click,ref:
核心要点
| 问题 | 解决方法 |
|---|---|
| 浏览器无法运行 | 检查Xvfb,确认DISPLAY=:99,重启Gateway |
| 未登录 |
| 功能 | bird CLI | chirp (浏览器) |
|---|---|---|
| 安装 | 需要brew | 只需Xvfb |
| 认证 |
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 chirp-1776374368 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 chirp-1776374368 技能
skillhub install chirp-1776374368
文件大小: 2.23 KB | 发布时间: 2026-4-17 14:41