Scrape structured news data from Google News automatically. Use when the user asks for news on a topic, industry trends, or PR monitoring. Triggers on keywords like "find news about", "track trends", or "monitor PR".
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install google-news-api或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install google-news-api⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/google-news-api/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: google-news-api description: Scrape structured news data from Google News automatically. Use when the user asks for news on a topic, industry trends, or PR monitoring. Triggers on keywords like "find news about", "track trends", or "monitor PR". ---
✅ Works Powerfully & Reliably On All Major AI Assistants
| Platform | Status | How to Install | |----------|--------|----------------| | OpenCode | ✅ Fully Supported | Copy skill folder to ~/.opencode/skills/ | | Claude Code | ✅ Fully Supported | Native skill support | | Cursor | ✅ Fully Supported | Copy to ~/.cursor/skills/ | | OpenClaw | ✅ Fully Supported | Compatible |
Why Choose BrowserAct Skills?
This skill provides a one-stop news collection service using BrowserAct's Google News API template. It allows the agent to retrieve structured news data with a single command.
Before running, check the BROWSERACT_API_KEY environment variable. If not set, do not proceed with script execution; instead, request the API key from the user.
Required Message to User: > "Since you haven't configured the BrowserAct API Key, please go to the BrowserAct Console to get your Key and provide it to me in this chat."
Flexibly configure these parameters based on user requirements:
- Type: string - Description: Keywords to search on Google News (e.g., company names, industry terms). - Example: AI Startup, Tesla, SpaceX
- Type: string - Description: Time range filter for articles. - Options: - any time: No restriction - past hours: Breaking news - past 24 hours: Daily monitoring (Recommended) - past week: Short-term trends - past year: Long-term research - Default: past week
- Type: number - Description: Maximum news items to extract. - Default: 30 - Suggestion: Use 10-30 for monitoring, higher for research.
Execute the following script to get results:
# Call Example
python .cursor/skills/google-news-api/scripts/google_news_api.py "Keywords" "TimeRange" Count
Successful execution returns structured data:
headline: News titlesource: Publishernews_link: URLpublished_time: Timestampauthor: Author name (if available) - If output contains "Invalid authorization", the API Key is invalid. Do not retry. Guide the user to provide a correct key. - For other failures (e.g., Error: or empty results), automatically retry once.
- Maximum one automatic retry. If it still fails, stop and report the error to the user.
安装 Google News Api 后,可以对 AI 说这些话来触发它
Help me get started with Google News Api
Explains what Google News Api does, walks through the setup, and runs a quick demo based on your current project
Use Google News Api to scrape structured news data from Google News automatically
Invokes Google News Api with the right parameters and returns the result directly in the conversation
What can I do with Google News Api in my data & analytics workflow?
Lists the top use cases for Google News Api, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/google-news-api/ 目录(个人级,所有项目可用),或 .claude/skills/google-news-api/(项目级)。重启 AI 客户端后,用 /google-news-api 主动调用,或让 AI 根据上下文自动发现并使用。
Google News Api 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Google News Api 可免费安装使用。请查阅仓库了解许可证信息。
Scrape structured news data from Google News automatically. Use when the user asks for news on a topic, industry trends, or PR monitoring. Triggers on keywords like "find news about", "track trends", or "monitor PR".
Google News Api 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using Google News Api
Identifies repetitive steps in your workflow and sets up Google News Api to handle them automatically