X Research

Research high-performing X/Twitter content - identify outliers and viral patterns

This is a skill for AI agents. Install for Cursor, Claude, Codex, and other agents with npx oli-skills install x-research.

  • Cursor reads .cursor/skills/ and the rule created by npx oli-skills init.
  • Claude Code reads .claude/skills/.
  • Codex reads .codex/skills/ and .agents/skills/.

Upstream repo: bradautomates/head-of-content

/x-research@x-research

Research high-performing X/Twitter content - identify outliers and viral patterns

Analyze X/Twitter content from tracked accounts, calculate engagement scores, identify statistical outliers, and generate actionable insights.

Prerequisites

# .env
APIFY_TOKEN=your-apify-token

Install

Part of the head-of-content skill set:

git clone https://github.com/bradautomates/head-of-content.git

Usage

/x-research

Or natural language:

Research what's performing on X right now

What It Does

  1. Fetches recent content from tracked accounts
  2. Calculates engagement scores
  3. Identifies outliers (> mean + 2σ)
  4. Generates report with patterns

Engagement Scoring

SignalWeightWhy
Bookmarks4xStrongest intent signal
Replies3xConversation starter
Retweets2xAmplification
Quotes2xCommentary
Likes1xPassive approval

Outlier threshold: mean + (2.0 × std_dev)

Configure Accounts

Edit .claude/context/x-accounts.md:

| Username | Niche | Notes |
|----------|-------|-------|
| @levelsio | indie hacking | bootstrapped founder |
| @naval | philosophy | high engagement threads |

Output

x-research/YYYY-MM-DD_HHMMSS/
├── raw.json            # Raw API data
├── outliers.json       # Identified outliers
└── report.md           # Human-readable summary

Note

X endpoint returns most popular tweets (not latest), filtered by recency window. Expect sparser results skewed toward hits.

Skills Mixer