Back to skills
SkillHub ClubWrite Technical DocsFull StackTech Writer

x-automation

Automates the process of identifying trends on X (Twitter), generating opinionated/engaging content, and posting it. Use when asked to post to X, run X automation, or check trends for content creation.

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
3,070
Hot score
99
Updated
March 20, 2026
Overall rating
C4.5
Composite score
4.5
Best-practice grade
A92.0

Install command

npx @skill-hub/cli install openclaw-skills-x-post-automation

Repository

openclaw/skills

Skill path: skills/harshhmaniya/x-post-automation

Automates the process of identifying trends on X (Twitter), generating opinionated/engaging content, and posting it. Use when asked to post to X, run X automation, or check trends for content creation.

Open repository

Best for

Primary workflow: Write Technical Docs.

Technical facets: Full Stack, Tech Writer.

Target audience: everyone.

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: openclaw.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install x-automation into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/openclaw/skills before adding x-automation to shared team environments
  • Use x-automation for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

Original source / Raw SKILL.md

---
name: x-automation
description: Automates the process of identifying trends on X (Twitter), generating opinionated/engaging content, and posting it. Use when asked to post to X, run X automation, or check trends for content creation.
---

# 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.


---

## Skill Companion Files

> Additional files collected from the skill directory layout.

### _meta.json

```json
{
  "owner": "harshhmaniya",
  "slug": "x-post-automation",
  "displayName": "X(Twitter) Post Automation",
  "latest": {
    "version": "1.0.0",
    "publishedAt": 1770275052392,
    "commit": "https://github.com/clawdbot/skills/commit/1fd69370bc61a92277b11952f097c4a3464247c7"
  },
  "history": []
}

```

x-automation | SkillHub