← 返回
未分类

news-for-ai

Fetches real-time AI industry news, daily AI digests, and searches AI topics including products, models, and MCP services. Outputs structured JSON with clean...
获取实时 AI 行业新闻、每日 AI 摘要,搜索 AI 主题(产品、模型、MCP 服务),输出结构化的 JSON,格式简洁
sskun sskun 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 381
下载
💾 0
安装
1
版本
#latest

概述

News For AI

Fetches AI news, daily digests, and searches AI-related content. Outputs structured JSON (clean Markdown text + separated images/videos/links), ready for article writing or analysis.

Setup

pip install -r ${SKILL_DIR}/requirements.txt

Command Selection

Pick the right command based on user intent:

User intentCommandExample
---------
最新AI新闻/资讯/热点/行业动态newsnews --limit 10
AI日报/每日汇总/今日速递dailydaily --limit 3
查找特定话题/产品/模型/技术searchsearch "GPT" --type news
新闻+日报一起获取allall --limit 10

CLI Reference

python ${SKILL_DIR}/news_cli.py <command> [options]

Commands and Options

# AI新闻资讯
python ${SKILL_DIR}/news_cli.py news [--limit N] [--no-content]

# AI日报
python ${SKILL_DIR}/news_cli.py daily [--limit N] [--no-content]

# 搜索(关键词必填)
python ${SKILL_DIR}/news_cli.py search "关键词" [--type TYPE] [--limit N] [--no-content]
#   --type: news / products / models / mcp / all (default: all)

# 新闻+日报
python ${SKILL_DIR}/news_cli.py all [--limit N] [--no-content]
OptionEffect
------
--limit N返回条数,默认 20
--no-content跳过正文抓取,仅返回标题+摘要(快 20x,适合浏览选题)
--type TYPE搜索范围过滤,仅 search 命令可用

Article Writing Workflow

For gathering source material to write AI articles:

  1. 选题 — 快速扫标题:news --limit 20 --no-content
  2. 深挖 — 获取选中文章的完整正文+图片+链接:news --limit 5
  3. 定向搜索 — 补充特定话题素材:search "Sora" --type news --limit 3

Output Format

All commands output JSON to stdout, errors to stderr (exit code 1).

news / daily

{
  "type": "news",
  "timestamp": "2026-03-30 15:00:00 +0800",
  "count": 5,
  "data": [
    {
      "id": 26659,
      "title": "...",
      "description": "摘要...",
      "url": "https://...",
      "create_time": "2026-03-30 14:52:05",
      "pv": 5426,
      "content": "正文纯文本(Markdown格式)...",
      "images": [{"src": "https://...", "alt": "..."}],
      "videos": [{"src": "https://..."}],
      "links": [{"text": "...", "href": "https://..."}]
    }
  ]
}

--no-content 模式下 contentimagesvideoslinks 字段不会出现。

search

{
  "type": "search",
  "keyword": "千问",
  "search_type": "all",
  "news": {"type": "news", "count": 5, "data": [...]},
  "products": {"type": "products", "count": 3, "data": [...]},
  "models": {"type": "models", "count": 10, "data": [...]},
  "mcp": {"type": "mcp", "count": 1, "data": [...]}
}

For complete field definitions of each item type, see schemas.md.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-07 05:39 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

knowledge-management

Summarize

paudyyin
智能摘要工具,自动为长文本、文档、网页生成摘要,提取要点与关键词,支持自定义摘要长度。
★ 957 📥 518,401
knowledge-management

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 444 📥 104,857
knowledge-management

web-tools-guide

user_ec205dbb
MANDATORY before calling web_search, web_fetch, browser, or opencli. Contains required error-handling procedures (web_se
★ 66 📥 159,488