xurl

Authenticate and access X API v2 from the command line.

2|1|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/duggal1/Sapphire-cli --skill xurl-duggal1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xurl
Source: https://github.com/duggal1/Sapphire-cli/tree/main/internal/skills/bundled/xurl
Command: npx skills add https://github.com/duggal1/Sapphire-cli --skill xurl-duggal1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CLI-based authenticated access to the X API reduces manual overhead and enables automation for posting, reading, and managing X data.

Core Features & Use Cases

  • Command-line interface for posting, reading, liking, following, and messaging on X API v2.
  • Supports both shortcut commands and raw API access via curl-style syntax.
  • Secure authentication management with per-app tokens and guidance to avoid leaking secrets.
  • Flexible installation options via Homebrew, npm, curl, or Go install, and clear usage docs.

Quick Start

Install xurl using your preferred method, authenticate with your X app, and run a sample command such as xurl whoami to verify access.

Frequently Asked Questions about xurl

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

FAQPage Schema
How do I automate X API v2 posting and reading from the command line?

Use xurl to automate X API v2 posting and reading from the command line, managing OAuth2 authentication securely while supporting curl-style syntax for interactive and automated workflows.

Can I use curl syntax to interact with the X API v2?

Yes, you can use curl-style syntax to interact with the X API v2. The tool supports both shortcut commands for common actions like liking and following, and raw API access for flexible requests.

What do I need to set up before accessing X API v2 securely from the CLI?

Before accessing X API v2 securely from the CLI, you need to install the tool via Homebrew, npm, curl, or Go, and authenticate with your X app using per-app tokens to enforce user authentication status.

Does this CLI tool support automated engagement workflows like messaging on X?

Yes, this CLI tool supports automated engagement workflows like messaging on X. It enables secure authenticated access for posting, reading, liking, following, and messaging operations.

How do I prevent leaking OAuth2 secrets when automating X API v2 tasks?

To prevent leaking OAuth2 secrets when automating X API v2 tasks, the CLI tool provides secure authentication management with per-app tokens and guidance to avoid exposing secrets during operations.