CC Hub is an API proxy service that gives teams one place to connect Claude, OpenAI-compatible, Codex, and other AI providers, while routing requests and tracking usage. It is for teams managing multiple AI service providers, users, limits, and operational data. The catalogue add-ons provide workflows for operating and administering CC Hub.
Borrowing it
Nothing to install: this file belongs to ding113/claude-code-hub. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ding113/claude-code-hub/main/.github/prompts/docs-update.mdgit clone --depth 1 https://github.com/ding113/claude-code-hubWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/ding113/claude-code-hub/docs-update)<a href="https://agentmods.dev/commands/ding113/claude-code-hub/docs-update"><img src="https://agentmods.dev/badge/commands/ding113/claude-code-hub/docs-update.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00882 |
| Opus 5 | $0.00000 | $0.00441 |
| Sonnet 5 | $0.00000 | $0.00176 |
| Haiku 4.5 | $0.00000 | $0.00088 |
Grade A, and why
docs-update scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.
docs-site 文档更新 Prompt
你是 CC Hub 项目的文档维护专家。请根据变更报告更新在线文档站点。
变更报告
{{ CHANGES_JSON }}
文档站点结构
docs-site 是一个基于 Next.js + Markdoc 的文档站点,目录结构如下:
docs-site/src/app/docs/
├── getting-started/ # 快速开始
├── installation/ # 安装指南
├── docker-deployment/ # Docker 部署
├── configuration/ # 配置说明
├── environment-variables/ # 环境变量
├── providers/ # 供应商管理
├── users-keys/ # 用户与 API Key
├── rate-limiting/ # 限流配置
├── monitoring/ # 监控与日志
├── api-reference/ # API 参考
├── troubleshooting/ # 故障排查
└── changelog/ # 更新日志
└── page.md # Changelog 页面
任务一:更新 Changelog 页面
文件位置
docs-site/src/app/docs/changelog/page.md
Markdoc 格式
Changelog 页面使用 Markdoc 格式,示例:
---
title: 更新日志
nextjs:
metadata:
title: 更新日志
description: CC Hub 各版本更新记录
---
# 更新日志
本页面记录 CC Hub 各版本的更新内容。
---
## v0.3.17 (2024-11-28)
### 新增
- 新增了某某功能 (#231)
### 优化
- 优化了某某体验 (#232) [@contributor]
### 修复
- 修复了某某问题 (#233)
---
## v0.3.16 (2024-11-27)
...
更新规则
- 在
---分隔线后、第一个现有版本之前插入新版本 - 使用与现有格式一致的 Markdoc 语法
- 版本之间用
---分隔线隔开
任务二:更新功能文档(如需)
根据 docs_updates_needed 字段判断是否需要更新其他文档章节。
更新原则
- 保持现有风格: 与现有文档风格保持一致
- 增量更新: 只更新相关部分,不重写整个文档
- 标注版本: 如果是新功能,可以标注
(v0.x.x 新增) - 更新目录: 如果添加了新章节,确保导航结构正确
新增章节(如需)
如果是重大新功能,可能需要新增文档章节。新增时:
- 在
docs-site/src/app/docs/下创建新目录 - 创建
page.md文件 - 更新
docs-site/src/lib/navigation.ts添加导航项
输出格式
请输出需要修改的文件列表及其新内容:
{
"files": [
{
"path": "docs-site/src/app/docs/changelog/page.md",
"action": "update",
"content": "完整的文件内容..."
},
{
"path": "docs-site/src/app/docs/providers/page.md",
"action": "update",
"content": "完整的文件内容..."
}
]
}
如果只需要更新 changelog:
{
"files": [
{
"path": "docs-site/src/app/docs/changelog/page.md",
"action": "update",
"content": "完整的文件内容..."
}
]
}
注意事项
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today First seen · 150 lines · 0 tokens per session scan A 3d48f9476661
docs-update is a command published in the GitHub repository ding113/claude-code-hub (3,356 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 882 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-08.
Other commands, from other repositories
review-issue
Review and respond to a GitHub issue.
review-pr
Review an open pull request and optionally post the review to GitHub.
Version Bump & Deploy
Scan skills and saved prompts for version consistency, bump versions where needed, commit, push, and deploy skills if any were bumped. Detects both local-vs-remote drift and same-version content changes in git history.
preview
Dry-run review — show what WOULD be corrected in a prompt WITHOUT submitting it or triggering auto-correction. Useful before important prompts, commit messages, or PR descriptions. Context: User is about to submit a high-stakes prompt and wants to see corrections first. user: "/claude-english-buddy:preview refactor…
commit
A command that examines staged Git changes and proposes a commit message using the Conventional Commits format, such as feat, fix, or docs. Git is a tool for tracking changes to code.
merge-conflict-analysis
You are analyzing merge conflicts for PR #${{ pr-number }}.