# llm-public-opinion-analytics

Monitors hot search rankings across 15 platforms, clusters topics, and runs LLM sentiment analysis with multi-channel alerts. Ideal for tracking trends in real time.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 2300 installs · ★ 5
- Author: reason-machines
- License: LicenseRef-Unknown · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/data-skills/tree/HEAD/skills/llm-public-opinion-analytics/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/llm-public-opinion-analytics

## What it does

The skill tracks 26 ranking boards across 15 services, including Weibo, Douyin, Bilibili, and Baidu. It stores parsed items in a MySQL database, then relies on language models to cluster topics and evaluate post sentiment.

The repository splits into three core parts: a scraper suite under `hotsearchcrawler/`, an analysis pipeline in `hotsearch_analysis_agent/`, and a FastAPI interface in `app.py` running on port 8000. It sends notifications through Telegram, SMTP email, and WeChat Work bots.

Without ChromeDriver or EdgeDriver placed in your system `PATH`, the scrapers fail immediately. You also need Python 3.8+, MySQL 5.7+ or 8.0+, and an OpenAI-compatible API key or a local Huawei Pangu model.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/data-skills --skill llm-public-opinion-analytics -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/llm-public-opinion-analytics/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/llm-public-opinion-analytics/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/data-skills --skill llm-public-opinion-analytics -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/llm-public-opinion-analytics/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/data-skills --skill llm-public-opinion-analytics -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/llm-public-opinion-analytics/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/data-skills llm-public-opinion-analytics
```

2. **Manually: put the files in place**
- File: `.github/skills/llm-public-opinion-analytics/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/data-skills --skill llm-public-opinion-analytics -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/data-skills --path skills/llm-public-opinion-analytics
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/llm-public-opinion-analytics/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/data-skills --skill llm-public-opinion-analytics -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/data-skills/tree/HEAD/skills/llm-public-opinion-analytics/SKILL.md

## When to use it
- scrape hot search rankings across 15 web platforms
- cluster trending news topics using language models
- evaluate sentiment scores for social media discussions
- dispatch hot topic alerts to Telegram and WeChat Work

## Example prompts
- Analyze sentiment trends for artificial intelligence topics on Weibo over the past 7 days
- Cluster trending search queries from Bilibili and Zhihu into 5 topics
- Set up real-time hot search alerts directed to Telegram

## Similar
- [xlsx](https://affpapa.org/en/nevibecode/skills/xlsx.md) — skill · 187223 installs
- [google-agents-cli-observability](https://affpapa.org/en/nevibecode/skills/google-agents-cli-observability.md) — skill · 511300 installs
- [caveman-evidence-review](https://affpapa.org/en/nevibecode/skills/caveman-evidence-review.md) — skill · 104500 installs
- [migration](https://affpapa.org/en/nevibecode/skills/migration.md) — skill · 103900 installs
- [performance-optimization](https://affpapa.org/en/nevibecode/skills/performance-optimization.md) — skill · 65200 installs
- [supabase](https://affpapa.org/en/nevibecode/skills/supabase.md) — skill · 8 installs

From the same set: [reason-machines/data-skills](https://affpapa.org/en/nevibecode/by/reason-machines/data-skills.md) — 62 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
