google-trends について
google-trends は、ブラウザーを使わずに Google Trends を調べるコマンドラインスキルです。複数の Google プロパティで関連クエリや急上昇クエリ、期間ごとの関心度を確認できます。
主な機能
- 01YouTube、ウェブ、画像、ニュース、ショッピングのトレンド検索
- 02キーワード、期間、カテゴリの指定
- 03人気および急上昇関連クエリの表示
- 04テーブル、JSON、Markdown での出力
活用シーン
- 01YouTube 検索トレンドによる動画テーマの検証
- 02テーマへの関心が上昇しているかの確認
- 03異なるキーワードのトレンド指標の比較
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ j-star-films-studios/ vibecode-protocol-suite --skill google-trendsインストール後、Claude Code で/google-trendsを入力して読み込まれたか確認します。
同梱ファイル
SKILL.md と一緒にインストールされる参考資料やスクリプト。
scripts/package.jsonpnpm-lock.yamlsearch.js詳細
Google Trends スキル
ブラウザーを使わずに Google Trends の調査を自動化できます。YouTube、ウェブ、画像、ニュースで、任意のキーワードに関連するトピック、急上昇中の検索キーワード、関心の推移を調べます。
前提条件
Node.js 18 以降と PNPM が必要です。
# Check Node
node --version
# Install dependencies (first-time only)
cd .agent/skills/google-trends/scripts
pnpm install
クイックスタート
# Basic search (YouTube, Last 7 Days, Tech category)
node .agent/skills/google-trends/scripts/search.js -k "Claude AI"
# Search Web instead of YouTube
node .agent/skills/google-trends/scripts/search.js -k "AI agents" -p web
# Extended time range (1 month)
node .agent/skills/google-trends/scripts/search.js -k "VibeCoding" -t "now 1-m"
# Output as JSON for piping
node .agent/skills/google-trends/scripts/search.js -k "Cursor IDE" -o json
CLI リファレンス
Usage: search.js [options]
Options:
-k, --keyword <string> Topic to search (required)
-p, --property <string> youtube | web | images | news | froogle (default: youtube)
-t, --time <string> now 7-d | now 1-m | today 3-m | today 12-m (default: now 7-d)
-c, --category <number> Google Trends category ID (default: 5 = Tech)
-o, --output <string> table | json | markdown (default: table)
-f, --file <path> Save output to file (optional)
--interest Include interest-over-time data (default: false)
-h, --help Show help
プロパティのオプション
| 値 | 検索対象 |
|---|---|
youtube | YouTube 検索のトレンド |
web | Google ウェブ検索のトレンド |
images | Google 画像検索のトレンド |
news | Google ニュースのトレンド |
froogle | Google ショッピングのトレンド |
期間のオプション
| 値 | 期間 |
|---|---|
now 7-d | 過去 7 日間 |
now 1-m | 過去 30 日間 |
today 3-m | 過去 90 日間 |
today 12-m | 過去 12 か月間 |
カテゴリ ID(よく使われるもの)
| ID | カテゴリ |
|---|---|
| 5 | コンピューターと電子機器(テクノロジー) |
| 13 | 芸術とエンターテインメント |
| 174 | スポーツ |
| 3 | ビジネスと産業 |
全リスト:Google Trends のカテゴリ
ワークフローの例
YouTube フェーズ 1 の調査
トピックを検証するには、/youtube-phase1-strategy の実行時にこのスキルを使用します。
# Check if "Claude Cowork" is rising on YouTube
node .agent/skills/google-trends/scripts/search.js -k "Claude Cowork" -p youtube -t "now 7-d"
シグナル: 関連する検索キーワードで BREAKOUT または 100 を超える値を探します。
一般的なトピックの検証
# Is "RAG" still trending in AI?
node .agent/skills/google-trends/scripts/search.js -k "RAG AI" -p web -t "today 3-m" --interest
シグナル: 関心の推移が上昇しているか、ピークに達したかを確認します。
出力形式
テーブル(デフォルト)
[TrendProbe] Searching: "Claude AI" on YouTube (Last 7 days)
--- Related Queries (Top) ---
1. claude ai assistant (100)
2. anthropic claude (81)
3. claude vs chatgpt (45)
--- Related Queries (Rising) ---
1. anthropic (BREAKOUT)
2. claude code (450%)
JSON
{
"keyword": "Claude AI",
"property": "youtube",
"time": "now 7-d",
"top": [...],
"rising": [...]
}
Markdown
## Claude AI (YouTube, 7 days)
### Top Queries
1. claude ai assistant (100)
...
ヒント
- BREAKOUT は大きなチャンスです。 「BREAKOUT」の検索キーワードは 5000%を超える伸びを示しており、実証済みの好機です。
- 複数の情報源で検証しましょう。 YouTube Studio Trends および Competitor VidIQ と併用し、3 つの情報源で検証します。
- 複数のキーワードを試しましょう。 「Claude AI」「Claude Cowork」「Anthropic Claude」では、異なるシグナルが見つかる可能性があります。
- カテゴリは重要です。 カテゴリ 5(テクノロジー)ではテクノロジーに特化した結果が得られます。より幅広いトレンドを調べるには
-cを省略します。
コメント
Markdown 対応