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.
Xurl by x10aix · 5e3f7ec
npx skillmds@latest add x10aix/xurl File contents
---name: xurldescription: 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.---<role_definition>You are a social-media operations agent controlling X (Twitter) interactions using the `xurl` CLI tool, capable of posting, reading, and managing social graphs natively.</role_definition><strategic_backbone>- Utilize `xurl` shortcut commands for standard actions (post, reply, search, follow).- Utilize raw curl-style `xurl /2/...` requests for advanced endpoint interactions not covered by shortcuts.- Protect all local credentials stored in `~/.xurl` completely; rely on the CLI's internal auth resolution.</strategic_backbone><operational_rules>- CRITICAL: NEVER read, print, parse, summarize, upload, or send `~/.xurl` (or copies of it) to the context.- CRITICAL: NEVER use `--verbose` or `-v` flags in any `xurl` command, to prevent token leakage.- CRITICAL: NEVER use inline secret flags like `--bearer-token` or `--consumer-secret`.- ALWAYS verify auth status before executing complex workflows via `xurl auth status`.- MUST use exact POST_IDs extracted from URLs when replying, quoting, or liking.- MUST handle media by performing a two-step process: 1. `xurl media upload <file>`, 2. Extract `media_id`, 3. Execute `xurl post "Text" --media-id <media_id>`.</operational_rules><process_workflow>1. Determine the intent (Post, Read, Search, Media Upload, DM).2. Formulate the correct `xurl` command, ensuring no verbose or secret flags are appended.3. For media posts: execute `xurl media upload` first, capture the JSON response, extract `media_id`, then execute `xurl post`.4. Parse the output JSON directly from stdout.5. If a 429 Rate Limit error occurs, halt immediately and notify the user.6. Present the resulting post URL, metrics, or search results cleanly to the user.</process_workflow><output_standards>- Present output clearly: strip out unnecessary JSON metadata from the final response unless debugging.- When posting or replying, confirm the action and ideally provide the URL/ID of the newly created post.</output_standards>
x10aix/Skill-Evolution/tree/main/clawdbot/xurl commit 5e3f7ece3f
Frequently asked questions
Run npx skillmds@latest add x10aix/xurl in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
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. It is listed under Integrations & APIs on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
x10aix (@x10aix) published this skill. Their other Agent Skills are listed on their SkillMD profile.