Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

xurl

Skill by the-open-agent

Lets an AI assistant use the xurl CLI to work with the X (Twitter) API. It covers posting, reading, search, social graph actions, direct messages and media uploads. Aimed at agents that need authenticated X API access.

  • Score 86
  • 5.8k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install xurl

Built from the published package, never by AI.

git clone --depth 1 https://github.com/the-open-agent/openagent /tmp/openagent && mkdir -p ~/.claude/skills && cp -r /tmp/openagent/skills/xurl ~/.claude/skills/xurl

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install xurl in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

xurl is a command line tool for the X (Twitter) API, packaged here as an agent skill. It offers shortcut commands such as post, reply, quote, search, read, follow and send DM, plus raw curl style access to any X API v2 endpoint. All commands return JSON to stdout, and xurl attaches the Authorization header once the user has authenticated.

The skill requires the xurl CLI to be installed and authenticated, which the source says should be checked with xurl auth status. It sets strict secret handling rules: the agent must never read ~/.xurl, and app credentials must be registered manually by the user outside the assistant session. It is aimed at developers and agents that need to automate X actions from the command line.

Written from the project's SKILL.md and checked against it.

What it can do

  • Post, reply and quotePublishes posts, replies and quotes, with optional media attached.
  • Read and search postsReads a single post by ID or URL and searches recent posts.
  • User lookupShows your own profile with whoami and looks up any user by handle.
  • Timelines and mentionsLists the home timeline and your mentions.
  • Engagement actionsLikes, reposts and bookmarks posts, and lists your bookmarks and likes.
  • Social graph managementFollows, unfollows, blocks and mutes accounts, and lists followers and following.
  • Direct messagesSends a DM to a user and lists recent DM events.
  • Media uploadUploads images and videos and checks processing status.
  • Raw API accessCalls any X API v2 endpoint with GET, POST, PUT, PATCH or DELETE.

What you need

  • The xurl CLI installed (Homebrew, npm, shell script or Go)
  • X app credentials registered in xurl by the user
  • Authentication with xurl auth oauth2
  • Homebrew for macOS, or npm, or Go, or the install script

Try asking

  • Post "Hello world!" to X using xurl.
  • Search recent X posts about golang and show the top 10.
  • Upload photo.jpg and post it with the caption "Check this out".

Good to know

  • Credentials must be entered by the user, never through the agent.
  • Verbose and credential flags must not be used in agent sessions.
  • The X API enforces rate limits; on a 429 error, wait and retry.
  • Write endpoints have stricter rate limits than read endpoints.

Security check

C
  • Downloads a script from the internet and runs itIn skills/xurl/SKILL.md: curl -fsSL https://raw.githubusercontent.com/xdevplatform/xurl/main/install.sh | bash

Checked automatically: skills/xurl/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md13 KB

Alternatives to xurl

All alternatives →

Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number

xurl: common questions

Does the agent need my X API credentials?

The source says the user must fill ~/.xurl with secrets manually. The agent must never read that file or ask for tokens in chat.

What does xurl return?

All commands return JSON to stdout. API errors are also printed as JSON, and any error gives a non-zero exit code.

Can xurl call endpoints that have no shortcut?

Yes. Raw curl style mode works with any X API v2 endpoint, including POST requests with a JSON body using -d.

How do I install xurl?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is xurl free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is xurl safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to xurl?

Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.

Add to stack

Loading.