Pulls Twitter/X data through API calls instead of scraping, which actually works since the platform blocks most web scrapers. Handles the common workflow of extracting tweet IDs from URLs, searching by keywords or hashtags, grabbing user profiles and recent posts, and fetching replies or retweets. Built with hard limits to prevent API abuse—max 3 tool calls per response and stops pagination unless you ask for more. Good for social media monitoring, sentiment analysis on crypto topics, or just grabbing specific tweets when someone drops an X link. Requires a Twitter API key but saves you from dealing with rate limits and authentication yourself.

skills.sh installs
7.9K
GitHub stars
32
last updated
Aug 21, 2026

Install

$ npx -y skills add starchild-ai-agent/official-skills --skill twitter --agent claude-code

Installs into .claude/skills of the current project.

Files

Twitter / X (script-mode)

Read-only access to twitterapi.io endpoints. 13 functions covering tweets, users, followers, replies, threads, quotes, articles, and trends.

All requests go through sc-proxy via core.http_client.proxied_get. The TWITTER_API_KEY env var is auto-injected server-side, no local key needed on the agent machine.

Script Usage

Standard invocation pattern:

python3 - <<'EOF'
import sys, json
sys.path.insert(0, "/data/workspace/skills/twitter")
from exports import twitter_user_info, twitter_user_tweets

profile = twitter_user_info(username="vitalikbuterin")
print(json.dumps(profile, indent=2))

recent = twitter_user_tweets(username="vitalikbuterin")
print(f"got {len(recent.get('tweets', []))} tweets")
EOF

Tweet ID extraction from URL: the last path segment of any x.com/{user}/status/{id} or twitter.com/{user}/status/{id} URL is the tweet ID. Pass it as a string (Python int will lose precision on long IDs).

Function Reference (signatures)

All 13 functions live in exports.py. Returns are dicts straight from twitterapi.io — keys vary per endpoint, inspect once before scripting.

Tweet endpoints

Sponsors

Details

Repository
github.com/starchild-ai-agent/official-skills
Category
AI & Agent Building

More from starchild-ai-agent/official-skills

All 43
1google avataragent-platform-alert-configurationgoogle/skillsConfigures best-practice alerting policies for AI agents using OpenTelemetry (OTel) metrics. Use when analyzing, writing, or deploying alerting policies to moni7.8Kskills.sh installs
2starchild-ai-agent avatarskill-creatorstarchild-ai-agent/official-skillsScaffold new skills with valid frontmatter, directory layout, and a starter SKILL.md. Use when building a new reusable workflow or wrapping a new API (e.g. crea7.8Kskills.sh installs
3starchild-ai-agent avatartwelvedatastarchild-ai-agent/official-skillsStocks, forex, and commodities prices: real-time quotes and historical bars. Use when looking up traditional-market prices (e.g. AAPL quote, EUR/USD chart, gold7.7Kskills.sh installs
4callstackincubator avataragent-devicecallstackincubator/agent-deviceagent device7.7Kskills.sh installs
5anthropics avatarmcp-integrationanthropics/claude-plugins-officialThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context Protocol", 7.5Kskills.sh installs
6anthropics avatarbuild-mcp-serveranthropics/claude-plugins-officialThis skill should be used when the user asks to "build an MCP server", "create an MCP", "make an MCP integration", "wrap an API for Claude", "expose tools to Cl7.4Kskills.sh installs