🧪 Skills
Noticias Cangrejo
Fetch and summarize recent news articles from GNews on any topic, generating a concise Markdown digest with date, greeting, and top links.
v1.0.4
Description
name: noticias-cangrejo description: Fetch and summarize recent news articles from GNews for any user-provided topic, then produce a Markdown digest with date, greeting, and top links. homepage: https://gnews.io/ metadata: {"clawdbot":{"emoji":"🦀","requires":{"env":["GNEWS_API_KEY"]}}}
NoticiasCangrejo
Generate a Markdown news digest for any topic using the GNews API.
When To Use
Use this skill when the user asks for recent news on any topic, such as politics, science, startups, health, finance, sports, or local events, and wants a concise, linkable summary.
Environment Requirement
Set this environment variable before execution:
GNEWS_API_KEY
Workflow
- Receive a topic from the user.
- Validate that
GNEWS_API_KEYexists. - Query GNews Search API for up to 20 articles using topic + language.
- Compute relevance based on topic-word overlap against article title and description.
- Keep the top 15 ranked articles.
- Print Markdown output with:
- Date (
YYYY/MM/DD) - Greeting line in Spanish
- Topic line
- Numbered list of article title + URL
- Date (
- Optionally save output to a file with
--output.
Execution
Canonical OpenClaw execution is defined in _meta.json under run:
python3 scripts/fetch_news.py "<topic>"
Optional parameters:
--lang(default:en)--max-articles(default:20)--outputto write Markdown to a file
Example Usage
export GNEWS_API_KEY="your_api_key_here"
python3 scripts/fetch_news.py "global markets" --lang en --max-articles 20 --output ./markets.md
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!