← Back to Skills Marketplace
satnamra

Google Trends

by satnamra · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
2712
Downloads
1
Stars
19
Active Installs
1
Versions
Install in OpenClaw
/install google-trends
Description
Monitor Google Trends - get trending searches, compare keywords, and track interest over time. Use for market research, content planning, and trend analysis.
README (SKILL.md)

Google Trends Monitoring

Monitor and analyze Google Trends data for market research, content planning, and trend tracking.

Capabilities

  1. Daily Trending Searches - What's trending today in any country
  2. Keyword Interest Over Time - Historical trend data for keywords
  3. Keyword Comparison - Compare multiple keywords
  4. Related Topics & Queries - Discover related searches
  5. Regional Interest - See where keywords are most popular

Usage

Get Trending Searches (Today)

Use web_fetch to get Google Trends RSS:

# US Daily Trends
curl -s "https://trends.google.com/trending/rss?geo=US" | head -100

# Lithuania
curl -s "https://trends.google.com/trending/rss?geo=LT" | head -100

# Worldwide
curl -s "https://trends.google.com/trending/rss?geo=" | head -100

Check Keyword Interest

For detailed keyword analysis, use the Google Trends website:

# Open in browser
open "https://trends.google.com/trends/explore?q=bitcoin&geo=US"

# Or fetch via web_fetch for basic data
web_fetch "https://trends.google.com/trends/explore?q=bitcoin"

Compare Keywords

# Compare multiple terms (comma-separated)
open "https://trends.google.com/trends/explore?q=bitcoin,ethereum,solana&geo=US"

Scripts

trends-daily.sh

Get today's trending searches:

#!/bin/bash
# Usage: ./trends-daily.sh [country_code]
# Example: ./trends-daily.sh LT

GEO="${1:-US}"
curl -s "https://trends.google.com/trending/rss?geo=$GEO" | \
  grep -o '\x3Ctitle>[^\x3C]*\x3C/title>' | \
  sed 's/\x3C[^>]*>//g' | \
  tail -n +2 | \
  head -20

trends-compare.sh

Generate comparison URL:

#!/bin/bash
# Usage: ./trends-compare.sh keyword1 keyword2 keyword3
# Example: ./trends-compare.sh bitcoin ethereum solana

KEYWORDS=$(echo "$@" | tr ' ' ',')
echo "https://trends.google.com/trends/explore?q=$KEYWORDS"

Example Workflows

Morning Market Research

1. Get US trending searches
2. Get LT trending searches  
3. Check if any trends relate to our business
4. Report interesting findings

Content Planning

1. Compare potential blog topics
2. Find which has more search interest
3. Check seasonal patterns
4. Decide on content focus

Competitor Monitoring

1. Compare brand names
2. Track interest over time
3. Identify when competitors spike
4. Investigate causes

Cron Job Integration

Set up automated trend monitoring:

// Example cron job for daily trends report
{
  "name": "Daily Trends Report",
  "schedule": { "kind": "cron", "expr": "0 9 * * *" },
  "payload": {
    "kind": "agentTurn",
    "message": "Get today's Google Trends for US and LT. Summarize top 10 trends for each. Highlight any tech/business related trends."
  }
}

Countries

Common country codes:

  • US - United States
  • LT - Lithuania
  • DE - Germany
  • GB - United Kingdom
  • FR - France
  • JP - Japan
  • (empty) - Worldwide

Limitations

  • Google Trends doesn't provide official API
  • Rate limiting may apply for heavy usage
  • Data is relative (not absolute numbers)
  • Historical data limited to ~5 years for detailed view

Tips

  1. Use specific terms - "iPhone 15 Pro" vs just "iPhone"
  2. Check seasonality - Some trends are cyclical
  3. Compare with baseline - Use a stable term for reference
  4. Look at related queries - Discover new opportunities
  5. Monitor competitors - Track brand interest over time
Usage Guidance
This skill fetches public Google Trends pages (trends.google.com) and runs small shell commands to format results — it does not ask for credentials or install code. Before installing: (1) confirm your runtime has curl/grep/sed/nl (the skill didn't declare required binaries); (2) be aware network requests to Google will reveal your IP to Google and may be rate-limited; (3) the SKILL.md references a compare script that isn't included — verify expected files; (4) the skill uses the 'open' command in examples (may behave differently on non-macOS systems); (5) if you prefer the agent not run automatically on a schedule, disable autonomous/cron invocation in your agent config. Overall this appears coherent and proportional to its purpose.
Capability Analysis
Type: OpenClaw Skill Name: google-trends Version: 1.0.0 The skill is classified as suspicious due to a critical shell injection vulnerability found in the `trends-daily.sh` script, which is also defined in `SKILL.md`. The script directly interpolates the `$GEO` variable (derived from user input `$1`) into a `curl` command without proper sanitization. This allows for arbitrary command execution if an attacker can control the input provided to the script by the AI agent, posing a significant Remote Code Execution (RCE) risk. While the skill's stated purpose is benign, this lack of input sanitization constitutes a high-severity vulnerability.
Capability Assessment
Purpose & Capability
Name/description (Google Trends monitoring) aligns with the provided instructions and scripts: they fetch publicly-available RSS/explore URLs from trends.google.com and format or construct URLs for comparison.
Instruction Scope
SKILL.md and trends-daily.sh only perform public web fetches and local text processing (curl, grep, sed, nl, open). The doc shows a trends-compare.sh snippet but that file is not present in the bundle — minor inconsistency. Instructions reference the 'open' command (platform-specific) and rely on common CLI tools that the runtime must provide.
Install Mechanism
No install spec — instruction-only skill and a tiny included script. Nothing is downloaded or written during install, which minimizes disk/remote code risk.
Credentials
No environment variables, credentials, or config paths are requested. The skill's network access is limited to public Google Trends endpoints, which matches its purpose.
Persistence & Privilege
always is false and there is no elevated persistence or cross-skill configuration. Autonomous invocation is allowed by default (normal); the example cron payload would cause the agent to run the described workflow, which is consistent with the skill's purpose.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install google-trends
  3. After installation, invoke the skill by name or use /google-trends
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial ClawHub publish - Google Trends monitoring skill
Metadata
Slug google-trends
Version 1.0.0
License
All-time Installs 20
Active Installs 19
Total Versions 1
Frequently Asked Questions

What is Google Trends?

Monitor Google Trends - get trending searches, compare keywords, and track interest over time. Use for market research, content planning, and trend analysis. It is an AI Agent Skill for Claude Code / OpenClaw, with 2712 downloads so far.

How do I install Google Trends?

Run "/install google-trends" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Google Trends free?

Yes, Google Trends is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Google Trends support?

Google Trends is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Google Trends?

It is built and maintained by satnamra (@satnamra); the current version is v1.0.0.

💬 Comments