Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
resciencelab avatar

Twitter

  • 1.9k installs
  • 1.2k repo stars
  • Updated July 27, 2026
  • resciencelab/opc-skills

twitter is an agent skill that Search and retrieve content from Twitter/X. Get user info, tweets, replies, followers, communities, spaces, and trends v.

About

Get user profiles tweets replies followers following communities spaces and trends from Twitter X via twitterapi io 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 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 The twitter agent skill provides documented workflows prerequisites triggers and safety guidance from its SKILL md source Agents load it when user requests match the description and follow step by step instructions without inventing capabilities It integrates with standard agent tooling for the tasks inputs outputs and failure modes described in the repository document.

  • description: Search and retrieve content from Twitter/X. Get user info, tweets, replies, followers, communities, spaces,
  • Get user profiles, tweets, replies, followers/following, communities, spaces, and trends from Twitter/X via twitterapi.i
  • export TWITTERAPI_API_KEY="your_api_key"
  • Follow twitter SKILL.md steps and documented constraints.
  • Follow twitter SKILL.md steps and documented constraints.

Twitter by the numbers

  • 1,882 all-time installs (skills.sh)
  • +24 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #662 of 16,659 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

twitter capabilities & compatibility

Capabilities
description: search and retrieve content from tw · get user profiles, tweets, replies, followers/fo · export twitterapi_api_key="your_api_key" · follow twitter skill.md steps and documented con
Use cases
orchestration
From the docs

What twitter says it does

description: 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.
SKILL.md
Get user profiles, tweets, replies, followers/following, communities, spaces, and trends from Twitter/X via twitterapi.io.
SKILL.md
export TWITTERAPI_API_KEY="your_api_key"
SKILL.md
npx skills add https://github.com/resciencelab/opc-skills --skill twitter

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.9k
repo stars1.2k
Security audit2 / 3 scanners passed
Last updatedJuly 27, 2026
Repositoryresciencelab/opc-skills

When should an agent use twitter and what problem does it solve?

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.

Who is it for?

Developers invoking twitter as documented in the skill source.

Skip if: Skip when requirements fall outside twitter documented scope.

When should I use this skill?

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.

What you get

Outputs aligned with the twitter SKILL.md workflow and stated deliverables.

  • Tweet and user JSON responses
  • Trend and follower datasets

By the numbers

  • Published as twitter version 1.0.0 in opc-skills

Files

SKILL.mdMarkdownGitHub ↗

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

Tweet Endpoints

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
python3 scripts/get_tweet_retweeters.py TWEET_ID --limit 50
python3 scripts/get_tweet_thread.py TWEET_ID
python3 scripts/get_article.py TWEET_ID

List Endpoints

python3 scripts/get_list_followers.py LIST_ID --limit 20
python3 scripts/get_list_members.py LIST_ID --limit 20

Community Endpoints

python3 scripts/get_community.py COMMUNITY_ID
python3 scripts/get_community_members.py COMMUNITY_ID --limit 20
python3 scripts/get_community_moderators.py COMMUNITY_ID
python3 scripts/get_community_tweets.py COMMUNITY_ID --limit 20
python3 scripts/search_community_tweets.py "query" --limit 20

Other Endpoints

python3 scripts/get_space.py SPACE_ID
python3 scripts/get_trends.py --woeid 1  # Worldwide

Search Query Syntax

# Basic search
python3 scripts/search_tweets.py "AI agent"

# From specific user
python3 scripts/search_tweets.py "from:elonmusk"

# Date range
python3 scripts/search_tweets.py "AI since:2024-01-01 until:2024-12-31"

# Exclude retweets
python3 scripts/search_tweets.py "AI -filter:retweets"

# With media
python3 scripts/search_tweets.py "AI filter:media"

# Minimum engagement
python3 scripts/search_tweets.py "AI min_faves:1000"

API: twitterapi.io

  • Base URL: https://api.twitterapi.io/twitter
  • Auth: X-API-Key header
  • Pricing: ~$0.15-0.18/1k requests
  • Docs: https://docs.twitterapi.io/

Related skills

How it compares

Pick twitter when you need scriptable X retrieval for research agents rather than building a custom twitterapi.io client from scratch.

FAQ

What is 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 twee

When should I use 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 twee

Is twitter safe to install?

Review the Security Audits panel on this page before production use.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.