Guide · Agent skill
How to use the Twitter/X Management Expert agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The Twitter/X Management Expert skill (twitter-hand-skill) is a reference guide that teaches an AI agent how to run a Twitter/X account. It covers the Twitter API v2 calls for posting, replying, liking, deleting, reading mentions, searching and checking metrics, along with a content plan and an engagement playbook. This guide explains what the skill does, how to install it, how to ask for work in plain language, and what you need to set up before it can act on a real account.
Quick start
- 1Download and unzip. Download the skill ZIP from this page and unzip it so the folder contains HAND.toml and SKILL.md.
- 2Place the folder. Move the folder to ~/.claude/skills/ for personal use, or to .claude/skills/ inside a project. Alternatively, upload the ZIP under Settings → Capabilities → Skills in the Claude apps.
- 3Get API access. Create a Twitter/X developer account and obtain API access and a bearer token.
- 4Set the environment variable. Set TWITTER_BEARER_TOKEN in the environment the agent runs in so it can authenticate requests.
- 5Configure user credentials. Set up User-context OAuth 1.0a credentials separately for actions taken as your account, since the skill does not configure them.
- 6Ask for a draft. Describe the task in plain language, such as planning posts or drafting replies, and ask for drafts to review.
What the skill makes the agent do
A skill is a folder of instructions that an AI agent reads when a task matches it. This one is prompt-only: it contains knowledge and examples, not programs. Its SKILL.md file gives the agent a Twitter API v2 reference with ready-made curl commands, a content strategy framework, tweet writing rules, hashtag guidance, and rules for replying to mentions.
Once installed, the agent can draft posts, plan a week of content and work out how to carry out account tasks. Acting on the account still depends on the agent having access to a Twitter API token.
- Content pillars: 3-5 core topics that all posts revolve around
- A weekly mix of seven post types, such as hot takes, threads, tips and questions
- Suggested posting times by day, adjustable to your audience's timezone
- Hook and thread writing rules, and a 280-character limit reminder
- Hashtag guidance: 0-2 per tweet, and none in threads except possibly tweet 1
- A playbook for replying to mentions, including reply templates and when not to engage
Install the skill from the ZIP download
Download the ZIP for this skill from this page and unzip it. The skill folder contains two files: HAND.toml and SKILL.md. Place the unzipped folder in one of these locations, depending on how you want to use it:
- Personal use across projects: ~/.claude/skills/
- A single project: the .claude/skills/ folder inside that project
- Claude apps: upload the ZIP under Settings → Capabilities → Skills
Set up the credentials the skill needs
The skill calls the Twitter API, so the agent needs a Twitter/X developer account with API access. The file expects your bearer token to be available as the environment variable TWITTER_BEARER_TOKEN. The agent also needs curl or another HTTP client to make requests.
Actions performed as your user, such as posting, deleting and liking, need User-context OAuth 1.0a credentials. The skill mentions these but does not set them up for you, so you will need to configure them separately.
- Twitter/X developer account and API access
- TWITTER_BEARER_TOKEN environment variable
- curl or another HTTP client the agent can run
- User-context OAuth 1.0a credentials for user actions (not configured by the skill)
export TWITTER_BEARER_TOKEN="your_token_here"Trigger the skill with natural requests
You do not need special syntax. Describe the task in plain language that matches what the skill covers, such as planning posts, drafting a thread, or answering mentions. The agent will use the skill's reference and rules when the request fits.
Ask for a draft first. The skill has no approval step, so review any text before it is published.
- Draft a week of posts for my pillars: AI tools, startup building and engineering culture.
- Write a thread about what I learned launching my product, using the thread structure from the skill.
- Check my last 10 mentions and draft replies I can review before posting.
- Look up the metrics for these three tweet IDs and tell me which performed best.
- Suggest a posting schedule for next week based on the suggested times.
Safety notes: scripts and network access
The skill runs no scripts. It is made of instructions and curl examples, and it does use the network: every API call goes to api.twitter.com using your token. Posts, replies, likes and deletions are public actions on your account and are hard to reverse.
The skill does not cover Twitter/X platform policy or spam limits. Automated engagement can break platform rules or harm your reputation, so check the rules yourself before letting an agent like or reply at volume.
- Review every draft before it is posted, liked or deleted
- Use a token with only the access you need
- Check the endpoints and rate limits against current Twitter/X documentation, since the file may be out of date
- Never auto-like controversial or political content, per the skill's own rules
Tips for getting useful results
The skill is most useful when you give it context about your audience and goals. The reference is general, so the more specific your pillars, voice and examples, the better the drafts. Use the rate-limit headers the skill describes to avoid hitting limits during batch work.
- Name your 3-5 pillars and rough percentages before asking for a calendar
- Give a sample of your own posts so the agent can match your voice
- Ask for reply templates adapted to each mention rather than copying one template
- Track results with the metrics endpoint: like_count, reply_count, impression_count and similar fields
What people use it for
- Drafting a weekly posting plan built on your content pillars and post-type mix
- Writing a thread from your notes using the hook and thread structure
- Drafting replies to recent mentions for you to review and post
- Pulling engagement metrics for recent tweets to see which posts performed best
- Building a script or workflow that calls the Twitter API v2 endpoints, using the included examples as a starting point
Frequently asked questions
Is the Twitter/X Management Expert skill free to use?
The skill is published under the Apache-2.0 licence, as listed on this page. Using it with the Twitter API requires your own Twitter/X developer account and API access, and the skill does not state any costs for that.
What does the skill need to work?
It needs a Twitter/X developer account with API access, the TWITTER_BEARER_TOKEN environment variable, and curl or another HTTP client the agent can use. User actions also need OAuth 1.0a credentials, which the skill mentions but does not set up.
Can the agent post to my account automatically?
Only if it has the required credentials and you ask it to. The skill has no approval step, so review drafts before they go live. Posts, deletions and likes are public and hard to undo.
How do I install a skill in Claude?
Download the ZIP, unzip it, and place the folder in ~/.claude/skills/ or a project's .claude/skills/ folder. In the Claude apps, you can instead upload the ZIP under Settings → Capabilities → Skills.
Why isn't my Twitter/X skill posting or replying?
Check that TWITTER_BEARER_TOKEN is set in the agent's environment and that your developer account has the access you need. User actions also require OAuth 1.0a user credentials, which the skill does not configure. Watch the x-rate-limit headers if requests start failing.
How does this compare to other Twitter/X automation tools?
This skill is a knowledge reference for an AI agent, not a scheduling app or dashboard. It does not include a scheduler, a dashboard or a platform policy guide, so you would need to provide those yourself or choose a different tool if you need them.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
Choose this skill if you want an AI agent to draft a consistent posting plan, threads and mention replies, or if you are building Twitter/X workflows and want working API call examples. Pick something else if you need automatic posting without review, guidance on platform rules, or guaranteed up-to-date API limits.
Download the skill