hive.x-automation

hive.x-automation is a skill for Claude Code, Codex from aden-hive/hive. It costs 81 tokens per session (4,177 once invoked), scanned A, original, Apache-2.0.

A skill for automating posts, replies, searches, and deletions on X, the social platform formerly known as Twitter, through browser controls.

In plain words
What is it for?
Use it for posting, replying, deleting posts, searching and engaging with posts, and following daily-reply or job-market-reply workflows.
Why use it?
It documents X-specific problems such as its rich-text editor, delayed page loading, rate limits, and occasional anti-bot checks, which can otherwise interrupt automation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for posting, replying, deleting posts, searching and engaging with posts, and following daily-reply or job-market-reply workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aden-hive/hive/x-automation
About the project

OpenHive is a runtime for groups of specialized AI agents that collaborate on long-running business processes. A persistent lead agent, called the Queen, creates and coordinates worker agents while the system manages state, recovery, observability, costs, and human oversight. The catalogue entries provide agent skills, instructions, and integrations for working with this harness.

aden-hive/hive · 11,029 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aden-hive/hive --skill x-automation
Clone the repo
git clone --depth 1 https://github.com/aden-hive/hive

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hive.x-automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/aden-hive/hive/x-automation/github.svg)](https://agentmods.dev/skills/aden-hive/hive/x-automation)
Your own site
<a href="https://agentmods.dev/skills/aden-hive/hive/x-automation"><img src="https://agentmods.dev/badge/skills/aden-hive/hive/x-automation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hive.x-automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/aden-hive/hive/x-automation"><img src="https://agentmods.dev/badge/skills/aden-hive/hive/x-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,177 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.04177
Opus 5 $0.00041 $0.02089
Sonnet 5 $0.00016 $0.00835
Haiku 4.5 $0.00008 $0.00418

Measured 11d ago against content hash 2732e9e53265, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

hive.x-automation scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

url = f"https://x.com/search?q={urllib.parse.quote(query)}&src=typed_query&f=live"
core/framework/skills/_preset_skills/x-automation/SKILL.md · 403 lines

How it starts

The opening of the file, as written. The whole thing — 403 lines — stays where its author put it; the contents beside it link to each section on GitHub.

X / Twitter Automation

X uses Draft.js (the original Facebook rich-text editor) for the compose text area, which was the original canary for all the rich-text editor quirks the browser-automation skill now documents. Most of the site is otherwise stable — data-testid attributes have held up for years, the SPA is reasonably honest about what it renders, and shadow DOM is minimal. The hard parts are the composer, rate limiting, and the occasional anti-bot challenge.

Always activate browser-automation first. This skill assumes you already know about CSS-px coordinates, click-first typing, and Input.insertText. The guidance below is X-specific.

Timing expectations

  • browser_navigate(wait_until="load") returns in 1.3–1.6 s on a warm cache.
  • After navigation, sleep(2–3) for SPA hydration before querying selectors.
  • Compose modal slide-in: ~1.5 s after clicking reply / compose.
  • First 1–2 characters typed into the compose editor may be dropped — see "Draft.js quirks" below.

Verified selectors (2026-04-11)

Target Selector
Home nav link a[data-testid='AppTabBar_Home_Link']
Explore nav link a[data-testid='AppTabBar_Explore_Link']
Notifications a[data-testid='AppTabBar_Notifications_Link']
Main search input input[data-testid='SearchBox_Search_Input']
Compose text area [data-testid='tweetTextarea_0'] (Draft.js contenteditable)
Post / Tweet submit button [data-testid='tweetButton']
Reply button (on feed / tweet detail) [data-testid='reply']
Like button [data-testid='like']
Retweet / repost button [data-testid='retweet']
Caret (⋯) menu on a post [data-testid='caret']
Confirmation sheet confirm button [data-testid='confirmationSheetConfirm']
Tweet article wrapper article[data-testid='tweet']
Close modal / composer [aria-label='Close'] or press Escape

All of these are light-DOM data-testid attributes — wait_for_selector and browser_type(selector=...) work on them directly, no shadow piercing needed.

Read the full file on GitHub · 403 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 403 lines · 81 tokens per session scan A 2732e9e53265

Subscribe to this mod's changes

hive.x-automation is a skill published in the GitHub repository aden-hive/hive (11,029 stars, last pushed 4d ago), licensed Apache-2.0. It adds 81 tokens to every session and 4,177 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

agent-browser

Headless browser automation CLI. Open, browse, interact with, and screenshot web pages. Use when: opening websites, browser-based login, web app testing, taking screenshots, UI verification.

xuiltul/animaworks · 41 tokens

playwright

Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via playwright-cli or the bundled wrapper script.

netease-youdao/LobsterAI · 45 tokens

win-computer-use

Drive a live Windows machine through the win-computer-use MCP server. Use when you need to automate a Windows desktop UI - move the mouse, click, type, take screenshots, open or close apps, run OCR, manage windows, read or write files, record the screen, or play back macros. Covers the virtual labeled cursor…

JNX03/WindownComputerUse · 123 tokens

web-validation

Comprehensive web page validation with authentication, screenshot capture, mobile testing, and enhanced error detection.

bejranonda/LLM-Autonomous-Agent-Plugin-for-Claude · 21 tokens

article-writer

Multi-style article creation skill. Supports 5 writing styles (deep analysis, practical guide, story-driven, opinion, news brief), including complete workflow: material collection → outline → content → formatting. Activated when users mention "write article", "write post", "create", or "draft".

netease-youdao/LobsterAI · 62 tokens

skin-creator

Create and apply a two-asset LobsterAI visual skin from the user's style description. Use only when the AI Skin Designer kit supplies the structured skinpack workflow marker; do not use for ordinary theme or image requests.

netease-youdao/LobsterAI · 48 tokens