General-purpose X/Twitter research agent. Searches X for real-time perspectives, dev discussions, product feedback, cultural takes, breaking news, and expert...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install x-research或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install x-research⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/x-research/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: x-research version: 1.0.0 description: > General-purpose X/Twitter research agent. Searches X for real-time perspectives, dev discussions, product feedback, cultural takes, breaking news, and expert opinions. Works like a web research agent but uses X as the source. Use when: (1) user says "x research", "search x for", "search twitter for", "what are people saying about", "what's twitter saying", "check x for", "x search", "/x-research", (2) user is working on something where recent X discourse would provide useful context (new library releases, API changes, product launches, cultural events, industry drama), (3) user wants to find what devs/experts/community thinks about a topic. NOT for: posting tweets, account management, or historical archive searches beyond 7 days. ---
General-purpose agentic research over X/Twitter. Decompose any research question into targeted searches, iteratively refine, follow threads, deep-dive linked content, and synthesize into a sourced briefing.
For X API details (endpoints, operators, response format): read references/x-api.md.
All commands run from this skill directory:
cd ~/clawd/skills/x-research
source ~/.config/env/global.env
bun run x-search.ts search "<query>" [options]
Options:
--sort likes|impressions|retweets|recent — sort order (default: likes)--since 1h|3h|12h|1d|7d — time filter (default: last 7 days). Also accepts minutes (30m) or ISO timestamps.--min-likes N — filter by minimum likes--min-impressions N — filter by minimum impressions--pages N — pages to fetch, 1-5 (default: 1, 100 tweets/page)--limit N — max results to display (default: 15)--quick — quick mode: 1 page, max 10 results, auto noise filter (-is:retweet -is:reply), 1hr cache, cost summary--from — shorthand for from:username in query--quality — filter low-engagement tweets (≥10 likes, post-hoc)--no-replies — exclude replies--save — save results to ~/clawd/drafts/x-research-{slug}-{date}.md--json — raw JSON output--markdown — markdown output for research docsAuto-adds -is:retweet unless query already includes it. All searches display estimated API cost.
Examples:
bun run x-search.ts search "BNKR" --sort likes --limit 10
bun run x-search.ts search "from:frankdegods" --sort recent
bun run x-search.ts search "(opus 4.6 OR claude) trading" --pages 2 --save
bun run x-search.ts search "$BNKR (revenue OR fees)" --min-likes 5
bun run x-search.ts search "BNKR" --quick
bun run x-search.ts search "BNKR" --from voidcider --quick
bun run x-search.ts search "AI agents" --quality --quick
bun run x-search.ts profile <username> [--count N] [--replies] [--json]
Fetches recent tweets from a specific user (excludes replies by default).
bun run x-search.ts thread <tweet_id> [--pages N]
Fetches full conversation thread by root tweet ID.
bun run x-search.ts tweet <tweet_id> [--json]
bun run x-search.ts watchlist # Show all
bun run x-search.ts watchlist add <user> [note] # Add account
bun run x-search.ts watchlist remove <user> # Remove account
bun run x-search.ts watchlist check # Check recent from all
Watchlist stored in data/watchlist.json. Use for heartbeat integration — check if key accounts posted anything important.
bun run x-search.ts cache clear # Clear all cached results
15-minute TTL. Avoids re-fetching identical queries.
When doing deep research (not just a quick search), follow this loop:
Turn the research question into 3-5 keyword queries using X search operators:
from: specific known experts(broken OR bug OR issue OR migration)(shipped OR love OR fast OR benchmark)url:github.com or url: specific domains-is:retweet (auto-added), add -is:reply if needed-airdrop -giveaway -whitelist if crypto topics floodingRun each query via CLI. After each, assess:
from: specifically?thread command?web_fetch?When a tweet has high engagement or is a thread starter:
bun run x-search.ts thread <tweet_id>
When tweets link to GitHub repos, blog posts, or docs, fetch with web_fetch. Prioritize links that:
Group findings by theme, not by query:
### [Theme/Finding Title]
[1-2 sentence summary]
- @username: "[key quote]" (NL, NI) [Tweet](url)
- @username2: "[another perspective]" (NL, NI) [Tweet](url)
Resources shared:
- [Resource title](url) — [what it is]
Use --save flag or save manually to ~/clawd/drafts/x-research-{topic-slug}-{YYYY-MM-DD}.md.
-is:reply, use --sort likes, narrow keywordsOR, remove restrictive operators-$ -airdrop -giveaway -whitelistfrom: or --min-likes 50has:linksOn heartbeat, can run watchlist check to see if key accounts posted anything notable. Flag to Frank only if genuinely interesting/actionable — don't report routine tweets.
skills/x-research/
├── SKILL.md (this file)
├── x-search.ts (CLI entry point)
├── lib/
│ ├── api.ts (X API wrapper: search, thread, profile, tweet)
│ ├── cache.ts (file-based cache, 15min TTL)
│ └── format.ts (Telegram + markdown formatters)
├── data/
│ ├── watchlist.json (accounts to monitor)
│ └── cache/ (auto-managed)
└── references/
└── x-api.md (X API endpoint reference)安装 X Research 后,可以对 AI 说这些话来触发它
Help me get started with X Research
Explains what X Research does, walks through the setup, and runs a quick demo based on your current project
Use X Research to general-purpose X/Twitter research agent
Invokes X Research with the right parameters and returns the result directly in the conversation
What can I do with X Research in my data & analytics workflow?
Lists the top use cases for X Research, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/x-research/ 目录(个人级,所有项目可用),或 .claude/skills/x-research/(项目级)。重启 AI 客户端后,用 /x-research 主动调用,或让 AI 根据上下文自动发现并使用。
X Research 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
X Research 可免费安装使用。请查阅仓库了解许可证信息。
General-purpose X/Twitter research agent. Searches X for real-time perspectives, dev discussions, product feedback, cultural takes, breaking news, and expert...
X Research 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using X Research
Identifies repetitive steps in your workflow and sets up X Research to handle them automatically