news

新闻与资讯查询。获取中文新闻和全球 AI 技术资讯,支持按分类查询(时政、财经、科技、社会、国际、体育、娱乐、AI 技术、AI 社区)。当用户询问最新新闻、AI 动态、行业资讯时使用。

25 stars

Best use case

news is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

新闻与资讯查询。获取中文新闻和全球 AI 技术资讯,支持按分类查询(时政、财经、科技、社会、国际、体育、娱乐、AI 技术、AI 社区)。当用户询问最新新闻、AI 动态、行业资讯时使用。

Teams using news should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/news/SKILL.md --create-dirs "https://raw.githubusercontent.com/ComeOnOliver/skillshub/main/skills/countbot-ai/CountBot/news/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/news/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How news Compares

Feature / AgentnewsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

新闻与资讯查询。获取中文新闻和全球 AI 技术资讯,支持按分类查询(时政、财经、科技、社会、国际、体育、娱乐、AI 技术、AI 社区)。当用户询问最新新闻、AI 动态、行业资讯时使用。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 新闻与资讯查询

通过 RSS 源和网页抓取获取中文新闻和全球 AI 资讯,支持多分类、关键词过滤。

## 无需配置

此技能开箱即用,无需 API Key。

## 命令行调用

```bash
# 获取热点新闻(默认)
python skills/news/scripts/news.py hot

# AI新闻资讯查询
python skills/news/scripts/news.py category --cat ai --limit 20

# 按分类查询
python skills/news/scripts/news.py category --cat tech
python skills/news/scripts/news.py category --cat finance
python skills/news/scripts/news.py category --cat ai
python skills/news/scripts/news.py category --cat ai-community

# 关键词搜索
python skills/news/scripts/news.py hot --keyword AI
python skills/news/scripts/news.py category --cat ai --keyword GPT

# 控制摘要长度(默认 100 字符)
python skills/news/scripts/news.py category --cat ai --detail 500    # 显示 500 字符摘要
python skills/news/scripts/news.py category --cat ai --detail -1     # 显示全文
python skills/news/scripts/news.py category --cat ai --detail 0      # 不显示摘要

# 指定返回条数
python skills/news/scripts/news.py hot --limit 20

# JSON 格式输出(包含完整正文,不截断)
python skills/news/scripts/news.py hot --json

# 查看所有支持的分类和来源
python skills/news/scripts/news.py sources
```

## 支持的新闻分类

### 中文新闻

| 分类 | 参数值 | 来源 |
|------|--------|------|
| 热点要闻 | `hot` | 人民网、新华网、澎湃新闻 |
| 时政 | `politics` | 人民网时政、新华网政务 |
| 财经 | `finance` | 新浪财经、东方财富 |
| 科技 | `tech` | 36氪、IT之家 |
| 社会 | `society` | 中国新闻网、澎湃新闻 |
| 国际 | `world` | 环球网、参考消息 |
| 体育 | `sports` | 新浪体育、虎扑 |
| 娱乐 | `entertainment` | 新浪娱乐 |

### AI 技术与资讯

| 分类 | 参数值 | 来源 |
|------|--------|------|
| AI 技术 | `ai` | MIT Tech Review、OpenAI Blog、Google AI Blog、DeepMind Blog、Latent Space、Interconnects、One Useful Thing、KDnuggets |
| AI 社区 | `ai-community` | AI News Daily、Sebastian Raschka、Hacker News、Product Hunt |

AI 源说明:

- MIT Technology Review — MIT 科技评论,AI 与前沿技术深度报道
- OpenAI Blog — OpenAI 官方博客,模型发布与研究动态
- Google AI Blog — Google AI 研究与产品更新
- DeepMind Blog — DeepMind 研究进展
- Latent Space — AI 工程师社区播客与文章
- Interconnects — Nathan Lambert 的 AI 技术深度分析
- One Useful Thing — Ethan Mollick 的 AI 实践应用分享
- KDnuggets — AI/ML 技术文章聚合
- AI News Daily — AI 行业每日新闻汇总
- Sebastian Raschka — 机器学习深度技术博客
- Hacker News — 科技新闻与讨论社区
- Product Hunt — 新产品发现平台(含 AI 产品)

## AI 调用场景

用户说"今天有什么新闻":

```bash
python skills/news/scripts/news.py hot --limit 10
```

用户说"最近 AI 有什么新动态":

```bash
python skills/news/scripts/news.py category --cat ai --limit 10
```

用户说"有什么新的 AI 产品":

```bash
python skills/news/scripts/news.py category --cat ai-community --limit 10
```

用户说"搜一下关于 GPT 的新闻":

```bash
python skills/news/scripts/news.py category --cat ai --keyword GPT --limit 15
```

用户想深入阅读某篇文章:

```bash
# 使用 --detail -1 获取 RSS 全文内容
python skills/news/scripts/news.py category --cat ai --keyword "关键词" --detail -1 --limit 5

# 或使用 --json 获取完整 JSON(含全文)
python skills/news/scripts/news.py category --cat ai --keyword "关键词" --json --limit 5
```

获取新闻后,整理为简洁的列表返回给用户,包含标题、来源和链接。英文内容可适当翻译摘要。

### 深入阅读策略

当用户想详细了解某篇新闻时,按以下优先级获取全文:

1. **首选:`--detail -1` 或 `--json`** — 直接从 RSS 源获取全文内容,无需额外网络请求
2. **备选:`web_fetch`(仅限中文新闻源)** — 人民网、新华网、澎湃新闻、36氪等中文站点通常允许抓取
3. **不要对 AI 类源使用 `web_fetch`** — OpenAI Blog、MIT Tech Review、Google AI Blog、DeepMind Blog 等网站会返回 403/404,无法抓取

## 注意事项

- 纯 Python 标准库实现,无需额外依赖
- RSS 源可能因网站调整而失效,脚本会自动跳过失败的源
- AI 类源为英文内容,返回给用户时可适当翻译
- 多数 AI 博客网站(OpenAI、Google AI、DeepMind、MIT Tech Review 等)会阻止 `web_fetch` 直接访问(返回 403/404),因此深入阅读 AI 文章应使用 `--detail -1` 从 RSS 获取全文,而非尝试抓取原始链接
- 中文新闻源(人民网、澎湃、36氪等)通常允许 `web_fetch` 抓取详情页

Related Skills

aggregating-crypto-news

25
from ComeOnOliver/skillshub

Aggregate breaking cryptocurrency news from 50+ sources including CoinDesk, CoinTelegraph, The Block, and Decrypt. Use when needing to monitor crypto market news, track announcements, or find coin-specific updates. Trigger with phrases like "get crypto news", "latest Bitcoin headlines", "DeFi announcements", "scan for breaking news", or "check crypto updates".

daily-ai-news

25
from ComeOnOliver/skillshub

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'.

daily-news-report

25
from ComeOnOliver/skillshub

Scrapes content based on a preset URL list, filters high-quality technical information, and generates daily Markdown reports.

newsletter-curation

25
from ComeOnOliver/skillshub

Newsletter curation with content sourcing, editorial structure, and subscriber growth strategies. Covers issue formatting, link roundups, commentary style, and sending cadence. Use for: email newsletters, link roundups, weekly digests, curated content, creator newsletters. Triggers: newsletter, email newsletter, newsletter curation, weekly digest, link roundup, curated newsletter, newsletter writing, newsletter format, subscriber growth, newsletter strategy, content curation, newsletter template

AlphaEar News Skill

25
from ComeOnOliver/skillshub

## Overview

news-api-automation

25
from ComeOnOliver/skillshub

Automate News API tasks via Rube MCP (Composio). Always search tools first for current schemas.

hackernews-automation

25
from ComeOnOliver/skillshub

Automate Hackernews tasks via Rube MCP (Composio). Always search tools first for current schemas.

Daily Logs

25
from ComeOnOliver/skillshub

Record the user's daily activities, progress, decisions, and learnings in a structured, chronological format.

Socratic Method: The Dialectic Engine

25
from ComeOnOliver/skillshub

This skill transforms Claude into a Socratic agent — a cognitive partner who guides

Sokratische Methode: Die Dialektik-Maschine

25
from ComeOnOliver/skillshub

Dieser Skill verwandelt Claude in einen sokratischen Agenten — einen kognitiven Partner, der Nutzende durch systematisches Fragen zur Wissensentdeckung führt, anstatt direkt zu instruieren.

College Football Data (CFB)

25
from ComeOnOliver/skillshub

Before writing queries, consult `references/api-reference.md` for endpoints, conference IDs, team IDs, and data shapes.

College Basketball Data (CBB)

25
from ComeOnOliver/skillshub

Before writing queries, consult `references/api-reference.md` for endpoints, conference IDs, team IDs, and data shapes.