jpskill.com
🎨 デザイン コミュニティ

google-news-api-skill

特定のテーマに関するニュース検索、業界トレンド追跡、競合他社の動向把握など、Googleニュースから構造化されたニュースデータを自動で抽出し、ビジネスに必要な情報を効率的に収集・分析するSkill。

📜 元の英語説明(参考)

This skill helps users automatically extract structured news data from Google News via BrowserAct API. Agent should proactively apply this skill when users express needs like searching for news about a specific topic, tracking industry trends, monitoring public relations or sentiment, collecting competitor updates, getting latest reports on specific keywords, monitoring brand exposure in media, researching market hot topics, summarizing daily industry news, tracking media activities of specific individuals, retrieving hot events from the past 24 hours, extracting structured data for market research, monitoring global breaking news.

🇯🇵 日本人クリエイター向け解説

一言でいうと

特定のテーマに関するニュース検索、業界トレンド追跡、競合他社の動向把握など、Googleニュースから構造化されたニュースデータを自動で抽出し、ビジネスに必要な情報を効率的に収集・分析するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o google-news-api-skill.zip https://jpskill.com/download/17630.zip && unzip -o google-news-api-skill.zip && rm google-news-api-skill.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/17630.zip -OutFile "$d\google-news-api-skill.zip"; Expand-Archive "$d\google-news-api-skill.zip" -DestinationPath $d -Force; ri "$d\google-news-api-skill.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して google-news-api-skill.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → google-news-api-skill フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
2

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Google News自動化スキル

📖 はじめに

このスキルは、BrowserActのGoogle News APIテンプレートを使用した、ワンストップのニュース収集サービスを提供します。見出し、ソース、公開時間、記事リンクなど、構造化されたニュース結果をGoogle Newsから直接抽出します。検索キーワードと時間フィルターを入力するだけで、クリーンで使いやすいニュースデータを入手できます。

✨ 特徴

  1. ハルシネーションなし: 事前設定されたワークフローにより、AI生成によるハルシネーションを回避し、安定した正確なデータ抽出を保証します。
  2. Captchaの問題なし: reCAPTCHAやその他の認証課題に対処する必要はありません。
  3. IP制限なし: 地域的なIP制限やジオフェンシングに対処する必要はありません。
  4. より高速な実行: 純粋なAI駆動のブラウザ自動化ソリューションと比較して、タスクの実行が高速です。
  5. 費用対効果: 高いトークン消費量のAIソリューションと比較して、データ取得コストを大幅に削減します。

🔑 APIキーの設定

実行する前に、BROWSERACT_API_KEY環境変数が設定されているか確認してください。設定されていない場合は、他の対策を講じず、ユーザーに提供を依頼して待機してください。 エージェントはユーザーに通知する必要があります:

"BrowserAct API Keyが設定されていないため、BrowserAct Consoleにアクセスしてキーを取得してください。"

🛠️ 入力パラメータ

エージェントは、ユーザーのニーズに基づいて、以下のパラメータを柔軟に設定する必要があります。

  1. Search_Keywords (検索キーワード)

    • : string
    • 説明: Google Newsで検索するコンテンツ。会社名、業界用語、競合他社名などを使用できます。
    • : AI StartupTeslaSpaceX
  2. Publish_date (期間)

    • : string
    • 説明: 公開時間でニュースをフィルタリングします。
    • オプション:
      • any time: 制限なし
      • past hours: 過去数時間 (速報)
      • past 24 hours: 過去24時間 (毎日のモニタリング)
      • past week: 過去1週間 (短期的なトレンド)
      • past year: 過去1年間 (長期的な調査)
    • デフォルト: past week
  3. Datelimit (最大アイテム数)

    • : number
    • 説明: タスクごとに抽出するニュースアイテムの最大数。
    • デフォルト: 30
    • 提案: リアルタイムモニタリングには10〜30を使用し、詳細な調査にはより大きな値を使用します。

🚀 使い方

エージェントは、以下の独立したスクリプトを使用して、「1行コマンドの結果」を実現する必要があります。

# 例
python -u ./scripts/google_news_api.py "Search Keywords" "Publish Date" Quantity

⏳ 実行モニタリング

このタスクには自動化されたブラウザ操作が含まれるため、時間がかかる場合があります(数分)。スクリプトはタイムスタンプ付きのステータスログを継続的に出力します(例:[14:30:05] Task Status: running)。 エージェントへの指示:

  • スクリプトの結果を待っている間、ターミナル出力を監視し続けてください。
  • ターミナルが新しいステータスログを出力している限り、タスクは正常に実行されています。デッドロックや無応答と誤解しないでください。
  • ステータスが長時間変化しない場合、またはスクリプトが結果を返さずに停止した場合にのみ、再試行メカニズムをトリガーすることを検討してください。

📊 データ出力

正常に実行されると、スクリプトはAPIレスポンスから直接結果を解析して出力します。結果には以下が含まれます。

  • headline: ニュースタイトル
  • source: 発行者/ソース
  • news_link: 記事URL
  • published_time: 公開時間
  • author: 著者 (利用可能な場合)

⚠️ エラー処理と再試行

スクリプトの実行中にエラーが発生した場合(例:ネットワークの変動またはタスクの失敗)、エージェントは次のロジックに従う必要があります。

  1. 出力内容の確認:

    • 出力に"Invalid authorization"含まれている場合、APIキーが無効であるか期限切れであることを意味します。再試行しないでください。ユーザーに再確認して正しいAPIキーを提供するように指示してください。
    • 出力に"Invalid authorization"含まれていないが、タスクが失敗した場合(例:出力がError:で始まるか、空の結果を返す)、エージェントは自動的にスクリプトを1回再実行する必要があります
  2. 再試行制限:

    • 自動再試行は1回に制限されています。2回目の試行が失敗した場合は、再試行を停止し、特定のエラー情報をユーザーに報告してください。

🌟 典型的なユースケース

  1. 業界トレンドの追跡: 「低空経済」や「生成AI」などの分野における最新の動向を見つけます。
  2. PRモニタリング: 特定のブランドまたは企業の過去24時間のメディア露出を監視します。
  3. 競合他社のインテリジェンス: 過去1週間の競合他社の新製品またはマーケティング活動に関する情報を収集します。
  4. 市場調査: さまざまな時間軸にわたる特定のキーワードに関する人気のあるレポートを入手します。
  5. 人物追跡: 業界のリーダーまたは著名人に関する最新のニュースレポートを取得します。
  6. 毎日のニュース要約: 特定の分野の毎日のニュースを自動的に抽出して要約します。
  7. グローバルな速報: 主要なグローバルイベントに関するリアルタイムの更新情報を入手します。
  8. 構造化データ抽出: 分析のために、見出し、ソース、リンクなどの構造化された情報を抽出します。
  9. メディア露出分析: 主流のニュースメディアにおけるプロジェクトまたはイベントの伝播熱を評価します。
  10. 長期的な調査: 過去1年間の特定の技術トピックに関するすべての詳細なレポートを取得します。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Google News Automation Skill

📖 Introduction

This skill provides a one-stop news collection service using BrowserAct's Google News API template. It directly extracts structured news results from Google News, including headlines, sources, publication times, and article links. Simply input search keywords and time filters to get clean, usable news data.

✨ Features

  1. No Hallucinations: Pre-set workflows avoid AI generative hallucinations, ensuring stable and precise data extraction.
  2. No Captcha Issues: No need to handle reCAPTCHA or other verification challenges.
  3. No IP Restrictions: No need to handle regional IP restrictions or geofencing.
  4. Faster Execution: Tasks execute faster compared to pure AI-driven browser automation solutions.
  5. Cost-Effective: Significantly lowers data acquisition costs compared to high-token-consuming AI solutions.

🔑 API Key Setup

Before running, check the BROWSERACT_API_KEY environment variable. If not set, do not take other measures; ask and wait for the user to provide it. Agent must inform the user:

"Since you haven't configured the BrowserAct API Key, please visit the BrowserAct Console to get your Key."

🛠️ Input Parameters

Agent should flexibly configure the following parameters based on user needs:

  1. Search_Keywords (Search Keywords)

    • Type: string
    • Description: The content to search on Google News. Can be company names, industry terms, competitor names, etc.
    • Example: AI Startup, Tesla, SpaceX
  2. Publish_date (Time Range)

    • Type: string
    • Description: Filter news by publication time.
    • Options:
      • any time: No restriction
      • past hours: Past few hours (breaking news)
      • past 24 hours: Past 24 hours (daily monitoring)
      • past week: Past week (short-term trends)
      • past year: Past year (long-term research)
    • Default: past week
  3. Datelimit (Max Items)

    • Type: number
    • Description: Maximum number of news items to extract per task.
    • Default: 30
    • Suggestion: Use 10-30 for real-time monitoring; use larger values for deep research.

🚀 Usage

Agent should use the following independent script to achieve "one-line command result":

# Example
python -u ./scripts/google_news_api.py "Search Keywords" "Publish Date" Quantity

⏳ Execution Monitoring

Since this task involves automated browser operations, it may take some time (several minutes). The script will continuously output status logs with timestamps (e.g., [14:30:05] Task Status: running). Agent Instructions:

  • While waiting for the script result, keep monitoring the terminal output.
  • As long as the terminal is outputting new status logs, the task is running normally; do not mistake it for a deadlock or unresponsiveness.
  • Only if the status remains unchanged for a long time or the script stops outputting without returning a result should you consider triggering the retry mechanism.

📊 Data Output

After successful execution, the script parses and prints results directly from the API response. Results include:

  • headline: News title
  • source: Publisher/Source
  • news_link: Article URL
  • published_time: Publication time
  • author: Author (if available)

⚠️ Error Handling & Retry

If an error occurs during script execution (e.g., network fluctuations or task failure), the Agent should follow this logic:

  1. Check Output Content:

    • If the output contains "Invalid authorization", it means the API Key is invalid or expired. Do not retry; guide the user to re-check and provide the correct API Key.
    • If the output does not contain "Invalid authorization" but the task failed (e.g., output starts with Error: or returns empty results), the Agent should automatically try to re-execute the script once.
  2. Retry Limit:

    • Automatic retry is limited to one time. If the second attempt fails, stop retrying and report the specific error information to the user.

🌟 Typical Use Cases

  1. Industry Trend Tracking: Find the latest developments in fields like "Low-altitude economy" or "Generative AI".
  2. PR Monitoring: Monitor media exposure of a specific brand or company over the past 24 hours.
  3. Competitor Intelligence: Collect information on new products or marketing activities from competitors over the past week.
  4. Market Research: Get popular reports on specific keywords across different time dimensions.
  5. Figure Tracking: Retrieve the latest news reports on industry leaders or public figures.
  6. Daily News Summary: Automatically extract and summarize daily news in specific domains.
  7. Global Breaking News: Get real-time updates on major global events.
  8. Structured Data Extraction: Extract structured information like headlines, sources, and links for analysis.
  9. Media Exposure Analysis: Evaluate the propagation heat of a project or event in mainstream news media.
  10. Long-term Research: Retrieve all in-depth reports on a specific technical topic from the past year.

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。