Search and retrieve content from Twitter/X. Get user info, tweets, replies, followers, communities, spaces, and trends via twitterapi.io. Use when user mentions Twitter, X, or tweets.
npx skills add ReScienceLab/opc-skills --skill twitter --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Twitter/X Skill Get user profiles, tweets, replies, followers/following, communities, spaces, and trends from Twitter/X via twitterapi.io. ## Prerequisites Set API key in `~/.zshrc`: ```bash export TWITTERAPI_API_KEY="your_api_key" ``` **Quick Check**: ```bash cd <skill_directory> python3 scripts/get_user_info.py elonmusk ``` ## Commands All commands run from the skill directory. ### User Endpoints ```bash python3 scripts/get_user_info.py USERNAME python3 scripts/get_user_about.py USERNAME python3 scripts/batch_get_users.py USER_ID1,USER_ID2 python3 scripts/get_user_tweets.py USERNAME --limit 20 python3 scripts/get_user_mentions.py USERNAME --limit 20 python3 scripts/get_followers.py USERNAME --limit 100 python3 scripts/get_following.py USERNAME --limit 100 python3 scripts/get_verified_followers.py USERNAME --limit 20 python3 scripts/check_relationship.py USER1 USER2 python3 scripts/search_users.py "query" --limit 20 ``` ### Tweet Endpoints ```bash python3 scripts/get_tweet.py TWEET_ID [TWEET_ID2...] python3 scripts/search_tweets.py "query" --type Latest --limit 20 python3 scripts/get_tweet_replies.py TWEET_ID --limit 20 python3 scripts/get_tweet_quotes.py TWEET_ID --limit 20 pyt
- Prerequisites
- Commands
- User Endpoints
- Tweet Endpoints
- List Endpoints
- Community Endpoints
- Other Endpoints
- Search Query Syntax
- API: twitterapi.io
export TWITTERAPI_API_KEY="your_api_key" cd <skill_directory> python3 scripts/get_user_info.py elonmusk python3 scripts/get_user_info.py USERNAME python3 scripts/get_user_about.py USERNAME python3 scripts/batch_get_users.py USER_ID1,USER_ID2 python3 scripts/get_user_tweets.py USERNAME --limit 20 python3 scripts/get_user_mentions.py USERNAME --limit 20 python3 scripts/get_followers.py USERNAME --limit 100 python3 scripts/get_following.py USERNAME --limit 100
What does the twitter skill do?
Search and retrieve content from Twitter/X. Get user info, tweets, replies, followers, communities, spaces, and trends via twitterapi.io. Use when user mentions Twitter, X, or tweets.
How do I install it?
Run `npx skills add ReScienceLab/opc-skills --skill twitter --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ReScienceLab/opc-skills, a repository with 1,192 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
