Skip to content
TakoAPI
Back to skills

x-oauth-api

by ngmeyer

Security & Passwords
954Downloads reported by clawskills.sh
2Stars
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Post to X (Twitter) using the official OAuth 1.0a API.

Description

What This Skill Does

Posts to X (Twitter) using OAuth 1.0a credentials directly against the X API v2. Supports single tweets, threads, replies, quote tweets, and account lookups on the free tier. Search, mentions, and media uploads require a paid X API tier.

Uses your own X API credentials directly with no proxy or third-party service in the middle, so rate limits and permissions are fully under your control.

When to Use It

  • Posting a tweet from an automated agent
  • Creating a multi-part thread from a script
  • Replying to a specific tweet by ID
  • Checking your account info and user ID
  • Deleting a tweet you previously posted

Example Workflow

INPUT

User asks: 'Post a 3-tweet thread about my new project launch'

AGENT
  1. 1

    Parse the message into three tweet-sized segments

  2. 2

    Call x thread with all three segments as arguments

  3. 3

    Sign the requests automatically using OAuth 1.0a credentials from environment variables

  4. 4

    Post the thread to X API v2

OUTPUT

A 3-tweet thread posted to the user's X account

Requirements

  • X Developer Account with API access
  • X_API_KEY environment variable (Consumer Key)
  • X_API_SECRET environment variable (Consumer Secret)
  • X_ACCESS_TOKEN environment variable
  • X_ACCESS_TOKEN_SECRET environment variable

Installation

clawhub install ngmeyer/x-oauth-api

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links