x-research

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

X Research Skill

X研究Skill

X/Twitter research agent powered by Composio. Zero API cost.
Search for real-time discussions, breaking news, expert opinions, and engagement data.
由Composio驱动的X/Twitter研究Agent。零API成本。
搜索实时讨论、突发新闻、专家观点以及互动数据。

Commands

命令

Search

搜索

/x search <query> [--sort likes|recent] [--since 1h|1d|7d] [--limit N] [--pages N] [--json] [--markdown]
Search recent tweets (last 7 days). Supports engagement sorting, time filtering, pagination, and multiple output formats (default,
--json
for raw data,
--markdown
for research documents).
/x search <query> [--sort likes|recent] [--since 1h|1d|7d] [--limit N] [--pages N] [--json] [--markdown]
搜索近期推文(过去7天)。支持按互动量排序、时间过滤、分页以及多种输出格式(默认格式、
--json
用于原始数据、
--markdown
用于研究文档)。

Profile

用户资料

/x profile <username> [--count N] [--replies] [--json]
Fetch recent tweets from a specific user. Excludes replies by default. Use
--json
for raw data.
/x profile <username> [--count N] [--replies] [--json]
获取特定用户的近期推文。默认排除回复。使用
--json
获取原始数据。

Thread

推文线程

/x thread <tweet_id> [--pages N]
Reconstruct a full conversation thread from a root tweet ID.
/x thread <tweet_id> [--pages N]
从根推文ID重建完整的对话线程。

Single Tweet

单条推文

/x tweet <tweet_id> [--json]
Fetch and display a single tweet with engagement metrics. Use
--json
for raw data.
/x tweet <tweet_id> [--json]
获取并显示带有互动指标的单条推文。使用
--json
获取原始数据。

Cache

缓存

/x cache clear                  Clear search cache
Manage the in-memory search cache (15-minute TTL).
/x cache clear                  清除搜索缓存
管理内存中的搜索缓存(15分钟TTL)。

Watchlist

关注列表

/x watchlist                    Show all tracked accounts
/x watchlist add <user> [note]  Add user to watchlist
/x watchlist remove <user>      Remove user from watchlist
/x watchlist check              Check recent tweets from all watchlist accounts
Track accounts of interest. Watchlist is session-scoped (in-memory).
/x watchlist                    显示所有追踪的账号
/x watchlist add <user> [note]  将用户添加到关注列表
/x watchlist remove <user>      从关注列表移除用户
/x watchlist check              查看关注列表中所有账号的近期推文
追踪感兴趣的账号。关注列表为会话范围(内存存储)。

Research Workflow

研究工作流

For deep research on a topic:
  1. Decompose your question into 3-5 targeted search queries
  2. Search with different sort modes (likes for signal, recent for breaking)
  3. Follow high-engagement threads for context
  4. Check profiles of key accounts found in results
  5. Add important accounts to watchlist for monitoring
针对某一主题进行深度研究:
  1. 将你的问题拆解为3-5个针对性的搜索查询
  2. 使用不同的排序模式进行搜索(按点赞数排序获取有效信息,按最新排序获取突发内容)
  3. 查看高互动量的推文线程以获取上下文
  4. 查看搜索结果中关键账号的资料
  5. 将重要账号添加到关注列表以进行监控

Search Operators

搜索操作符

Composio supports standard X search operators:
  • "exact phrase"
    — Match exact text
  • from:username
    — Tweets from a user
  • -is:retweet
    — Exclude retweets (added by default)
  • -is:reply
    — Exclude replies (use
    --no-replies
    )
  • #hashtag
    — Filter by hashtag
  • has:links
    — Only tweets with links
  • lang:en
    — Filter by language
Composio支持标准的X搜索操作符:
  • "exact phrase"
    — 匹配精确文本
  • from:username
    — 来自某用户的推文
  • -is:retweet
    — 排除转发(默认已添加)
  • -is:reply
    — 排除回复(使用
    --no-replies
  • #hashtag
    — 按话题标签过滤
  • has:links
    — 仅包含带链接的推文
  • lang:en
    — 按语言过滤

Examples

示例

/x search "prediction markets" --sort likes --since 7d
/x search "polymarket whale" --since 1d --limit 5
/x search "AI agents" --markdown
/x profile polyaborat --count 10
/x thread 1234567890 --pages 3
/x watchlist add vitalikbuterin "ETH creator"
/x watchlist check
/x search "prediction markets" --sort likes --since 7d
/x search "polymarket whale" --since 1d --limit 5
/x search "AI agents" --markdown
/x profile polyaborat --count 10
/x thread 1234567890 --pages 3
/x watchlist add vitalikbuterin "ETH creator"
/x watchlist check

Environment Variables

环境变量

  • COMPOSIO_API_KEY
    — Your Composio API key (free tier available)
  • COMPOSIO_CONNECTION_ID
    — Your Composio X/Twitter connection ID
Get both at https://composio.dev after connecting your X account.
  • COMPOSIO_API_KEY
    — 你的Composio API密钥(提供免费层级)
  • COMPOSIO_CONNECTION_ID
    — 你的Composio X/Twitter连接ID