itgoyo/hermes-skills/xitter
- community
Checking that the SKILL.md file is still in the repository.
Interact with X/Twitter via the x-cli terminal client using official X API credentials. Use for posting, reading timelines, searching tweets, liking, retweeting, bookmarks, mentions, and user lookups.
Install
npx vskill@latest install itgoyo/hermes-skills/xitterSKILL.md
The same SKILL.md was published earlier as aivrar/portable-hermes-agent/xitter.
Xitter — X/Twitter via x-cli
Use x-cli for official X/Twitter API interactions from the terminal.
This skill is for:
- posting tweets, replies, and quote tweets
- searching tweets and reading timelines
- looking up users, followers, and following
- liking and retweeting
- checking mentions and bookmarks
This skill intentionally does not vendor a separate CLI implementation into Hermes. Install and use upstream x-cli instead.
Important Cost / Access Note
X API access is not meaningfully free for most real usage. Expect to need paid or prepaid X developer access. If commands fail with permissions or quota errors, check your X developer plan first.
Install
Install upstream x-cli with uv:
Upgrade later with:
Verify:
Credentials
You need these five values from the X Developer Portal:
X_API_KEYX_API_SECRETX_BEARER_TOKENX_ACCESS_TOKENX_ACCESS_TOKEN_SECRET
Get them from:
- https://developer.x.com/en/portal/dashboard
Why does X need 5 secrets?
Unfortunately, the official X API splits auth across both app-level and user-level credentials:
X_API_KEY+X_API_SECRETidentify your appX_BEARER_TOKENis used for app-level read accessX_ACCESS_TOKEN+X_ACCESS_TOKEN_SECRETlet the CLI act as your user account for writes and authenticated actions
So yes — it is a lot of secrets for one integration, but this is the stable official API path and is still preferable to cookie/session scraping.
Setup requirements in the portal:
- Create or open your app
- In user authentication settings, set permissions to
Read and write - Generate or regenerate the access token + access token secret after enabling write permissions
- Save all five values carefully — missing any one of them will usually produce confusing auth or permission errors
Note: upstream x-cli expects the full credential set to be present, so even if you mostly care about read-only commands, it is simplest to configure all five.
Cost / Friction Reality Check
If this setup feels heavier than it should be, that is because it is. X’s official developer flow is high-friction and often paid. This skill chooses the official API path because it is more stable and maintainable than browser-cookie/session approaches.
If the user wants the least brittle long-term setup, use this skill. If they want a zero-setup or unofficial path, that is a different trade-off and not what this skill is for.
Where to Store Credentials
x-cli looks for credentials in ~/.config/x-cli/.env.
If you already keep your X credentials in ~/.hermes/.env, the cleanest setup is:
Or create a dedicated file:
Quick Verification
If reads work but writes fail, regenerate the access token after confirming Read and write permissions.
Common Commands
Tweets
Users
Self / Authenticated User
Quick Actions
Output Modes
Use structured output when the agent needs to inspect fields programmatically:
Recommended defaults:
-jfor machine-readable output-vwhen you need timestamps, metrics, or metadata- plain/default mode for quick human inspection
Agent Workflow
- Confirm
x-cliis installed - Confirm credentials are present
- Start with a read command (
user get,tweet search,me mentions) - Use
-jwhen extracting fields for later steps - Only perform write actions after confirming the target tweet/user and the user's intent
Pitfalls
- Paid API access: many failures are plan/permission problems, not code problems.
- 403 oauth1-permissions: regenerate the access token after enabling
Read and write. - Reply restrictions: X restricts many programmatic replies.
tweet quoteis often more reliable thantweet reply. - Rate limits: expect per-endpoint limits and cooldown windows.
- Credential drift: if you rotate tokens in
~/.hermes/.env, make sure~/.config/x-cli/.envstill points at the current file.
Notes
- Prefer official API workflows over cookie/session scraping.
- Use tweet URLs or IDs interchangeably —
x-cliaccepts both. - If bookmark behavior changes upstream, check the upstream README first:
https://github.com/Infatoshi/x-cli
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsocial-media/xitter/SKILL.md
Popularity
- Repository stars
- 67
- Repository forks
- 8
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/itgoyo/hermes-skills/xitter)