google-trends

Use this skill when the user wants to fetch, search, or analyze Google Trends data for any country or category. Triggers when users say "what's trending in [country]", "popular [topic] in [country]", "Google Trends for [country]", or invoke /google-trends. Fetches real-time trending data using trendspyg for 125+ countries and 20 categories.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "google-trends" with this command: npx skills add ezcat207/google-trends-skill/ezcat207-google-trends-skill-google-trends

Google Trends Skill

Fetch real-time trending searches from Google Trends for any country and category.

When to Use This Skill

Trigger when the user:

  • Asks "what's trending in [country]?"
  • Asks "popular [games/AI/tech/sports/etc.] in [country]"
  • Says "Google Trends for [country]"
  • Wants to compare trends between countries
  • Invokes /google-trends

Parameters

FlagDefaultOptions
--geoUSAny 2-letter country code: US, BR, ID, GB, JP, IN, DE, FR, AU, MX, ...
--categoryallall, games, technology, sports, entertainment, business, health, science, food, travel, beauty, politics, shopping
--hours244, 24, 48, 168 (7 days)
--top20Any integer
--methodautorss (fast, no category filter), csv (Selenium, supports categories)

Auto method logic: Uses rss when --category all, uses csv when a specific category is given.

Country Code Reference

CountryCodeCountryCode
BrazilBRIndonesiaID
USAUSIndiaIN
UKGBJapanJP
GermanyDEFranceFR
AustraliaAUMexicoMX
CanadaCASouth KoreaKR
ArgentinaARNigeriaNG
PhilippinesPHThailandTH

Script Execution

CRITICAL: Always use the run.py wrapper. It handles venv setup automatically.

Basic Usage (general trends, fast)

python scripts/run.py --geo BR

Category-specific trends (uses Selenium)

python scripts/run.py --geo BR --category games
python scripts/run.py --geo ID --category technology
python scripts/run.py --geo US --category sports --hours 48

Multiple countries (run in parallel)

python scripts/run.py --geo BR --category games &
python scripts/run.py --geo ID --category games &
wait

Top N results with longer period

python scripts/run.py --geo JP --category entertainment --hours 168 --top 30

Workflow

  1. Parse user intent → extract country, category, time period
  2. Map to parameters:
    • "Brazil" → --geo BR
    • "Indonesia" → --geo ID
    • "games" → --category games
    • "AI/tech/technology" → --category technology
    • "past week" / "7 days" → --hours 168
  3. Inform user: "Fetching [category] trends for [country] (past [N] hours)..."
  4. Run script and parse JSON output
  5. Present results as a formatted table with rank, trend name, and search volume

Output Format

Script outputs JSON:

{
  "geo": "BR",
  "category": "games",
  "hours": 24,
  "method": "csv",
  "count": 20,
  "trends": [
    {"rank": 1, "trend": "grêmio x internacional", "volume": "500K+", "started": "..."},
    {"rank": 2, "trend": "arsenal x chelsea", "volume": "500K+", "started": "..."}
  ]
}

Presenting Results

Format output as a clean markdown table:

## 🔥 Trending in Brazil — Games (past 24h)

| # | Trend | Volume |
|---|-------|--------|
| 1 | grêmio x internacional | 500K+ |
| 2 | arsenal x chelsea | 500K+ |
...

Add brief context/insights after the table when relevant (e.g., "Football dominates Brazil's trending games — the Grenal derby between Grêmio and Internacional was the biggest search spike.").

Error Handling

ErrorAction
BrowserError / timeoutRetry with --method rss (drops category filter)
InvalidParameterErrorCheck geo code or category name
venv setup failureCheck Python 3.8+ is available
No trends returnedTry broader category or different time window

Troubleshooting

  • CSS method slow: normal — Selenium launches Chrome headlessly
  • Category filter not working with RSS: RSS doesn't support categories, use --method csv
  • Empty results: try --hours 168 for a wider time window
  • Country not found: run python scripts/run.py --list-countries to see all supported codes

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

google-trends

No summary provided by upstream source.

Repository SourceNeeds Review
General

Xiaohongshu Crawler

爬取小红书内容,支持登录搜索、笔记详情获取、用户主页信息及热门笔记,无需登录部分功能可用。

Registry SourceRecently Updated
General

TAPD

当用户需要查询、修改 TAPD 项目中需求、缺陷、任务等信息时,如修改状态、添加评论等,通过调用 TAPD MCP 提供相应的服务。当用户要求时,通过 send_qiwei_message 发送消息到企业微信。

Registry SourceRecently Updated
General

Roast Generator

吐槽生成器。温和吐槽、毒舌模式、朋友互怼、名人吐槽、自嘲、Battle模式。Roast generator with gentle, savage modes. 吐槽、毒舌、搞笑。

Registry SourceRecently Updated