跳到正文
TakoAPI
返回技能列表

noticias-cangrejo

由 davidk2yoyo 提供

Coding Agents & IDEs
523下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Fetch and summarize recent news articles from GNews for any user-provided topic, then produce a Markdown digest.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User asks: Give me the latest news on climate change

智能体
  1. 1

    Validate that GNEWS_API_KEY environment variable is set

  2. 2

    Query GNews Search API for up to 20 articles on 'climate change'

  3. 3

    Score each article by topic-word overlap with title and description

  4. 4

    Keep the top 15 ranked articles

  5. 5

    Print 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

前置要求

  • GNEWS_API_KEY environment variable (sign up at gnews.io)

安装

clawhub install davidk2yoyo/noticias-cangrejo

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接