news
Agent skill fromcountbot-ai/CountBot
新闻与资讯查询。获取中文新闻和全球 AI 技术资讯,支持按分类查询(时政、财经、科技、社会、国际、体育、娱乐、AI 技术、AI 社区)。当用户询问最新新闻、AI 动态、行业资讯时使用。
How to install news
install news
# install the CountBot pack with the skills CLI
npx skills add countbot-ai/CountBot# or add only this skill to Claude Code: copy the folder
workspace/skills/news/
# into
~/.claude/skills/news/ (all projects)
.claude/skills/news/ (one project)
1# 新闻与资讯查询23通过 RSS 源和网页抓取获取中文新闻和全球 AI 资讯,支持多分类、关键词过滤。45## 无需配置67此技能开箱即用,无需 API Key。89## 命令行调用1011```bash12# 获取热点新闻(默认)13python skills/news/scripts/news.py hot1415# AI新闻资讯查询16python skills/news/scripts/news.py category --cat ai --limit 201718# 按分类查询19python skills/news/scripts/news.py category --cat tech20python skills/news/scripts/news.py category --cat finance21python skills/news/scripts/news.py category --cat ai22python skills/news/scripts/news.py category --cat ai-community2324# 关键词搜索25python skills/news/scripts/news.py hot --keyword AI26python skills/news/scripts/news.py category --cat ai --keyword GPT2728# 控制摘要长度(默认 100 字符)29python skills/news/scripts/news.py category --cat ai --detail 500 # 显示 500 字符摘要30python skills/news/scripts/news.py category --cat ai --detail -1 # 显示全文31python skills/news/scripts/news.py category --cat ai --detail 0 # 不显示摘要3233# 指定返回条数34python skills/news/scripts/news.py hot --limit 203536# JSON 格式输出(包含完整正文,不截断)37python skills/news/scripts/news.py hot --json3839# 查看所有支持的分类和来源40python skills/news/scripts/news.py sources41```4243## 支持的新闻分类4445### 中文新闻4647| 分类 | 参数值 | 来源 |48|------|--------|------|49| 热点要闻 | `hot` | 人民网、新华网、澎湃新闻 |50| 时政 | `politics` | 人民网时政、新华网政务 |51| 财经 | `finance` | 新浪财经、东方财富 |52| 科技 | `tech` | 36氪、IT之家 |53| 社会 | `society` | 中国新闻网、澎湃新闻 |54| 国际 | `world` | 环球网、参考消息 |55| 体育 | `sports` | 新浪体育、虎扑 |56| 娱乐 | `entertainment` | 新浪娱乐 |5758### AI 技术与资讯5960| 分类 | 参数值 | 来源 |61|------|--------|------|62…
Excerpt shown under the repository's MIT license.
