Skip to content

X / Twitter Automation

Lets an agent post, reply, and search on X/Twitter through a browser using verified selectors and workarounds.

Repository
aden-hive/hive
Stars
11,132
Licence
Apache-2.0
Files
1 file

What it does

When this skill is installed, the agent follows a tested playbook for operating X (Twitter) through a browser: opening the compose box, typing text past a rich-text editor quirk, attaching images through the hidden file input, and replying to posts. It also includes a list of stable page selectors and timing guidance so the agent checks that the Post button is enabled before clicking it. It depends on another skill, browser-automation, which must be loaded first.

Great for

  • Developers building an agent that posts or replies on X and need a working reference for the page structure
  • Marketers or community managers who want an agent to draft and publish routine posts from a controlled browser session
  • People already using the Hive framework's browser-automation skill who want X-specific guidance

Skip it if

  • Anyone who wants to automate high-volume posting or mass replies: the skill itself notes rate limiting and anti-bot challenges, and automated engagement may violate X's terms and get accounts restricted.
  • Situations where selectors may have changed: the file is dated 2026-04-11 and X's markup changes, so flows may break without re-verification.
  • Tasks needing the official X API: this skill drives the website with a browser, not the API.

Try asking

  • “Post a tweet with this text and check the Post button is enabled before sending.”
  • “Reply to the top relevant posts on my home feed with a short helpful answer.”
  • “Upload this image to a new post on X and confirm the preview appears before publishing.”
  • “Search X for a keyword and list the recent posts I could engage with.”
Step-by-step guide: how to use X / Twitter AutomationInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.

    x-automation.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip x-automation.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip x-automation.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Start with a test account and a draft text, and confirm the agent verifies the preview and Post button state before any real publish.
  • Keep the browser-automation skill loaded alongside this one, since the X-specific steps depend on its coordinate and typing workflow.
  • Re-verify selectors if flows fail, because X's data-testid attributes can change without notice.

What's inside

  • SKILL.md

Redistributed unmodified from aden-hive/hive under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.

Find exactly what
you're looking for