📱 Social Media & ContentSkill #40

Social Media Research

Download Authentic SKILL.md (9.7 KB)View Source on GitHub ↗
✓Verified Authentic GitHub File
Supported: Antigravity, Claude Code, Cursor, Windsurf

Instant Browser Download for SKILL.md

No curl, terminal, Node.js, or Git required! Download the official SKILL.md directly into your Downloads folder.

1
Click "Download Authentic SKILL.md"

Your browser immediately downloads the authentic file (9.7 KB) directly into your local Downloads folder.

2
Move file into your project or IDE folder

Place the downloaded SKILL.md into the skills path for your chosen AI assistant:

  • Google Antigravity: <project>/.agents/skills/social-media-research/SKILL.md (or global in ~/.gemini/antigravity/skills/social-media-research/SKILL.md)
  • Claude Code: ~/.claude/skills/social-media-research/SKILL.md
  • Cursor: <project>/.cursor/skills/social-media-research/SKILL.md or ~/.cursor/skills/social-media-research/SKILL.md
  • Windsurf / VS Code: <project>/.agents/skills/social-media-research/SKILL.md
3
Start Prompting

Your agent automatically discovers the skill. You don't need any restart—it's immediately active!

📄 Authentic File: README.md9.7 KB
✓ Authentic From Repository
<div align="center">
  <h1>🔍 social-media-research-skill</h1>
   <p>
    <a href="https://www.npmjs.com/package/sc-research"><img src="https://img.shields.io/npm/v/sc-research" alt="NPM Version" /></a>
    <img src="https://img.shields.io/node/v/sc-research" alt="Node Version" />
    <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License" /></a>
  </p>
  <h3>Social Media & Public Opinion Analysis for AI Agents</h3>
  <p>Analyze what real people are saying on <b>Reddit</b> and <b>X</b> — powered by live data, not outdated training sets.</p>

 
</div>

---

<p align="center">
  <a href="#-what-is-it">🤔 What is it?</a> •
  <a href="#-features">✨ Features</a> •
  <a href="#why-social-media-research-skill">❓ Why?</a> •
  <a href="#-quick-start">🚀 Quick Start</a> •
  <a href="#-analysis-types">📊 Analysis Types</a> •
  <a href="#-cli-reference">🔧 CLI Reference</a> •
  <a href="#️-development">🛠️ Development</a> •
  <a href="#-contributing">🤝 Contributing</a>
</p>

---

## 🤔 What is it?

**social-media-research-skill** is a social media & public opinion analysis skill for AI agents. It pulls **live discussions from real people** on **Reddit** and **X (Twitter)** and turns them into structured, evidence-backed insights — with real quotes, real sentiment, and up-to-date data. No hallucinated summaries. No stale training data. Just what people are **actually saying right now**.

Works with **Claude Code**, **Cursor**, **Windsurf**, and other AI coding assistants.

Use it for:
- 🛒 **Product research** — real user opinions before you buy
- 📈 **Market trends** — discover what's gaining traction early
- 🏢 **Brand monitoring** — track public reaction to launches and events
- ⚔️ **Competitive analysis** — understand real arguments on every side
- 🔍 **Community research** — find what people are talking about right now
- ✅ **Decision making** — crowd-sourced verdicts backed by real experiences

---

## ✨ Features

### ⚡ Quick Answer — Fast, direct answers
Ask any question and get a straight answer pulled from real social media discussions. No deep analysis, just a quick summary of what people are saying.

> _"Quick answer: Best $20 iems?"_

> **Based on recent Reddit and X discussions**, the most recommended IEMs under $20 are:
> 1. **Moondrop Chu II** — praised for balanced tuning and build quality at the price
> 2. **7Hz Salnotes Zero** — wide soundstage, often called "best value in audio"
> 3. **CCA CRA+** — bass-heavy V-shape, popular with casual listeners
>
> _Sources: r/headphones, r/iems, X discussions from the past 7 days_

---

### 🏆 Ranking — Community-driven rankings
Find out what people actually recommend. Get ranked lists based on real community consensus, not SEO-optimized listicles.

> _"What are the best open-back headphones for gaming in 2025?"_

![Rank Analysis](https://raw.githubusercontent.com/skainguyen1412/social-media-research-skill/main/assets/rank.png)

[👉 View Live Example](https://skainguyen1412.github.io/social-media-research-skill/visualize/index.html?mock=classified_rank)

---

### 💬 Sentiment — Public opinion at a glance
Understand how people feel about any product, brand, or topic. See the breakdown — positive, negative, mixed — backed by direct quotes.

> _"How do people feel about the Sony WH-1000XM6? Is the feedback positive?"_

![Sentiment Analysis](https://raw.githubusercontent.com/skainguyen1412/social-media-research-skill/main/assets/sentiment.png)

[👉 View Live Example](https://skainguyen1412.github.io/social-media-research-skill/visualize/index.html?mock=classified_sentiment)

---

### 📈 Trends — Track how opinions shift over time
See when something started trending, whether it's gaining or losing momentum, and how public opinion evolves.

> _"When did the Sennheiser HD600 start trending again? Show me the timeline of its popularity."_

![Trends Analysis](https://raw.githubusercontent.com/skainguyen1412/social-media-research-skill/main/assets/trends.png)

[👉 View Live Example](https://skainguyen1412.github.io/social-media-research-skill/visualize/index.html?mock=classified_trend)

---

### ⚔️ Controversy — Map both sides of any debate
Understand polarizing topics by seeing every argument laid out with real evidence from both sides.

> _"What is the debate about EQing audiophile headphones? Is there a lot of disagreement?"_

![Controversy Analysis](https://raw.githubusercontent.com/skainguyen1412/social-media-research-skill/main/assets/controversy.png)

[👉 View Live Example](https://skainguyen1412.github.io/social-media-research-skill/visualize/index.html?mock=classified_controversy)

---

### 🔥 Discovery — Surface emerging topics early
Spot what's gaining traction in niche communities before it goes mainstream.

> _"What is trending in the  world this week? Show me viral topics."_

![Discovery Analysis](https://raw.githubusercontent.com/skainguyen1412/social-media-research-skill/main/assets/discovery.png)

[👉 View Live Example](https://skainguyen1412.github.io/social-media-research-skill/visualize/index.html?mock=classified_discovery)

---

## Why social-media-research-skill?

- **Real data** — Pulls live discussions from Reddit and X, not cached or training data
- **Real opinions** — Every insight is backed by actual quotes from real people
- **Up to date** — Analyzes today's conversations, not last year's
- **Structured output** — Results come as typed JSON + interactive dashboards, ready for your agent to use
- **Works with your AI assistant** — Installs as a skill for Claude, Cursor, Windsurf, and more

---

## 🚀 Quick Start

### 1. Install

Install the CLI globally via npm:

```bash
npm install -g sc-research
```

Requires **Node.js >= 20**.

### 2. Configure API keys

Create a `.sc-research` file in your project root:

```env
OPENAI_API_KEY=sk-...    # Required for Reddit data
XAI_API_KEY=xai-...      # Required for X (Twitter) data
```

You need at least one key. The tool will gracefully skip any pipeline whose key is missing.

### 3. Set up your AI assistant

Run the init command to install social-media-research-skill into your AI assistant's workspace:

```bash
# For Claude Code
sc-research init --ai claude

# For Cursor
sc-research init --ai cursor

# For Windsurf
sc-research init --ai windsurf

# For Antigravity
sc-research init --ai antigravity

# Or set up multiple at once
sc-research init --ai claude,cursor

# Or all supported platforms
sc-research init --ai all
```

Supported platforms: `claude` · `cursor` · `windsurf` · `antigravity` · `all`

### 4. Start asking questions

That's it — you're ready. Just ask your AI assistant questions in **natural language**, like you normally would:

- _"What do people think about the Sony WH-1000XM6?"_
- _"What's trending in the gaming community this week?"_
- _"Is it worth upgrading to the new MacBook Air M4?"_
- _"What are the best budget IEMs under $50?"_

Your AI assistant will automatically use social-media-research-skill to fetch live discussions from Reddit and X, analyze them, and give you a structured answer backed by real data.

### 5. Visualize results

For deeper analysis, your agent generates structured JSON files. You can view them in an interactive dashboard:

```bash
sc-research visualize
```

This opens a local dashboard in your browser with charts, sentiment breakdowns, ranked lists, trend timelines, and direct quotes from real discussions.

### Using the CLI directly

You can also use the CLI directly without going through your AI assistant:

```bash
# Quick research
sc-research research "best budget IEMs under $50"

# Deep dive — pulls more data for a thorough analysis
sc-research research:deep "best budget IEMs under $50"
```

---

## 📊 Analysis Types

| Type | Output | Description |
|---|---|---|
| **Rank** | `classified_rank.json` | Community-driven rankings with social evidence |
| **Sentiment** | `classified_sentiment.json` | Public opinion breakdown by mood and source |
| **Trend** | `classified_trend.json` | Momentum and popularity shifts over time |
| **Controversy** | `classified_controversy.json` | Polarized debates mapped with opposing arguments |
| **Discovery** | `classified_discovery.json` | Emerging topics surfaced from niche communities |

---

## 🔧 CLI Reference

| Command | Description |
|---|---|
| `sc-research research "<topic>"` | Fetch social data on a topic |
| `sc-research research:deep "<topic>"` | Deep fetch for comprehensive analysis |
| `sc-research visualize` | Launch interactive dashboard |
| `sc-research init --ai <targets>` | Install agent skills for your AI assistant |

**Flags:**
- `--source` — `reddit`, `x`, or `both` *(default)*
- `--from` / `--to` — Date range filter (`YYYY-MM-DD`)
- `--mode` — `research` *(default)* or `discovery`

---

## 🛠️ Development

```bash
bun run research "topic"    # Fetch data
bun run visualize           # Launch dashboard
bun test                    # Run tests
bun run build               # Build for distribution
```

---

## 🤝 Contributing

Contributions are highly welcome! Here are some areas where you can help:

- **New analysis templates** — Create new ways to analyze social data (e.g., comparison, timeline, geographic breakdown)
- **Data handling** — Improve how raw data is fetched, cleaned, and processed from Reddit and X
- **New data sources** — Add support for other platforms beyond Reddit and X
- **Dashboard visualizations** — Build new chart types or improve existing ones
- **Bug fixes & improvements** — Always appreciated

Feel free to open an issue or submit a pull request.

---

## Acknowledgements

Inspired by [last30days-skill](https://github.com/mvanhorn/last30days-skill)

---

## 📄 License

[MIT](LICENSE) © 2026

In Google Antigravity, skills reside in your project workspace under .agents/skills/social-media-research/SKILL.md or globally in ~/.gemini/antigravity/skills/.

npx skills add https://github.com/skainguyen1412/social-media-research-skill --skill social-media-research -y
# Workspace path: .agents/skills/social-media-research/SKILL.md
# Global path: ~/.gemini/antigravity/skills/social-media-research/SKILL.md

In Claude Code, install globally using the official skills CLI or add via the Claude Code plugin marketplace.

npx skills add https://github.com/skainguyen1412/social-media-research-skill --skill social-media-research -g -y
# Or inside Claude Code session:
/plugin install skainguyen1412/social-media-research-skill

In Cursor, place the skill folder in .cursor/skills/social-media-research/SKILL.md or at the workspace level in .agents/skills/.

npx skills add https://github.com/skainguyen1412/social-media-research-skill --skill social-media-research -y
# Or place directly into:
# ~/.cursor/skills/social-media-research/SKILL.md

In Windsurf / VS Code, agent skills can be installed targeting the windsurf profile or loaded as project rules.

npx skills add https://github.com/skainguyen1412/social-media-research-skill --skill social-media-research -a windsurf -y

🎯 What It Does & How It Works

Analyzes live public opinion on Reddit and X—real quotes, sentiment, trends. Structured JSON + dashboards, not hallucinated summaries.

Core Operational Guidelines & Directives

▸🤔 What is it?
▸✨ Features
▸Why social-media-research-skill?
▸🚀 Quick Start
📦Sub-Skills & Architecture:

This skill is completely self-contained in SKILL.md. All workflows, constraints, and instructions are directly embedded in this single file, making it immediately usable with 1-click download.

⏱️ When to Use

Product research, brand monitoring, competitive narrative mapping, pre-purchase decisions.

💡 Context from Repository & Architecture

Pulls live discussions—not training data. Supports claude, cursor, windsurf, antigravity, or all init targets.

⚡ Starter Prompt Template

Copy and paste this starter prompt into your AI assistant (Antigravity, Claude, Cursor, ChatGPT) to activate this skill:

Prompt TemplateClick button to copy formatted prompt
Act as an expert using the "Social Media Research" agent skill. Follow the specialized guidelines to accomplish the task according to best practices.

More in Social Media & Content

📱 Social Media & Content#31

Social Media Content OS (bundle)

17-skill content system: voice, posts, reels, thumbnails, carousels, scoring, analytics, niche research, infographics—newsletter-first, multi-channel output.

#social#media#content#bundle
Agents:AntigravityClaudeCursorWindsurf
📱 Social Media & Content#32

Voice Builder

Interviews you, analyzes writing samples, produces about-me.md and voice.md—the foundation file for all other content skills.

#social#media#content#voice#builder
Agents:AntigravityClaudeCursorWindsurf
📱 Social Media & Content#33

Reels Scripting

Reverse-engineers outlier Reels via Apify + Gemini Flash, then writes a new script in your voice from newsletter/source material.

#social#media#content#reels#scripting
Agents:AntigravityClaudeCursorWindsurf
Copied to clipboard!