{"id":"07dc26a9-e9c4-4415-8e5d-7f402c6796d7","shortId":"uB4MyH","kind":"skill","title":"twitter","tagline":"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.","description":"# Twitter/X Skill\n\nGet user profiles, tweets, replies, followers/following, communities, spaces, and trends from Twitter/X via twitterapi.io.\n\n## Prerequisites\n\nSet API key in `~/.zshrc`:\n```bash\nexport TWITTERAPI_API_KEY=\"your_api_key\"\n```\n\n**Quick Check**:\n```bash\ncd <skill_directory>\npython3 scripts/get_user_info.py elonmusk\n```\n\n## Commands\n\nAll commands run from the skill directory.\n\n### User Endpoints\n```bash\npython3 scripts/get_user_info.py USERNAME\npython3 scripts/get_user_about.py USERNAME\npython3 scripts/batch_get_users.py USER_ID1,USER_ID2\npython3 scripts/get_user_tweets.py USERNAME --limit 20\npython3 scripts/get_user_mentions.py USERNAME --limit 20\npython3 scripts/get_followers.py USERNAME --limit 100\npython3 scripts/get_following.py USERNAME --limit 100\npython3 scripts/get_verified_followers.py USERNAME --limit 20\npython3 scripts/check_relationship.py USER1 USER2\npython3 scripts/search_users.py \"query\" --limit 20\n```\n\n### Tweet Endpoints\n```bash\npython3 scripts/get_tweet.py TWEET_ID [TWEET_ID2...]\npython3 scripts/search_tweets.py \"query\" --type Latest --limit 20\npython3 scripts/get_tweet_replies.py TWEET_ID --limit 20\npython3 scripts/get_tweet_quotes.py TWEET_ID --limit 20\npython3 scripts/get_tweet_retweeters.py TWEET_ID --limit 50\npython3 scripts/get_tweet_thread.py TWEET_ID\npython3 scripts/get_article.py TWEET_ID\n```\n\n### List Endpoints\n```bash\npython3 scripts/get_list_followers.py LIST_ID --limit 20\npython3 scripts/get_list_members.py LIST_ID --limit 20\n```\n\n### Community Endpoints\n```bash\npython3 scripts/get_community.py COMMUNITY_ID\npython3 scripts/get_community_members.py COMMUNITY_ID --limit 20\npython3 scripts/get_community_moderators.py COMMUNITY_ID\npython3 scripts/get_community_tweets.py COMMUNITY_ID --limit 20\npython3 scripts/search_community_tweets.py \"query\" --limit 20\n```\n\n### Other Endpoints\n```bash\npython3 scripts/get_space.py SPACE_ID\npython3 scripts/get_trends.py --woeid 1  # Worldwide\n```\n\n## Search Query Syntax\n\n```bash\n# Basic search\npython3 scripts/search_tweets.py \"AI agent\"\n\n# From specific user\npython3 scripts/search_tweets.py \"from:elonmusk\"\n\n# Date range\npython3 scripts/search_tweets.py \"AI since:2024-01-01 until:2024-12-31\"\n\n# Exclude retweets\npython3 scripts/search_tweets.py \"AI -filter:retweets\"\n\n# With media\npython3 scripts/search_tweets.py \"AI filter:media\"\n\n# Minimum engagement\npython3 scripts/search_tweets.py \"AI min_faves:1000\"\n```\n\n## API: twitterapi.io\n- Base URL: https://api.twitterapi.io/twitter\n- Auth: X-API-Key header\n- Pricing: ~$0.15-0.18/1k requests\n- Docs: https://docs.twitterapi.io/","tags":["twitter","opc","skills","resciencelab","agent-skills","ai-tools","claude-code","geo","llm-tools","seo"],"capabilities":["skill","source-resciencelab","skill-twitter","topic-agent-skills","topic-ai-tools","topic-claude-code","topic-geo","topic-llm-tools","topic-opc","topic-seo"],"categories":["opc-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/ReScienceLab/opc-skills/twitter","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add ReScienceLab/opc-skills","source_repo":"https://github.com/ReScienceLab/opc-skills","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 829 github stars · SKILL.md body (2,585 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-02T18:52:57.707Z","embedding":null,"createdAt":"2026-04-18T21:56:38.916Z","updatedAt":"2026-05-02T18:52:57.707Z","lastSeenAt":"2026-05-02T18:52:57.707Z","tsv":"'-0.18':286 '-01':243,244 '-12':247 '-31':248 '/.zshrc':49 '/1k':287 '/twitter':277 '0.15':285 '1':217 '100':102,107 '1000':270 '20':92,97,112,121,137,143,149,172,178,191,201,206 '2024':242,246 '50':155 'agent':228 'ai':227,240,253,260,267 'api':46,53,56,271,281 'api.twitterapi.io':276 'api.twitterapi.io/twitter':275 'auth':278 'base':273 'bash':50,60,75,124,166,181,209,222 'basic':223 'cd':61 'check':59 'command':65,67 'communiti':14,36,179,184,188,194,198 'content':5 'date':236 'directori':72 'doc':289 'docs.twitterapi.io':290 'elonmusk':64,235 'endpoint':74,123,165,180,208 'engag':264 'exclud':249 'export':51 'fave':269 'filter':254,261 'follow':13 'followers/following':35 'get':8,30 'header':283 'id':128,141,147,153,159,163,170,176,185,189,195,199,213 'id1':85 'id2':87,130 'info':10 'key':47,54,57,282 'latest':135 'limit':91,96,101,106,111,120,136,142,148,154,171,177,190,200,205 'list':164,169,175 'media':257,262 'mention':23 'min':268 'minimum':263 'prerequisit':44 'price':284 'profil':32 'python3':62,76,79,82,88,93,98,103,108,113,117,125,131,138,144,150,156,160,167,173,182,186,192,196,202,210,214,225,232,238,251,258,265 'queri':119,133,204,220 'quick':58 'rang':237 'repli':12,34 'request':288 'retriev':4 'retweet':250,255 'run':68 'scripts/batch_get_users.py':83 'scripts/check_relationship.py':114 'scripts/get_article.py':161 'scripts/get_community.py':183 'scripts/get_community_members.py':187 'scripts/get_community_moderators.py':193 'scripts/get_community_tweets.py':197 'scripts/get_followers.py':99 'scripts/get_following.py':104 'scripts/get_list_followers.py':168 'scripts/get_list_members.py':174 'scripts/get_space.py':211 'scripts/get_trends.py':215 'scripts/get_tweet.py':126 'scripts/get_tweet_quotes.py':145 'scripts/get_tweet_replies.py':139 'scripts/get_tweet_retweeters.py':151 'scripts/get_tweet_thread.py':157 'scripts/get_user_about.py':80 'scripts/get_user_info.py':63,77 'scripts/get_user_mentions.py':94 'scripts/get_user_tweets.py':89 'scripts/get_verified_followers.py':109 'scripts/search_community_tweets.py':203 'scripts/search_tweets.py':132,226,233,239,252,259,266 'scripts/search_users.py':118 'search':2,219,224 'set':45 'sinc':241 'skill':29,71 'skill-twitter' 'source-resciencelab' 'space':15,37,212 'specif':230 'syntax':221 'topic-agent-skills' 'topic-ai-tools' 'topic-claude-code' 'topic-geo' 'topic-llm-tools' 'topic-opc' 'topic-seo' 'trend':17,39 'tweet':11,27,33,122,127,129,140,146,152,158,162 'twitter':1,24 'twitter/x':7,28,41 'twitterapi':52 'twitterapi.io':19,43,272 'type':134 'url':274 'use':20 'user':9,22,31,73,84,86,231 'user1':115 'user2':116 'usernam':78,81,90,95,100,105,110 'via':18,42 'woeid':216 'worldwid':218 'x':25,280 'x-api-key':279","prices":[{"id":"31926fb4-aa68-4aea-b6a9-d79f2616ba1b","listingId":"07dc26a9-e9c4-4415-8e5d-7f402c6796d7","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"ReScienceLab","category":"opc-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T21:56:38.916Z"}],"sources":[{"listingId":"07dc26a9-e9c4-4415-8e5d-7f402c6796d7","source":"github","sourceId":"ReScienceLab/opc-skills/twitter","sourceUrl":"https://github.com/ReScienceLab/opc-skills/tree/main/skills/twitter","isPrimary":false,"firstSeenAt":"2026-04-18T21:56:38.916Z","lastSeenAt":"2026-05-02T18:52:57.707Z"}],"details":{"listingId":"07dc26a9-e9c4-4415-8e5d-7f402c6796d7","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"ReScienceLab","slug":"twitter","github":{"repo":"ReScienceLab/opc-skills","stars":829,"topics":["agent-skills","ai-tools","claude-code","geo","llm-tools","opc","seo"],"license":"apache-2.0","html_url":"https://github.com/ReScienceLab/opc-skills","pushed_at":"2026-05-02T06:47:51Z","description":"Agent Skills for Solopreneurs","skill_md_sha":"b3137979fbd356c10b721825f31ab815f472aa71","skill_md_path":"skills/twitter/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/ReScienceLab/opc-skills/tree/main/skills/twitter"},"layout":"multi","source":"github","category":"opc-skills","frontmatter":{"name":"twitter","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."},"skills_sh_url":"https://skills.sh/ReScienceLab/opc-skills/twitter"},"updatedAt":"2026-05-02T18:52:57.707Z"}}