Token导航 LogoToken导航

Agent Skill · 研究检索

twitter(twitter 搜索)

twitter 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

twitter 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 1,153。

总安装 115,682周安装 4,803GitHub Stars 9下载 38,698核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:twitter(twitter 搜索)
来源仓库:https://github.com/starchild-ai-agent/official-skills
仓库路径:skills/twitter
安装命令:
npx skills add https://github.com/starchild-ai-agent/official-skills --skill twitter
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/starchild-ai-agent/official-skills --skill twitter

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

推文、用户、关注者和参与度指标的只读 Twitter/X 数据查找。

九个工具涵盖高级运算符的推文搜索、用户个人资料查找、关注者/关注列表、回复、转发和用户发现 支持高级查询语法,包括关键字、发件人/收件人过滤器、主题标签、现金标签、参与阈值、日期范围和媒体/链接过滤器 基于游标的分页,用于浏览所有端点的大型结果集 需要 TWITTER_API_KEY 环境变量;遵守 API 速率限制

来源仓库内路径:skills/twitter

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/starchild-ai-agent/official-skills --skill twi…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

twitter 怎么安装?

在终端执行 npx skills add https://github.com/starchild-ai-agent/official-skills --skill twitter。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

twitter 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

twitter 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

twitter 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

twitter 用的人多吗?

公开数据是累计安装 115,682 次,近一周安装 4,803 次,下载 38,698 次,GitHub 9 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

twitter 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
twitter

twitter 搜索 · 本页

115,6829接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

🔴 Routing Rule — Composio vs Native Twitter Tools

If the user has connected Twitter via Composio (OAuth), use Composio for account actions on their own profile:

User intentUse
Post a tweet / 发推Composio TWITTER_CREATION_OF_A_POST
Query own profile / 查自己的资料Composio TWITTER_USER_LOOKUP_ME
Delete own tweet / 删自己的推Composio TWITTER_POST_DELETE_BY_POST_ID
Lookup someone else's profile or tweetsThis skill (twitter_user_info, twitter_user_tweets)
Search tweets about a topicThis skill (twitter_search_tweets)
Fetch tweets by URL or IDThis skill (twitter_get_tweets)

Rationale: Composio uses the user's own OAuth-connected Twitter account, so it can post, delete, and access self-endpoints. This skill uses a separate API key that is read-only and cannot act on the user's behalf.

🔴 HARD LIMITS — READ FIRST

⛔ CALL AT MOST 3 TWITTER TOOLS PER RESPONSE. STOP AFTER 3 CALLS. After each tool call, check: "Do I have enough data to answer?" If yes → STOP AND REPLY. ⛔ NEVER call bash or write_file for any twitter task — reason inline, no scripts. ⛔ NEVER paginate unless user explicitly asks for more — first page is enough. ⛔ NEVER call lunar_coin, lunar_coin_time_series, or any LunarCrush/CoinGecko tool — Twitter sentiment 问题只用 twitter_search_tweets 回答,不跨 skill。 ⛔ NEVER call coin_price, cg_trending, cg_coins_markets — 价格数据超出 Twitter skill 范围。

🔗 URL Handling — x.com / twitter.com

⛔ NEVER use web_fetch for x.com or twitter.com URLs — Twitter blocks scraping, you'll only get a login wall. ✅ ALWAYS extract the tweet ID from the URL and use twitter_get_tweets.
URL patternExtractTool call
x.com/{user}/status/{id}tweet ID = {id}twitter_get_tweets(tweet_ids=["{id}"])
twitter.com/{user}/status/{id}tweet ID = {id}twitter_get_tweets(tweet_ids=["{id}"])
x.com/{user}username = {user}twitter_user_info(username="{user}")

Example: User sends https://x.com/zerohedge/status/2042670029548794219 → Extract ID: 2042670029548794219 → Call: twitter_get_tweets(tweet_ids=["2042670029548794219"]) → Never: web_fetch("https://x.com/...")

💡 Few-Shot Examples

Q: 找 3 个关于 BTC ETF 的高赞推文,只要 ID 和点赞数 → PLAN: 1 call twitter_search_tweets("BTC ETF min_faves:100") → pick top 3 from results → reply JSON → STOP after 1 call. Total tools: 1

Q: @elonmusk 最近发的推文哪条点赞最多?只要数字 → PLAN: 1 call twitter_user_tweets("elonmusk") → find max likes in results → reply number → STOP after 1 call. Total tools: 1

Q: 搜索 solana 推文,找点赞最多那条的作者 → PLAN: 1 call twitter_search_tweets("solana") → find tweet with most likes → extract username → STOP after 1 call. Total tools: 1

Q: 对比 @A 和 @B 谁粉丝多,再看粉丝多的最新推文 → PLAN: call twitter_user_info("A") + twitter_user_info("B") → determine winner → call twitter_user_tweets(winner) → Total tools: 3. STOP.

⚡ FAST PATHS (act immediately, no clarification needed)

Trigger keywordsAction
x.com or twitter.com URL with /status/{id}Extract tweet ID → twitter_get_tweets(tweet_ids=["{id}"]) — never web_fetch
x.com or twitter.com URL with /{username} onlyExtract username → twitter_user_info(username="{username}")
crypto sentiment / 情绪扫描 / market mood / BTC ETH SOL 讨论Call twitter_search_tweets once per coin: "$BTC", "$ETH", "$SOL" — summarize tone, no user profile lookups
search tweets about XCall twitter_search_tweets with the topic
who is @usernameCall twitter_user_info
what did @username postCall twitter_user_tweets

Tool Decision Tree

"Search for tweets about a topic" → twitter_search_tweets Advanced query with operators: keywords, from:user, #hashtag, $cashtag, min_faves, date ranges.

"Look up a specific tweet or set of tweets" → twitter_get_tweets Pass one or more tweet IDs directly.

"Who is this Twitter account?" → twitter_user_info Profile data: bio, follower count, tweet count, verification.

"What has this account been posting?" → twitter_user_tweets Recent tweets from a specific user.

"Who follows this account?" → twitter_user_followers List of followers for a user.

"Who does this account follow?" → twitter_user_followings List of accounts a user follows.

"What are people saying in reply to this tweet?" → twitter_tweet_replies Replies to a specific tweet by ID.

"Who retweeted this?" → twitter_tweet_retweeters Users who retweeted a specific tweet.

"Find accounts related to a topic" → twitter_search_users Search users by name or keyword.

"Read a long X article" → twitter_get_article Pass the article tweet ID. Returns title, preview, cover, and content blocks.

"Get full thread context" → twitter_tweet_thread_context One call returns parent chain + direct replies for the target tweet.

"Who quoted this tweet?" → twitter_tweet_quote Get quote tweets for a specific tweet ID.

"What is trending now?" → twitter_get_trends Get trends with optional woeid, country, category, limit.

"Crypto sentiment scan / 情绪扫描 / market mood" → twitter_search_tweets (call once per coin) For BTC/ETH/SOL sentiment: search "$BTC", "$ETH", "$SOL" separately, then summarize tone inline. ⛔ NEVER call twitter_user_info, twitter_user_followers, or twitter_user_tweets during a sentiment scan — text analysis only.

Available Tools

ToolDescriptionKey Params
twitter_search_tweetsAdvanced tweet searchquery (required), cursor
twitter_get_tweetsGet tweets by IDtweet_ids (array, required)
twitter_user_infoUser profile lookupusername (required)
twitter_user_tweetsUser's recent tweetsusername (required), cursor
twitter_user_followersUser's followersusername (required), cursor
twitter_user_followingsUser's followingsusername (required), cursor
twitter_tweet_repliesReplies to a tweettweet_id (required), cursor
twitter_tweet_retweetersWho retweetedtweet_id (required), cursor
twitter_search_usersSearch for usersquery (required), cursor
twitter_get_articleGet long-form articletweet_id (required)
twitter_tweet_thread_contextGet full thread contexttweet_id (required)
twitter_tweet_quoteGet quote tweetstweet_id (required), cursor
twitter_get_trendsGet trendswoeid, country, category, limit

Usage Patterns

⚠️ Token Budget Rules

  • Sentiment scan: max 3 twitter_search_tweets calls (one per coin), then summarize. Stop.
  • Account research: max 2 tool calls total unless user asks for more depth.
  • Never chain more than 5 Twitter tool calls in one response.

Research an account

  1. twitter_user_info — get profile, follower count, bio
  2. twitter_user_tweets — see what they've been posting
  3. twitter_user_followings — who they follow (reveals interests)

Track a topic or token

  1. twitter_search_tweets with query like "$SOL min_faves:50" — find popular tweets
  2. twitter_search_users with the topic — find relevant accounts

Output Constraints (IMPORTANT for small models)

  • Max 1 twitter_search_tweets call per coin/topic — do not repeat searches for same query. First result set is sufficient.
  • Max 3 twitter_user_info calls per response — only look up the most relevant accounts.
  • Never call bash or write_file for Twitter data — reason inline directly from tool results.
  • Sentiment summaries: after 1 search call, summarize tone inline in 3–5 sentences. Done.
  • Pagination: only fetch next page if user explicitly asks for more results.
  • After getting search results: sort/filter in your head, do not call bash to sort.

Analyze engagement on a tweet

  1. twitter_get_tweets — get the tweet and its metrics
  2. twitter_tweet_replies — see the conversation
  3. twitter_tweet_retweeters — see who amplified it

Find influencers in a space

  1. twitter_search_users with keyword (e.g. "DeFi analyst")
  2. twitter_user_info on top results to compare follower counts
  3. twitter_user_tweets to check content quality

Search Query Operators

The twitter_search_tweets tool supports advanced operators:

OperatorExampleDescription
keywordbitcoinTweets containing the word
exact phrase"ethereum merge"Exact phrase match
from:from:elonmuskTweets by a specific user
to:to:elonmuskTweets replying to a user
#hashtag#cryptoTweets with hashtag
$cashtag$BTCTweets with cashtag
lang:lang:enFilter by language
has:mediahas:mediaTweets with images/video
has:linkshas:linksTweets with URLs
is:replyis:replyOnly replies
min_faves:min_faves:100Minimum likes
min_retweets:min_retweets:50Minimum retweets
since:since:2024-01-01Tweets after date
until:until:2024-12-31Tweets before date

Combine operators: from:VitalikButerin $ETH min_faves:100 since:2024-01-01

Pagination

Most endpoints support cursor-based pagination. When a response includes a cursor value, pass it as the cursor parameter to get the next page. If no cursor is returned, you've reached the end.

Notes

  • API key required: Set TWITTER_API_KEY environment variable. Tools will error without it.
  • Read-only: These tools only retrieve data. No posting, liking, or following.
  • For posting, deleting, or accessing the user's own Twitter account: use the composio skill (see TWITTER_CREATION_OF_A_POST, TWITTER_USER_LOOKUP_ME, TWITTER_POST_DELETE_BY_POST_ID). This skill cannot act on the user's behalf.
  • Usernames: Always pass without the @ prefix (e.g. "elonmusk" not "@elonmusk").
  • Tweet IDs: Use string format for tweet IDs to avoid integer overflow issues.
  • Rate limits: The API has rate limits. If you get rate-limited, wait before retrying.

平台分布

Codex

38.25%
按下载量换算14,802

Claude

26.93%
按下载量换算10,421

Cursor

16.52%
按下载量换算6,393

Gemini CLI

8.66%
按下载量换算3,351

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills