x-automation
自动识别 X (Twitter) 上的趋势、生成固执己见/引人入胜的内容并将其发布的过程。当被要求发布到 X、运行 X 自动化或检查内容创建趋势时使用。
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~harshhmaniya-x-post-automationcURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~harshhmaniya-x-post-automation/file -o harshhmaniya-x-post-automation.md# X (Twitter) Automation Skill
This skill provides a structured workflow for generating and posting high-engagement content on X.
## Workflow
1. **Context Gathering**:
- Use `browser(profile="chrome")` to visit `https://x.com/home`.
- Scroll for ~30 seconds to absorb the timeline's "vibe" and current discourse.
2. **Trend Identification**:
- Navigate to `https://x.com/explore/`.
- Identify 5 distinct trending topics from the main list.
3. **Trend Analysis (Deep Dive)**:
- For each trend, search: `https://x.com/search?q={trend}&src=trend_click&vertical=trends`.
- Read the **Top 5 tweets** per trend.
4. **Content Generation**:
- Generate **3 candidate tweets**.
- **Constraint**: Opinions are encouraged! Be bold, witty, or opinionated to drive engagement.
- Include relevant hashtags but keep them minimal (1-2).
5. **Logging & Selection**:
- Write candidates to `memory/x-daily-candidates.log`.
- Select the best one based on viral potential and alignment with the current timeline vibe.
6. **Publication**:
- Navigate to `https://x.com/compose/post`.
- Type the selected text and click "Post".
7. **Notification**:
- Notify the user via the primary channel (Telegram/Webchat) of success or failure.
- Include the best draft in case of failure.
## Troubleshooting
- **Browser Relay**: Ensure a tab is connected in Chrome via the OpenClaw extension.
- **Failure Logging**: Always log errors to `memory/x-automation-logs.md`.
## Content Style Guide
- **Concise**: Keep it punchy.
- **Opinionated**: Don't just report facts; give a "hot take".
- **Engaging**: Use questions or strong statements to prompt replies.
---
## 中文说明
# X (Twitter) Automation Skill
此技能提供了一个结构化的工作流程,用于在 X 上生成并发布高互动内容。
## 工作流程
1. **收集上下文**:
- 使用 `browser(profile="chrome")` 访问 `https://x.com/home`。
- 滚动约 30 秒,以感受时间线的"氛围"和当前的讨论话题。
2. **识别趋势**:
- 导航至 `https://x.com/explore/`。
- 从主列表中识别出 5 个不同的趋势话题。
3. **趋势分析(深入研究)**:
- 对每个趋势,搜索:`https://x.com/search?q={trend}&src=trend_click&vertical=trends`。
- 阅读每个趋势的**前 5 条推文**。
4. **内容生成**:
- 生成**3 条候选推文**。
- **约束条件**:鼓励表达观点!要大胆、机智或有主见,以提升互动。
- 包含相关的话题标签,但保持精简(1-2 个)。
5. **记录与选择**:
- 将候选推文写入 `memory/x-daily-candidates.log`。
- 根据传播潜力以及与当前时间线氛围的契合度选出最佳的一条。
6. **发布**:
- 导航至 `https://x.com/compose/post`。
- 输入所选文本并点击 "Post"。
7. **通知**:
- 通过主渠道(Telegram/Webchat)通知用户成功或失败。
- 在失败时附上最佳草稿。
## 故障排查
- **浏览器中继**:确保已通过 OpenClaw 扩展在 Chrome 中连接了一个标签页。
- **失败日志记录**:始终将错误记录到 `memory/x-automation-logs.md`。
## 内容风格指南
- **简洁**:保持简短有力。
- **有主见**:不要只是陈述事实;给出一个"犀利观点"。
- **引人互动**:使用问句或有力的陈述来引导回复。