X/Twitter topic intelligence via Actionbook browser automation
npx claudepluginhub samcuipogobongo/x-collectX/Twitter topic intelligence via Actionbook browser automation
This skill is built with Trellis — an all-in-one AI framework & toolkit for Claude Code, Cursor & iFlow.
Try it out here
English | 中文
X/Twitter topic intelligence skill for Claude Code. Uses Actionbook browser automation to search x.com directly, scraping real tweets with engagement metrics.
/x-collect [topic] opens x.com in Chrome, runs 3 search rounds, and extracts real tweet data:
min_faves:50 since:YESTERDAY, hottest posts from the last 24hmin_faves:100, high-engagement accounts onlyOptional bonus rounds:
-filter:media -filter:links) with 500+ likes, for studying copy patternsmin_replies:30), to find what drives discussionOutput: JSONL + Markdown in ./x-collect-data/ with real handles, tweet text, likes, retweets, replies, views, and a Content Opportunity Summary.
| Dependency | Purpose | Required |
|---|---|---|
| Claude Code | Runtime | Yes |
| Actionbook CLI | Browser automation (actionbook command) | Yes |
| Actionbook Chrome Extension | Controls user's existing Chrome browser | Yes |
| Logged-in X/Twitter session | Chrome must have x.com logged in | Yes |
Follow the official guide: Actionbook Installation
actionbook extension install # install extension files
# Then load unpacked extension in Chrome (chrome://extensions)
actionbook extension serve # start bridge (keep running)
claude plugin marketplace add SamCuipogobongo/x-collect
claude plugin install x-collect
npm install -g x-collect-skill
curl -fsSL https://raw.githubusercontent.com/SamCuipogobongo/x-collect/main/install.sh | bash
git clone https://github.com/SamCuipogobongo/x-collect.git
mkdir -p ~/.claude/skills/x-collect
cp x-collect/SKILL.md ~/.claude/skills/x-collect/
# In Claude Code (with Chrome open and x.com logged in):
/x-collect Claude Code # research "Claude Code" on X
/x-collect vibe coding # research "vibe coding" on X
/x-collect # interactive mode (asks for topic)
Data saved to ./x-collect-data/:
| File | Description |
|---|---|
intel.jsonl | One JSON object per tweet, deduped by URL |
intel.md | Formatted report with engagement data + Content Opportunity Summary |
{
"url": "https://x.com/bcherny/status/123",
"text": "I'm Boris and I created Claude Code...",
"intel_type": "viral_post",
"topic": "Claude Code",
"account": "@bcherny",
"display_name": "Boris Cherny",
"angle": "Creator shares vanilla setup with 15+ parallel sessions",
"format": "thread",
"likes": 5800,
"retweets": 1200,
"replies": 340,
"views": 6500000,
"posted_at": "2026-01-15T10:30:00Z",
"key_takeaway": "Behind-the-scenes from creator + actionable tips = mega engagement",
"collected": "2026-02-08"
}
| Type | Source |
|---|---|
viral_post | x.com search "Top" tab |
trending_post | Top tab with min_faves:50 since:YESTERDAY |
kol_post | x.com search with min_faves:100 filter |
hook_study | Pure text posts (-filter:media -filter:links) with 500+ likes |
conversation_starter | High-reply posts (min_replies:30) |
The skill uses Actionbook Extension mode to:
No third-party API needed — reads directly from x.com via Actionbook browser automation.
Development marketplace for Superpowers core skills library
Harness-native ECC skills, hooks, rules, MCP conventions, and operator workflows
Open Design — local-first design app exposed to coding agents over MCP. Install once with your agent's plugin command and projects/files/skills are reachable through stdio.