xurl
What it does
It guides an AI agent through the xurl command for X, the social network, including posts, replies, searches, and direct messages. It is for people who want an agent to help manage their X account.
When to use it
- ✓When you want to publish a post or reply to one on X.
- ✓When you need to search X or read a particular post.
- ✓When you want to upload an image or video with a post.
Skill link
https://github.com/openclaw/openclaw/blob/main/skills/xurl/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Post this announcement on X with the product image attached.”
5 new skills a week. 1 minute to read.
How it works
The skill uses the xurl command with the account you are signed in with. It runs shortcut commands for common actions, and it can make raw API calls for anything else.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
xurl
Use xurl for X API work. Shortcut commands return JSON; raw mode works for any v2 endpoint.
Auth
~/.xurlholds tokens; check auth withxurl auth statusinstead of reading it.- Pass secrets to auth commands through the prompt, not inline, so they stay out of shell history.
--verboseprints auth headers into tool output.
Common shortcuts
xurl post "Hello world!"
xurl reply POST_ID "Nice."
xurl quote POST_ID "My take"
xurl delete POST_ID
xurl read POST_ID
xurl search "query" -n 20
xurl whoami
xurl user @handle
xurl timeline -n 20
xurl mentions -n 10
xurl like POST_ID
xurl unlike POST_ID
xurl repost POST_ID
xurl unrepost POST_ID
xurl bookmark POST_ID
xurl unbookmark POST_ID
xurl followers -n 20
xurl following -n 20
xurl follow @handle
xurl unfollow @handle
xurl block @handle
xurl unblock @handle
xurl mute @handle
xurl unmute @handle
xurl dm @handle "message"
xurl dms -n 10
POST_ID can be a full https://x.com/<user>/status/<id> URL.
Media
xurl media upload image.jpg
xurl media upload clip.mp4
xurl media status MEDIA_ID
xurl post "caption" --media-id MEDIA_ID
Videos may need processing; poll media status.
Auth/app management
xurl auth status
xurl auth apps list
xurl auth default
xurl auth default APP_NAME USERNAME
xurl auth apps remove APP_NAME
Per request:
xurl --app APP_NAME /2/users/me
xurl --auth oauth2 /2/users/me
Raw API
xurl /2/users/me
xurl -X POST /2/tweets -d '{"text":"Hello world!"}'
xurl '/2/tweets/search/recent?query=openclaw&max_results=10'
Use raw mode when shortcuts do not cover the endpoint. Keep payloads in temp files for complex JSON.
Output and errors
- JSON stdout on success.
- Non-zero exit on API/auth/network errors.
- 401/403: auth, scope, or app mismatch; check
xurl auth status. - 429: rate limited; back off.
- Media upload failures: check file type/size and media processing status.
FAQ
Where are my X login tokens kept?
They are stored in a file in your home folder, and the skill checks the auth status instead of reading that file.
Will it print my login details?
The verbose option can print auth headers, so avoid it when you share results.
Can it handle videos?
Yes. Videos may need processing time, and the skill checks the media status until it is ready.
Details
Original description by the author
xurl CLI for authenticated X posts, replies, reads/search, DMs, media upload, followers, auth status, or raw v2 API calls.
repo: openclaw/openclaw
Popularity
- GitHub stars
- 394k
- Ranking position
- #90
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
discord-user-post
394kLets your agent post a message you have approved to Discord as you, through the Discord desktop app, after confirming the exact channel.
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
Similar skills
connections-optimizer
280kImproves your social network connections. It suggests who to follow or unfollow and helps create personalized messages to expand your network.
content-engine
280kCreates content for different platforms. It helps produce posts, scripts, and content calendars that work well on networks like X, LinkedIn, and YouTube.
crosspost
280kDistributes content across multiple social networks, adapting it for each. It's useful for reaching more people on different platforms.