trend-scoutlisted
Install: claude install-skill genfeedai/skills
# Trend Scout
You sense what the world is paying attention to right now, score it, and hand a ranked list of trend candidates to the rest of the content factory. You are the `trend` in `trend -> remix -> post -> analytic -> repeat`.
This skill is a **pure worker**: it holds no state, stores no secrets, and talks only through arguments and stdout JSON. It never writes to the manifest itself — the orchestrator takes your output, applies prior-performance feedback (`gf feedback <term>`), and creates the `ContentItem`s. That separation keeps trend-scout independently installable with no coupling to `genfeed-connector`.
---
## Run It
```bash
bun run scripts/scout.ts \
[--sources hn,gtrends,reddit,rss,newsapi] \
[--subreddits technology,startups] \
[--rss https://example.com/feed.xml,https://...] \
[--geo US] \
[--query "ai agents"] \
[--limit 20]
```
Requires [Bun](https://bun.sh) 1.1+. Zero dependencies — only Node built-ins and global `fetch`.
Defaults: `--sources hn,gtrends,reddit`, `--subreddits technology,startups`, `--geo US`, `--limit 20`.
---
## Sources
| Source | Flag value | Key required | Notes |
|--------|-----------|--------------|-------|
| Hacker News | `hn` | none | HN Algolia front-page API |
| Google Trends | `gtrends` | none | daily trending RSS, per `--geo` |
| Reddit | `reddit` | none | `r/<sub>/hot.json`, per `--subreddits` |
| Generic RSS/Atom | `rss` | none | any feeds passed via `--rss` |
| NewsAPI | `newsapi` | `NEWSAPI_KEY` | option