Install
openclaw skills install @linkfox-ai/linkfox-google-trend-get-trend-by-time查询并分析Google Trends在指定时间范围和国家/地区的实时热门话题与热搜。当用户提到谷歌趋势、热门话题、实时热搜、流行趋势、当前热点、近期热门、病毒式话题、时间段热度、区域趋势分析、Google Trends, real-time hot topics, trending topics, popular trends, recent trending searches, trend discovery时触发此技能。即使用户未明确说"Google Trends",只要其需求涉及发现特定市场近期热门或正在流行的话题和搜索词,也应触发此技能。
openclaw skills install @linkfox-ai/linkfox-google-trend-get-trend-by-timeThis skill guides you on how to query and analyze Google Trends data for trending topics within a configurable time window, helping users discover real-time popular searches and emerging trends across 18 supported regions.
Google Trends reflects real user search interest on Google. This tool retrieves trending topics (recently popular queries) for a chosen country/region over a specified number of recent days. It is ideal for spotting what is currently gaining traction in a market.
Key data points per trending query:
A positive increasePercentage means rising interest; a negative value means declining interest. A value near 100 signals an explosive spike.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| days | integer | No | 7 | Time range in days. Common values: 1 (last 24 hours), 2, 7 (past week) |
| region | string | No | US | Country/region code. See Supported Regions below |
US (United States), GB (United Kingdom), JP (Japan), CA (Canada), MX (Mexico), DE (Germany), FR (France), IT (Italy), ES (Spain), NL (Netherlands), AU (Australia), SG (Singapore), AE (United Arab Emirates), BR (Brazil), IN (India), TR (Turkey), PL (Poland), SE (Sweden)
Default region is US. Use US when the user does not specify a region.
POST /googleTrend/getTrendByTime(完整参数/响应/错误码见 references/api.md)python scripts/google_trends_rising.py '<JSON 参数>' [--inline]输出策略(脚本默认行为):
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-google-trend-get-trend-by-time-<timestamp>.json(<cwd> 为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;<session> 取自环境变量 SESSION_ID,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)total/costToken、最大列表字段的长度 + 前 3 条样本)--inline 强制全量打印到 stdout(同样落盘)读数据建议:先看摘要判断是否足够;需要具体字段时优先用 jq或ConvertFrom-Json 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
1. What's trending in the US over the past week?
{"days": 7, "region": "US"}
2. Hot topics in Japan in the last 24 hours
{"days": 1, "region": "JP"}
3. Trending searches in Germany over the past 2 days
{"days": 2, "region": "DE"}
4. Recent buzz in Brazil this week
{"days": 7, "region": "BR"}
5. What's gaining popularity in the UK right now?
{"days": 1, "region": "GB"}
increasePercentage is notably high (e.g., above 50%), call attention to these breakout topics.chartOption, describe the chart structure (title, axes, data points) so the user understands the visual trend.days parameter controls recency; this tool is designed for recent/real-time trends, not long historical analysis.Applicable -- Queries about trending/popular topics on Google:
| User Says | Scenario |
|---|---|
| "What's trending right now" | Real-time trending topics |
| "Hot searches in [country]" | Regional trend discovery |
| "What topics are popular this week" | Weekly popularity overview |
| "Any viral topics in [market]" | Breakout / spike detection |
| "Show me Google Trends for [region]" | Region-specific trend query |
| "What's buzzing in the last 24 hours" | Short-window trend scan |
| "Trending searches in [country] recently" | Recent trend analysis |
| "What are people searching for in [region]" | General search interest exploration |
Not applicable -- Needs beyond trending topic discovery:
Boundary judgment: When users say "market trends" or "what's popular", if it boils down to discovering what people are currently searching for on Google in a specific region, this skill applies. If they are asking about stock market trends, social media virality, or long-term historical search patterns, it does not apply.
Feedback:
Auto-detect and report feedback via the Feedback API when any of the following apply:
Call the feedback API as specified in references/api.md. Do not interrupt the user's flow.
For more high-quality, professional cross-border e-commerce skills, set LinkFox Skills.