返回顶部
n

news-for-aiAI新闻速递

>-

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
109
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

news-for-ai

面向AI的新闻

获取AI新闻、每日摘要,并搜索AI相关内容。输出结构化JSON(干净的Markdown文本 + 分离的图片/视频/链接),可直接用于文章撰写或分析。

安装

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

命令选择

根据用户意图选择合适的命令:

用户意图命令示例
最新AI新闻/资讯/热点/行业动态newsnews --limit 10
AI日报/每日汇总/今日速递
daily | daily --limit 3 |
| 查找特定话题/产品/模型/技术 | search | search GPT --type news |
| 新闻+日报一起获取 | all | all --limit 10 |

CLI参考

bash
python ${SKILLDIR}/newscli.py [options]

命令与选项

bash

AI新闻资讯


python ${SKILLDIR}/newscli.py news [--limit N] [--no-content]

AI日报

python ${SKILLDIR}/newscli.py daily [--limit N] [--no-content]

搜索(关键词必填)

python ${SKILLDIR}/newscli.py search 关键词 [--type TYPE] [--limit N] [--no-content]

--type: news / products / models / mcp / all (默认: all)

新闻+日报

python ${SKILLDIR}/newscli.py all [--limit N] [--no-content]
选项作用
--limit N返回条数,默认 20
--no-content
跳过正文抓取,仅返回标题+摘要(快 20倍,适合浏览选题) | | --type TYPE | 搜索范围过滤,仅 search 命令可用 |

文章撰写工作流

用于收集撰写AI文章的素材:

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

输出格式

所有命令输出JSON到stdout,错误信息到stderr(退出码1)。

news / daily

json
{
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 模式下 content、images、videos、links 字段不会出现。

search

json
{
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: [...]}
}

关于每种项目类型的完整字段定义,请参见 schemas.md

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 news-for-ai-1775933935 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 news-for-ai-1775933935 技能

通过命令行安装

skillhub install news-for-ai-1775933935

下载

⬇ 下载 news-for-ai v1.0.1(免费)

文件大小: 8.74 KB | 发布时间: 2026-4-12 10:43

v1.0.1 最新 2026-4-12 10:43
news-for-ai 1.0.1

- CLI entrypoint is now news_cli.py (aibase_cli.py removed).
- Added schemas.md for clear output data structure reference.
- SKILL.md greatly simplified: clearer usage, output format, and article-writing workflow instructions.
- Commands, options, and field schemas are now easier to understand.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部