By the-focus-ai
Twitter/X API integration - post tweets, read timeline, manage lists, engage with content, network analysis
A Claude Code plugin for full Twitter/X API integration with OAuth 2.0 PKCE authentication.
# Install dependencies
pnpm install
# Set up credentials (supports 1Password or manual entry)
pnpm tsx scripts/twitter.ts setup
# Authenticate with Twitter
pnpm tsx scripts/twitter.ts auth
# Get your profile
pnpm tsx scripts/twitter.ts me
setup # Configure API credentials
auth # Run OAuth flow
check # Verify authentication status
me [--email] # Get authenticated user info
user <username> # Get user by username
user-id <id> # Get user by ID
users <id1,id2,...> # Get multiple users by IDs (max 100)
post "text" # Post a tweet
delete <id> # Delete a tweet
tweet <id> # Get a single tweet
tweets # Get my recent tweets
timeline # Get home timeline
like <id> # Like a tweet
unlike <id> # Unlike a tweet
retweet <id> # Retweet
unretweet <id> # Undo retweet
search "query" # Search tweets
lists # Get my lists
list <id> # Get list details
list-members <id> # Get members of a list
list-add <list-id> <user-id> # Add user to list
list-remove <list-id> <user-id> # Remove user from list
list-create "name" [--private] # Create a new list
list-delete <id> # Delete a list
Every API call logs rate limit status:
[rate-limit] /users/me: 1199997/1200000, resets in 13m
[rate-limit] /lists/.../members: 2/5 (low), resets in 14m
[rate-limit] /tweets: 0/50 (CRITICAL), resets in 5m
If you have 1Password CLI installed, credentials are loaded from:
op://Development/Twitter Client ID/notesPlainop://Development/Twitter Client Secret/notesPlainCreate ~/.config/twitter-skill/credentials.json:
{
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET"
}
Tokens are stored per-project at .claude/twitter-skill.local.json, allowing different projects to use different Twitter accounts.
Add to your Claude Code plugins to use Twitter from any project:
# From Claude Code
/twitter post "Hello from Claude Code!"
/twitter timeline
/twitter lists
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Generate images and videos using Google Gemini and Veo models. Provides skills for AI image generation, image editing, text-to-video, and image-to-video workflows.
QuickBooks Online read-only access for Claude Code using OAuth 2.0
Pocket Casts integration - access starred episodes, listening history, show notes, and podcast metadata
Claude Code skills for managing Hetzner servers, Cloudflare DNS, and Docker deployments
Google services integration for Gmail, Calendar, Sheets, Docs, and YouTube using OAuth 2.0
npx claudepluginhub the-focus-ai/claude-marketplace --plugin twitter-skillTwitter/X tools for AI agents — read, search, post, engage. 30 MCP tools with x402 micropayments.
Complete X/Twitter automation toolkit — 87+ MCP tools for scraping, posting, engagement, analytics, and more. No API fees. Uses Puppeteer browser automation.
Native Hermes Agent X/Twitter plugin for Xquik automation with read-first workflows and approval-gated actions.
Twitter Engager subagent
Xquik X/Twitter scraper API skill with 100+ endpoints, MCP, webhooks, extraction workflows, usage estimates, and confirmation-gated actions.
X (Twitter) posting, engagement, and growth tools — skills, commands, and northlight integration