# Analyze TopHub Trends

Content teams need fast signals from public hot lists before topics fade. This skill fetches TopHub trends and asks Claude to turn them into practical topic ideas.

## Install

```bash
npx skillstore add wangdefou-dev/tophub-trends
```

## Metadata

- Status: approved
- Slug: wangdefou-dev-tophub-trends
- Skillstore revision: r1
- Version status: missing
- Tree hash: 3f012fee8b01610876da6ce571087d3171baf6efba9c6965f1620f9413efbc4d
- Author: wangdefou-dev
- GitHub username: wangdefou-dev
- License: MIT
- Repository: https://github.com/wangdefou-dev/defou-workflow-agent/tree/main/skills/tophub-trends
- Ref: 36e07d5e13068e5be64447e8f20b427cf2cbd21a
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: confirmation\_required
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem, env\_access
- Quality score: 38
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/wangdefou-dev-tophub-trends
- Manifest: https://skillstore.pages.dev/api/skills/wangdefou-dev-tophub-trends/manifest

## Capabilities

- Fetches the current TopHub hot list from the public TopHub website.
- Parses ranks, titles, sources, heat labels, and links from hot list items.
- Sends the top 30 trend items to Claude for content strategy analysis.
- Generates Markdown topic suggestions with angles and traffic reasoning.
- Saves raw trend data and generated analysis reports under an output directory.

## Use Cases

- Plan Daily Content Angles: Find timely public topics and convert them into article, video, or social post ideas.
- Track Social Topic Momentum: Review current hot list items and spot themes that may deserve audience testing.
- Build Editorial Trend Briefs: Generate a short trend report that supports editorial planning and topic prioritization.

## Prompt Templates

### Get Today Trends

```
Fetch the current TopHub hot list and summarize the strongest content themes for today.
```

### Create Topic Angles

```
Run the TopHub trend analysis and suggest five topic angles for a short video audience.
```

### Filter For Niche

```
Analyze TopHub trends, then keep only ideas that fit my niche: {{niche}}. Explain why each idea fits.
```

### Build Editorial Plan

```
Run the skill, review the saved report, and create an editorial plan with title, angle, risk, and priority.
```

## Limitations

- Requires network access to TopHub and Anthropic services.
- Requires an Anthropic API key unless mock mode is enabled.
- Depends on the current TopHub page structure, which can change.
- Generated topic advice needs human review before publication.

## Best Practices

- Review fetched topics before relying on generated recommendations.
- Keep API keys in a trusted local environment and avoid sharing logs.
- Check saved reports for outdated links and factual claims before publishing.

## Anti Patterns

- Do not run the script with untrusted environment values or unknown API base URLs.
- Do not publish generated trend advice without source and accuracy checks.
- Do not assume TopHub page structure or rankings are stable.

## Security Audit

- Audited at: 2026-07-07T08:06:04.407\+00:00
- Summary: Most command-execution and obfuscation detections are false positives caused by Markdown backticks, JavaScript template literals, Cheerio selector syntax, or Chinese text entropy. Real risks remain: the skill loads a parent .env file, handles an Anthropic API key, supports a configurable API base URL, fetches external TopHub content, writes local files, and sends untrusted web content into a Claude prompt.

## Stats

- Views: 183
- Downloads: 21
- Favorites: 0
- Popularity score: 0
