Agent skill · Content & Marketing

twitter

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.

ReScienceLabgithub.com/ReScienceLabGitHub ↗
claude-codeships scriptsApache-2.0
Install
npx skills add ReScienceLab/opc-skills --skill twitter --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 30
SKILL.md size: 3 KB
Bundled scripts: yes
Path: skills/twitter/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,192
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Prerequisites
  2. Commands
  3. User Endpoints
  4. Tweet Endpoints
  5. List Endpoints
  6. Community Endpoints
  7. Other Endpoints
  8. Search Query Syntax
  9. API: twitterapi.io
Ships with 24 files
  • .claude-plugin/plugin.json
  • scripts/batch_get_users.py
  • scripts/check_relationship.py
  • scripts/credential.py
  • scripts/get_article.py
  • scripts/get_community.py
  • scripts/get_community_members.py
  • scripts/get_community_moderators.py
  • scripts/get_community_tweets.py
  • scripts/get_followers.py
  • scripts/get_following.py
  • scripts/get_list_followers.py
  • scripts/get_list_members.py
  • scripts/get_space.py
  • scripts/get_trends.py
  • scripts/get_tweet.py
  • scripts/get_tweet_quotes.py
  • scripts/get_tweet_replies.py
  • scripts/get_tweet_retweeters.py
  • scripts/get_tweet_thread.py
  • scripts/get_user_about.py
  • scripts/get_user_info.py
  • scripts/get_user_mentions.py
  • scripts/get_user_tweets.py
first 24 of 30
Commands it runs
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
More from opc-skills
All skills →
About this skill
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.

Keep going