Skip to content

Command-line toolkit that retrieves Twitter/X profiles, tweets, followers, communities, spaces, and trends via twitterapi.io.

CCM score
55 of 100
skills.sh installs
2.1K
GitHub stars
1.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers user profiles, tweets, replies, quotes, threads, followers, communities, spaces, and trend data through about 30 scripts in scripts/
  • Includes search operators such as from:, since:, until:, filter:media, -filter:retweets, and min_faves: for narrowing search_tweets.py queries
  • Requires a TWITTERAPI_API_KEY environment variable, sent as an X-API-Key header to the twitterapi.io base URL
  • Designed for agents handling requests that mention Twitter, X, or tweets and needing read-only access to public content

Install

$ npx -y skills add resciencelab/opc-skills --skill twitter -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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:

export TWITTERAPI_API_KEY="your_api_key"

Quick Check:

cd <skill_directory>
python3 scripts/get_user_info.py elonmusk

Commands

All commands run from the skill directory.

User Endpoints

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

Details

Repository
github.com/resciencelab/opc-skills
Categories
Social Media, Browser Automation & Scraping
First seen
May 16, 2026

More from resciencelab/opc-skills

All 12

Similar to Twitter

More Social Media