跳到正文
cccskills
免费在 GitHub 公开

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.

中文简介正在准备中。当前显示原文说明。

集成工具X (Twitter)
查看安装方法

包含的文件(30)

  • SKILL.md2.7 KB
  • .claude-plugin/plugin.json547 B
  • scripts/batch_get_users.py632 B
  • scripts/check_relationship.py856 B
  • scripts/credential.py364 B
  • scripts/get_article.py992 B
  • scripts/get_community_members.py889 B
  • scripts/get_community_moderators.py798 B
  • scripts/get_community_tweets.py855 B
  • scripts/get_community.py962 B
  • scripts/get_followers.py958 B
  • scripts/get_following.py960 B
  • scripts/get_list_followers.py849 B
  • scripts/get_list_members.py835 B
  • scripts/get_space.py1.0 KB
  • scripts/get_trends.py1.5 KB
  • scripts/get_tweet_quotes.py843 B
  • scripts/get_tweet_replies.py850 B
  • scripts/get_tweet_retweeters.py877 B
  • scripts/get_tweet_thread.py760 B
  • scripts/get_tweet.py652 B
  • scripts/get_user_about.py1.3 KB
  • scripts/get_user_info.py541 B
  • scripts/get_user_mentions.py855 B
  • scripts/get_user_tweets.py1.0 KB
  • scripts/get_verified_followers.py1.1 KB
  • scripts/search_community_tweets.py882 B
  • scripts/search_tweets.py1.0 KB
  • scripts/search_users.py810 B
  • scripts/twitter_api.py4.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Checklist and automation guide for adding a new skill to the OPC Skills project. Ensures all required files, metadata, logos, and listings are created before release. Use when adding a new skill, publishing a skill, or preparing a skill for release.

中文简介正在准备中。当前显示原文说明。

ReScienceLab/opc-skills18712026年10月19日 更新

archive

免费

Archive session learnings, debugging solutions, and deployment logs to .archive/yyyy-mm-dd/ as indexed markdown with searchable tags. Use when completing a significant task, resolving a tricky bug, deploying, or when the user says "archive this". Maintains .archive/MEMORY.md index for cross-session knowledge reuse.

中文简介正在准备中。当前显示原文说明。

ReScienceLab/opc-skills18712026年10月19日 更新

Create banners using AI image generation. Discuss format/style, generate variations, iterate with user feedback, crop to target ratio. Use when user wants to create a banner, header, hero image, cover image, GitHub banner, Twitter header, or readme banner.

中文简介正在准备中。当前显示原文说明。

ReScienceLab/opc-skills18712026年10月19日 更新

Search domains, compare prices, find promo codes, get purchase recommendations. Use when user wants to buy a domain, check domain prices, find domain deals, compare registrars, or search for .ai/.com domains.

中文简介正在准备中。当前显示原文说明。

ReScienceLab/opc-skills18712026年10月19日 更新

Create logos using AI image generation. Discuss style/ratio, generate variations, iterate with user feedback, crop, remove background, and export as SVG. Use when user wants to create a logo, icon, favicon, brand mark, mascot, emblem, or design a logo.

中文简介正在准备中。当前显示原文说明。

ReScienceLab/opc-skills18712026年10月19日 更新

Generate and edit images using Google Gemini 3 Pro Image (Nano Banana Pro). Supports text-to-image, image editing, various aspect ratios, and high-resolution output (2K/4K). Use when user wants to generate images, create images, use Gemini image generation, or do AI image generation.

中文简介正在准备中。当前显示原文说明。

ReScienceLab/opc-skills18712026年10月19日 更新

查看 ReScienceLab 的全部技能

报告此技能的问题