xurl

Send authenticated requests to the X API via CLI with JSON output.

Updated Dec 6, 2016
One-click install
npx skills add https://github.com/majunbao/learn --skill xurl-majunbao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xurl
Source: https://github.com/majunbao/learn/tree/main/openclaw_tags/openclaw-2026.3.2/skills/xurl
Command: npx skills add https://github.com/majunbao/learn --skill xurl-majunbao

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This CLI enables authenticated requests to the X (Twitter) API from the terminal, letting you post, read, search, and manage content and accounts without leaving your workspace.

Core Features & Use Cases

  • Shortcut commands and raw curl-style access to any X API v2 endpoint, returning JSON to stdout.
  • Authentication & safety: centralizes token usage, with guidance to configure credentials locally and securely.
  • Comprehensive workflows: supports posting, replying, liking, following, direct messages, media uploads, and timeline exploration, plus streaming endpoints.

Quick Start

Authenticate with xurl on your machine and start issuing commands to interact with the X API.

Frequently Asked Questions about xurl

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I post tweets from the CLI using the X API v2?

You can post tweets from the CLI by installing the xurl tool, authenticating with your X API credentials, and using its shortcut commands or raw curl-style requests to return JSON output directly to stdout.

Can I send direct messages and manage my X account from the terminal?

Yes, you can manage direct messages, account settings, posting, liking, and following workflows from the terminal using xurl, which centralizes token usage and securely applies authenticated requests to the X API.

Does xurl work with both Homebrew and npm installations?

xurl supports both Homebrew and npm installations, alongside manual setup options, allowing you to configure credentials locally and issue authenticated X API v2 commands across different environments.

What is the best way to search the X timeline without leaving my workspace?

The best way to search the X timeline without leaving your workspace is using xurl's CLI commands, which support timeline exploration, searching, and streaming endpoints while returning JSON to stdout.

Are there limitations when making raw curl-style requests to the X API v2?

When making raw curl-style requests to the X API v2, you are limited by the API's native rate limits and endpoint constraints, though xurl centralizes authentication and outputs JSON for all supported commands.

How do I securely configure X API tokens for command line automation?

To securely configure X API tokens for command line automation, use xurl to centralize your credentials locally and safely, enabling authenticated requests for posting, reading, and searching without exposing tokens directly.