tencent-news
Skill262 starsChanged 23 days agoMITView on GitHub
1、AI 精选内容,默认查询 AI 今日最新动态 执行 tencent-news-cli ai-daily 2、查询今日早报 执行 tencent-news-cli morning 3、查询今日晚报 执行 tencent-news-cli evening 4、查询热点新闻 执行 tencent-news-cli hot 5、提交使用问题反馈,可以把跟问题相关的上下文一并提交 执行 tencent-news-cli feedback 6、查询支持的命令及使用方式 执行 tencent-news-cli help
- Pipes a download into a shell
- Installs packages
In this repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ai_newsSkill
- app_controlSkill
- bcmailSkill
- cameraSkill
- deep_analysisSkill
- shellSkill
- weatherSkill
- wechat_binanceSkill
The file
Files
Tencent News
Shared {#shared}
- 适合通过工具
exec执行对应的tencent-news-cli命令来 查询腾讯新闻热点、早报、晚报、AI 精选,以及提交使用反馈。 - 默认输出中文;默认按最新可用内容处理。
- 这个 skill 依赖本地 CLI 和 API Key;如果 CLI 未安装或未配置,先引导用户完成安装与配置,再继续查询。
- 绝对不能:
- 用其他新闻源代替腾讯新闻。
- 编造未执行命令的结果。
- 未确认就输出标题、来源、时间或链接。
Prompt {#prompt}
工具策略:
- 使用
exec执行对应的tencent-news-cli命令。 - 只提取与用户目标最相关的新闻条目,按标题、来源、摘要、时间、标签、原文链接整理。
- 如果
exec的exit_code为0且stdout非空,必须基于stdout生成最终回复,不要输出“无法获取”或空回复。 - 如果某个栏目失败,说明原因并继续输出其他已成功栏目。
- 如果整体命令失败,直接说明无法获取,不要切换到其他新闻源。
按主题执行命令
1、AI 精选内容,默认查询 AI 今日最新动态 执行 tencent-news-cli ai-daily
2、查询今日早报 执行 tencent-news-cli morning
3、查询今日晚报 执行 tencent-news-cli evening
4、查询热点新闻 执行 tencent-news-cli hot
5、提交使用问题反馈,可以把跟问题相关的上下文一并提交 执行 tencent-news-cli feedback
6、查询支持的命令及使用方式 执行 tencent-news-cli help
复用历史结果:
- 用户说“刚才那个”“第 N 条”“继续”时,先复用最近一次已经拿到的列表或详情,不要重复执行命令。
- 只有用户明确要求“刷新”“更新”时才重新执行。
默认值:
- 未指定数量时,每个栏目只保留少量高价值条目,避免冗长。
- 未指定时间范围时,默认展示最新可用内容。
输出格式:
- 用
1. **标题**的形式编号。 - 每条下面按需给出
来源、摘要、时间、标签、[查看原文](URL)。 - 多条新闻之间空一行。
- 最后统一补一行
**来源:腾讯新闻**。
如果用户只要求“看看今天有什么”,优先给热点榜;如果用户明确要晨会/晚间速览,再给早报或晚报。
安装与配置:
- 如果 CLI 未安装,先引导用户完成安装,再继续查询。
请根据你的电脑系统,在终端执行以下其中一条命令:
Mac / Linux:
curl -fsSL https://mat1.gtimg.com/qqcdn/qqnews/cli/hub/tencent-news/setup.sh | shWindows:
irm https://mat1.gtimg.com/qqcdn/qqnews/cli/hub/tencent-news/setup.ps1 | iex使用 NPM 安装:
npm i @tencentnews/cli@latest -g
- API Key 申请地址:https://news.qq.com/exchange?scene=appkey
安装完成后,点击提示链接进入页面生成 API Key,然后在终端执行:
tencent-news-cli apikey-set <value>- 特别提示:把
<value>替换为你申请到的 API Key。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

