四条接入路径都是匿名只读、无需 API Key:Agent Skill、MCP、RSS、REST API。
装一次,之后直接用中文问。适合 Claude Code、Codex、Gemini CLI 等支持 Agent Skills 的工具。
请安装 cbai-news Skill:http://codebuddyai.cn/skill/SKILL.md 装完告诉我是否需要开启新会话。
或一行命令安装:
bash <(curl -fsSL http://codebuddyai.cn/skill/install.sh) --target agents
验证:问「过去 24 小时 AI 圈有什么动态?」——回答注明时间窗、给出中文摘要并链接原文,即接入成功。
适合支持远程 MCP 的 Agent 与开发工具。匿名只读、无需 token,工具返回结构化数据。3 个工具:cbai_get_latest(精选资讯,24h/7d,≤30 条)、cbai_search(关键词搜索近 7 天)、cbai_get_hot(24h 热点榜 ≤20)。
{
"mcpServers": {
"cbai": {
"type": "http",
"url": "http://codebuddyai.cn/api/mcp"
}
}
}
Claude Code:
claude mcp add --transport http cbai 'http://codebuddyai.cn/api/mcp'
Codex:
codex mcp add cbai --url 'http://codebuddyai.cn/api/mcp'
验证:让 Agent 调用 cbai_get_latest,回答含过去 24 小时时间窗与中文摘要即可。
匿名 GET。给阅读器 / Agent 的稳定快照接口,每 10 分钟刷新。
curl 'http://codebuddyai.cn/api/v1/items.json' # 近 7 天精选,≤200 条,倒序 curl 'http://codebuddyai.cn/api/v1/hot.json' # 24h 热点榜 TOP 20
| 端点 | 说明 |
|---|---|
| GET /api/v1/items.json | 精选资讯:title / url / summary / source / category / gravity / published_at_cst / sources |
| GET /api/v1/hot.json | 24h 热点:title / url / hits_24h(多信源命中次数) |
| GET /feed.xml | RSS 2.0 精选摘要 60 条 |