Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
- Added _meta.json to define canonical execution for the skill. - Updated SKILL.md to document running the skill via python3 scripts/fetch_news.py instead of the shell file. - Clarified execution and usage instructions in documentation. - No changes to core functionality.
What This Skill Does
Fetches recent news articles from GNews for any topic and produces a Markdown digest with a date header, Spanish greeting, and numbered list of titles with links. Ranks results by relevance using topic-word overlap against article titles and descriptions. Output can be printed or saved to a file.
Combines relevance ranking with formatted Markdown output in one step, avoiding the need to manually filter and format raw API results.
When to use it
- Getting a quick news digest on global markets
- Tracking startup ecosystem news for a weekly report
- Monitoring health or science headlines in Spanish-language contexts
- Pulling sports news summaries before a meeting
- Saving a topic-focused news file for offline reading
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Give me the latest news on climate change
- 1Validate that GNEWS_API_KEY environment variable is set
- 2Query GNews Search API for up to 20 articles on 'climate change'
- 3Score each article by topic-word overlap with title and description
- 4Keep the top 15 ranked articles
- 5Print a Markdown digest with today's date, a Spanish greeting, and a numbered list of article titles and URLs
A formatted Markdown news digest with 15 ranked climate change articles, each with a title and direct link
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.