google-news-api-skillExtracts structured, timely news data from Google News using BrowserAct API for topic search, trend tracking, brand monitoring, competitor updates, and indus...
Install via ClawdBot CLI:
clawdbot install phheng/google-news-api-skillThis skill provides a one-stop news collection service using BrowserAct's Google News API template. It extracts structured news results directly from Google News, including headlines, sources, publication times, and article links, providing clean and ready-to-use data without manual scraping.
Before running, check for the BROWSERACT_API_KEY environment variable. If it is not set, do not proceed with other actions. Instead, request and wait for the user to provide the key.
Agent must inform the user:
"Since the BrowserAct API Key is not configured, please go to the BrowserAct Console to get your Key and provide it to me here."
The Agent should configure the following parameters based on user needs when calling the script:
stringGenerative AI, Tesla, SpaceXstringany time: No time restriction.past hours: Within the last few hours (best for breaking news).past 24 hours: Within the last 24 hours (recommended for daily monitoring).past week: Within the last week (short-term trend analysis).past year: Within the last year (long-term research).past weeknumber30The Agent should execute the following command to get results:
# Example call
python -u ./.cursor/skills/google-news-api-skill/scripts/google_news_api.py "search keywords" "time range" limit
Since this task involves automated browser operations, it may take several minutes. The script will continuously output timestamped status logs (e.g., [14:30:05] Task Status: running).
Agent Note:
Upon success, the script prints results parsed from the API response. Fields include:
headline: Title of the news article.source: Publisher or news outlet.news_link: Resolved destination URL of the article.published_time: Timestamp displayed on Google News.author: Name of the author (if available).If an error occurs (e.g., network issues or task failure), follow this logic:
"Invalid authorization", the API Key is invalid. Do not retry. Guide the user to provide a correct API Key."Invalid authorization" but the task fails (e.g., output starts with Error: or result is empty), the Agent should automatically retry once.Generated Mar 1, 2026
Automatically collects news on competitor activities, such as product launches or marketing campaigns, over the past week to inform strategic decisions. This helps businesses stay ahead by monitoring industry movements without manual effort.
Tracks brand exposure and media sentiment by extracting news mentions within the last 24 hours, enabling quick response to PR crises or opportunities. It provides structured data for analyzing coverage trends and impact.
Retrieves news on specific keywords like 'Generative AI' or 'Low-altitude economy' across time ranges to identify emerging trends and hot topics. Supports data-driven insights for reports and strategy development.
Extracts the latest news in a domain, such as finance or healthcare, to create automated daily summaries for teams or clients. This saves time by providing clean, structured updates without manual curation.
Monitors real-time updates on major events worldwide by filtering news from the past few hours, useful for crisis management or timely reporting. Ensures access to accurate information without IP restrictions.
Offers businesses a monthly subscription to automated news feeds tailored to their keywords and timeframes, generating recurring revenue. Clients benefit from cost-effective, real-time data without in-house scraping.
Provides consulting services to integrate this skill into clients' existing workflows, such as CRM or analytics tools, for a one-time fee or ongoing support. Targets companies needing specialized data extraction solutions.
Sells structured news datasets extracted via the skill to research firms or academic institutions for market analysis. Revenue comes from licensing data feeds based on volume or frequency.
💬 Integration Tip
Ensure the BROWSERACT_API_KEY environment variable is set before execution to avoid errors, and monitor terminal logs for real-time status updates during script runs.
Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
Comprehensive news aggregator that fetches, filters, and deeply analyzes real-time content from 8 major sources: Hacker News, GitHub Trending, Product Hunt, 36Kr, Tencent News, WallStreetCN, V2EX, and Weibo. Best for 'daily scans', 'tech news briefings', 'finance updates', and 'deep interpretations' of hot topics.
This skill should be used when the user asks for news updates, daily briefings, or what's happening in the world. Fetches news from trusted international RSS feeds and can create voice summaries.
Aggregates and summarizes the latest AI news from multiple sources including AI news websites and web search. Provides concise news briefs with direct links to original articles. Activates when user asks for 'today's AI news', 'AI updates', 'latest AI developments', or mentions wanting a 'daily AI briefing'.
Generates a warm, compact daily briefing with weather, calendar, reminders, birthdays, and important emails for cron or chat delivery.
Provides a personalized morning report with today's reminders, undone Notion tasks, and vault storage summary for daily planning.