让 Agent 直接使用 codebuddyai.cn

四条接入路径都是匿名只读、无需 API Key:Agent Skill、MCP、RSS、REST API。

✅ 匿名只读 Skill v1.0 MCP · 3 tools 数据每 10 分钟更新

Agent Skill 推荐

装一次,之后直接用中文问。适合 Claude Code、Codex、Gemini CLI 等支持 Agent Skills 的工具。

  1. 把下面的提示词发给 Agent
  2. 开个新会话(多数 Agent 只在会话开始时扫描 Skill)
  3. 问一句验证
请安装 cbai-news Skill:http://codebuddyai.cn/skill/SKILL.md
装完告诉我是否需要开启新会话。

或一行命令安装:

bash <(curl -fsSL http://codebuddyai.cn/skill/install.sh) --target agents

验证:问「过去 24 小时 AI 圈有什么动态?」——回答注明时间窗、给出中文摘要并链接原文,即接入成功。

MCP Streamable HTTP

适合支持远程 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 小时时间窗与中文摘要即可。

RSS

兼容主流 RSS 2.0 阅读器与 n8n、Zapier 这类自动化工具。

订阅源说明地址
精选摘要最近 60 条精选,保留标题、摘要与原文入口/feed.xml

REST API

匿名 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.json24h 热点:title / url / hits_24h(多信源命中次数)
GET /feed.xmlRSS 2.0 精选摘要 60 条

先知道这几件事