xurl
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
Install via CLI (Recommended)
clawhub install openclaw/openclaw/skills/xurlWhat This Skill Does
The xurl skill provides a powerful command-line interface (CLI) for interacting with the X (formerly Twitter) API v2. It allows agents to perform a wide range of actions on the X platform, including posting tweets, replying to existing posts, quoting tweets, searching for content, reading posts, managing follower relationships, sending direct messages, and uploading media. The skill supports both convenient, human-readable shortcut commands and raw curl-style requests for accessing any X API v2 endpoint. All operations return output in JSON format.
Installation
The xurl CLI utility can be installed through several methods:
- Homebrew (macOS):
brew install --cask xdevplatform/tap/xurl - npm:
npm install -g @xdevplatform/xurl - Shell script:
This installs tocurl -fsSL https://raw.githubusercontent.com/xdevplatform/xurl/main/install.sh | bash~/.local/bin. Ensure this directory is in your system's PATH. - Go:
go install github.com/xdevplatform/xurl@latest
Before using any xurl commands, ensure you have authenticated your account. Use xurl auth status to verify your authentication state.
Use Cases
This skill is ideal for automating and managing your presence on X. Common use cases include:
- Content Posting: Automatically schedule or publish tweets, including text, media, and replies.
- Social Media Monitoring: Search for specific keywords, hashtags, or mentions and retrieve relevant posts.
- Engagement Management: Reply to posts, quote tweets with commentary, and manage follower lists.
- Direct Messaging: Send and receive direct messages programmatically.
- Media Uploads: Upload images or videos to be attached to posts.
- API Exploration: Directly interact with any X API v2 endpoint for advanced functionalities.
Example Prompts
- "Post the following tweet: 'Just learned about the new OpenClaw AI skills! So exciting for automation. #OpenClawAI'"
- "Search for tweets containing the hashtag #AI, sorted by recent, and show me the first 5 results."
- "Reply to the tweet with ID 1234567890123456789 with the message: 'Great point!'"
Tips & Limitations
- Authentication is Key: All interactions require prior authentication. Users must manually set up their credentials in
~/.xurland runxurl auth oauth2or similar commands outside the agent session. Never share or expose your credentials. - Secret Safety: Avoid using verbose flags (
--verbose,-v) or flags that expose sensitive tokens directly in agent prompts (--bearer-token,--consumer-key, etc.) as this can lead to credential leaks. The agent will automatically use the stored credentials from~/.xurl. - App Management: For managing multiple X applications or accounts, use commands like
xurl auth default <app_name>outside the agent session to set the active configuration. - Output: All commands return JSON. This is useful for programmatic processing by the agent but may require parsing for human readability if not handled carefully.
- API Limits: Be mindful of X API rate limits when performing numerous operations.
- Manual Setup: The initial app registration and authentication process must be performed by the user manually on their local machine.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-openclaw-xurl": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, external-api, code-execution
Related Skills
bear-notes
Create, search, and manage Bear notes via grizzly CLI.
mcporter
Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, and CLI/type generation.
eightctl
Control Eight Sleep pods (status, temperature, alarms, schedules).
goplaces
Query Google Places API (New) via the goplaces CLI for text search, place details, resolve, and reviews. Use for human-friendly place lookup or JSON output for scripts.
sag
ElevenLabs text-to-speech with mac-style say UX.