
Search and retrieves Twitter/X content through twitterapi.io, covering users, tweets, and trends.
- version
- 1.0.0
- GitHub stars
- 1.9K
What it does
- Covers user info, tweets, replies, followers, communities, spaces, and trends via twitterapi.io
- Provides read-only retrieval of Twitter/X content, with no posting or account actions described
- Designed for agents that need to look up public Twitter/X data during research or monitoring tasks
Search and retrieve content from Twitter/X. Get user info, tweets, replies, followers, communities, spaces, and trends via twitterapi.io.
Add marketplace
/plugin marketplace add ReScienceLab/opc-skillsRun it inside Claude Code once, then install the plugin below.
Install
/plugin install twitter@opc-skillsRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceTwitter/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/
From the ReScienceLab/opc-skills README
OPC Skills
OPC Skills - AI Agent Skills for Solopreneurs
AI Agent Skills for Solopreneurs, Indie Hackers, and One-Person Companies
Extend Claude Code, Cursor, Codex, and more with automation skills.
Browse Skills · Quick Install · View All Skills
What are Skills?
Skills are folders of instructions, scripts, and resources that AI agents load dynamically to improve performance on specialized tasks. Each skill is self-contained with a SKILL.md file containing instructions and metadata.
For more information about the Agent Skills standard, see agentskills.io.
Included Skills
| Skill | Description | |
|---|---|---|
| seo-geo | SEO & GEO optimization for AI search engines (ChatGPT, Perplexity, Google) | |
| requesthunt | Research user demand from Reddit, X, and GitHub | |
| domain-hunter | Find domains, compare registrar prices, and discover promo codes | |
| logo-creator | Create logos with AI, crop, remove background, export as SVG | |
| banner-creator | Create banners for GitHub, Twitter, LinkedIn, etc. | |
| nanobanana | Generate images using Gemini 3 Pro Image (Nano Banana Pro) | |
| Search and retrieve content from Reddit via the public JSON API | ||
| Search and retrieve content from Twitter/X via twitterapi.io | ||
| producthunt | Search Product Hunt posts, topics, users, and collections | |
| archive | Archive session learnings and debugging solutions with indexed markdown |
Quick Install
Claude Code Plugin Marketplace
Install directly from Claude Code's plugin marketplace:
# Add the OPC Skills marketplace
/plugin marketplace add ReScienceLab/opc-skills
# Install specific skills
/plugin install requesthunt@opc-skills
/plugin install domain-hunter@opc-skills
/plugin install seo-geo@opc-skills
# List all available skills
/plugin marketplace list opc-skills
Universal Installation (16+ AI Tools)
Install with one command - works with Claude Code, Cursor, Windsurf, Droid, and 12+ other AI tools:
# Install all skills
npx skills add ReScienceLab/opc-skills
# Install specific skill
npx skills add ReScienceLab/opc-skills --skill reddit
# Install to specific agent
npx skills add ReScienceLab/opc-skills -a droid
Browse and discover skills at skills.sh 🎯
Skills with Dependencies
Some skills require other skills to function properly:
- domain-hunter → requires
twitterandreddit - logo-creator → requires
nanobanana - banner-creator → requires
nanobanana
Install them together:
npx skills add ReScienceLab/opc-skills --skill reddit --skill twitter --skill domain-hunter
Supported AI Tools
OPC Skills work with 16+ AI coding agents via npx skills add:
- Claude Code - Desktop app for AI-assisted coding
- Cursor - AI-first code editor
- Factory Droid - AI software engineering agent
- Windsurf - AI-powered IDE
- OpenCode - Open-source AI coding assistant
- Codex - AI code generation tool
- GitHub Copilot - AI pair programmer
- Gemini CLI - Command-line AI assistant
- Goose - Terminal-based AI agent
- Kilo Code - Lightweight AI coding tool
- Roo Code - AI code assistant
- Trae - AI development companion
- And more...
See the full compatibility list for all supported tools.
Documentation & Resources
Explore OPC Skills through multiple channels:
- DeepWiki - AI-powered interactive documentation with code exploration and Q&A
- Skills Browser - Browse and discover all available skills
- Official Website - Guides, tutorials, and usage examples
- Agent Skills Standard - Learn about the skills specification
Using DeepWiki
DeepWiki provides an AI assistant that can answer questions about the codebase:
- Ask: "How does the domain-hunter skill work?"
- Ask: "Show me the dependencies between skills"
- Ask: "Explain the skill installation process"
The documentation auto-syncs with the repository, so it's always up to date.
Creating New Skills
See the template in ./template/ directory for the basic structure:
- Create a folder in
skills/with your skill name - Add a
SKILL.mdfile with YAML frontmatter - (Optional) Add scripts, examples, or other resources
Required fields in SKILL.md:
---
name: my-skill-name
description: A clear description of what this skill does and when to use it
---
For detailed guidance, check out existing skills or visit the Agent Skills specification.
More from ReScience Lab
- MonoFactory — The super software factory that grows with your business.
- super-prototyping — MonoFactory's open-source edition: design and clone product UI as HTML artboards on a local tldraw canvas.
Star History
Contributing
- Fork this repository
- Create a new skill folder in
skills/ - Add a
SKILL.mdwith proper frontmatter - Submit a pull request
License
Apache 2.0
Details
- Marketplace
- ReScienceLab/opc-skills
- Source
- skills/twitter
- Category
- Social Media
- License
- MIT
- Keywords
- twitter, x, social-media, api
- Listed since
- Apr 7, 2026
More from ReScienceLab/opc-skills
All 9Similar to twitter
More Social Media
twitterSkillresciencelab/opc-skills2.1K installsCommand-line toolkit that retrieves Twitter/X profiles, tweets, followers, communities, spaces, and trends via twitterapi.io.
X (Twitter) MCP Server by XquikMCP serverxquik-dev229 starsStructured X (Twitter) data and actions via Xquik's REST API, with search, profiles, and bulk exports.
opentwitterSkill6551team/opentwitter-mcp2K installsQuery Twitter/X profiles, tweets, follower events, and meme token evidence through the 6551 REST API.
x-researchPlugintrailofbits/skills-curated537 starsSearches X/Twitter for real-time perspectives, dev discussions, product feedback, breaking news, and expert opinions using the X API v2
finance-social-readersPluginhimself65/finance-skills3.6K starsRead-only social media and research feeds — Twitter/X, Discord, LinkedIn, Telegram, Y Combinator, plus a generic opencli fallback covering 100+ finance/research
socialPluginCaptainCrouton89/crouton-kit25 starsX (Twitter) posting, engagement, and growth tools — skills, commands, and northlight integration