xurl

Authenticate and interact with X API v2 endpoints from the command line.

Updated May 18, 2022
One-click install
npx skills add https://github.com/kendreaditya/.config --skill xurl-kendreaditya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xurl
Source: https://github.com/kendreaditya/.config/tree/main/claude/skills/xurl
Command: npx skills add https://github.com/kendreaditya/.config --skill xurl-kendreaditya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Authenticated access to the X API from the command line, enabling programmatic tweet posting, reading, DM management, and other v2 endpoints without leaving the terminal.

Core Features & Use Cases

  • CLI authentication management: Securely handle credentials and session scope for multiple apps.
  • Raw API access: Use curl-like requests to any X API v2 endpoint with automatic token handling.
  • Comprehensive workflows: Post tweets, read timelines, manage followers, upload media, and send DMs in automated scripts.

Quick Start

Install xurl using your preferred method, authenticate with a one-time setup, and run your first command to interact with an X API endpoint.

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 command line using the X API?

You can post tweets from the command line by using a CLI tool to send authenticated requests to X API v2 endpoints. This enables programmatic tweet posting, reading, and DM management directly within terminal scripts.

Can I automate X API interactions without leaving the terminal?

Yes, automating X API interactions is possible without leaving the terminal by using a CLI tool. It handles automatic token authentication, allowing you to run curl-like requests to manage timelines, followers, and direct messages.

What do I need to set up before using command line tools for X API authentication?

Before using command line tools for X API authentication, you need to install the CLI tool via brew or npm and complete a one-time setup. This securely handles your credentials and defines the session scope for your app.

Does this CLI approach support raw API access to all X API v2 endpoints?

Yes, this CLI approach supports raw API access to X API v2 endpoints. It automatically manages token handling, enabling curl-like requests to diverse workflows including media uploads, timeline reading, and managing followers.

What is the best way to manage direct messages and media uploads via the X API in automated scripts?

The best way to manage direct messages and media uploads via the X API in automated scripts is using an authenticated CLI tool. It provides comprehensive workflow support for these v2 endpoints alongside secure credential management.