google-trends-ath-detector
專注於 Google Trends 數據擷取與分析,使用 Selenium 模擬真人瀏覽器行為抓取數據,自動判定搜尋趨勢是否創下歷史新高(ATH)或出現異常飆升,並提供訊號分型(季節性/事件驅動/結構性轉變)。
npx skills add majiayu000/claude-skill-registry --skill google-trends-ath-detector --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
<essential_principles> **Google Trends ATH Detector 核心原則** **1. 模擬真人瀏覽器行為抓取 Google Trends** 本技能使用 Selenium 模擬真人瀏覽器: - 移除 `navigator.webdriver` 自動化標記 - 隨機輪換 User-Agent(Chrome/Firefox/Safari) - 請求間隨機延遲(0.5-2 秒) - 先訪問首頁建立 session,再抓取數據 **2. 訊號分型(Signal Typing)** 搜尋趨勢飆升分為三種類型: | 類型 | 特徵 | 解讀 | |--------------------|----------------------|------------------------------| | Seasonal spike | 每年固定月份重複 | 制度性週期(投保季、報稅季) | | Event-driven shock | 短期尖峰、z-score 高 | 新聞/政策/突發事件 | | Regime shift | 趨勢線上移、持續高位 | 結構性關注上升 | **3. 分析公式** ``` ATH 判定:latest_value >= max(history) * 0.98 異常判定:zscore >= threshold (default: 2.5) 訊號分型:based on (is_ath, is_anomaly, trend_direction) ``` **4. 描述性分析優先** 本技能提供**客觀的數學分析結果**: - 輸出訊號類型、異常分數等量化指標 - 提取 related queries 作為驅動因素參考 - 由用戶根據專業知識自行解讀 </essential_principles> <intake> **您想要執行什麼操作?** 1. **Detect** - 快速偵測是否創下 ATH 或出現異常 2. **Analyze** - 深度分析訊號類型與驅動因素 3. **Compare** - 比較多個主題的趨勢共振 **等待回應後再繼續。** </intake> <routing> | Response | Workflow | Description | |-------------------------------------------|----------------------|---------------------| | 1, "detect", "ath", "check", "是否創新高" | workflows/detect.md | 快速偵測 ATH 與異常 | | 2, "analyze", "deep", "分析", "訊號" | workflows/analyz
pip install selenium webdriver-manager beautifulsoup4 lxml loguru python scripts/trend_fetcher.py \ Debug 模式(顯示瀏覽器、保存 HTML)
What does the google-trends-ath-detector skill do?
專注於 Google Trends 數據擷取與分析,使用 Selenium 模擬真人瀏覽器行為抓取數據,自動判定搜尋趨勢是否創下歷史新高(ATH)或出現異常飆升,並提供訊號分型(季節性/事件驅動/結構性轉變)。
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill google-trends-ath-detector --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
