Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add luochang212/cc-enhance --skill tool-registry-ccegit clone --depth 1 https://github.com/luochang212/cc-enhanceWrote 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/skills/luochang212/cc-enhance/tool-registry-cce)<a href="https://agentmods.dev/skills/luochang212/cc-enhance/tool-registry-cce"><img src="https://agentmods.dev/badge/skills/luochang212/cc-enhance/tool-registry-cce/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/luochang212/cc-enhance/tool-registry-cce"><img src="https://agentmods.dev/badge/skills/luochang212/cc-enhance/tool-registry-cce.svg" alt="Reviewed on agentmods" width="80" 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.00058 | $0.00797 |
| Opus 5.5 | $0.00023 | $0.00319 |
| Sonnet 5.5 | $0.00012 | $0.00159 |
| Haiku 4.5 | $0.00006 | $0.00080 |
Grade A, and why
tool-registry-cce 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 2mo ago.
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.
What it actually says
来自 cc-enhance。
-cce后缀表示此技能由 cc-enhance 项目安装,避免与本地同名技能冲突。
工具状态追踪
~/.claude/tool-registry.json 跨会话记住工具可用性,避免每次盲试。references/tool-catalog.json 是常用工具参考样本,提供 invoke 格式和 notes。安装时由 BOOT 脚本扫描本机后动态生成注册表,catalog 中未覆盖的工具也可手动添加。
记录格式
每个工具有一个 history 对象,保留最近 1 条调用记录:
{
"status": "available",
"updated": "2026-05-09T18:00:00+08:00",
"history": {"timestamp": "2026-05-09T18:00:00+08:00", "status": "available", "response_time_ms": 650, "note": "查询 'Claude Code', 3 结果"}
}
timestamp— 调用时间status— 当时的状态(available / rate_limited / unavailable)response_time_ms— 可选,响应耗时note— 可选,简要说明
自动维护
只在工具状态变化时写入注册表:
- 首次验证成功 → 写入
available记录,设置updated - 失败 → 写入
unavailable记录,更新updated - 429/额度耗尽 → 记录
rate_limited,更新updated - 后续成功 → 不写入(状态未变,没有信息量)
工具调用失败的那一刻就自己把注册表改了,不要等用户提醒。
新鲜度判断
每次会话开始时读注册表。对每个工具:
updated距今 ≤ 3 天 → 信任,直接按记录的状态决策updated距今 3-7 天 → 信任但警惕,首次调用时观察结果updated距今 > 7 天或不存在 → 重新验证,用一次轻量调用确认状态
CLAUDE.md 注入
这是 cc-enhance 中唯一会写入用户 ~/.claude/CLAUDE.md 的内容。写入时必须精确使用以下文本,以 ## 工具可用性 为锚点:
## 工具可用性
查询 `~/.claude/tool-registry.json` 决定工具策略:
- `updated` ≤ 3 天 → 信任,直接用
- `updated` 3-7 天 → 信任但首次调用时观察
- `updated` > 7 天或不存在 → 用轻量调用重新验证
工具调用失败时即刻更新注册表。
绝不在此之外添加其他内容到用户 CLAUDE.md。
环境依赖
| 依赖 | 用途 | 安装方式 | 磁盘 | 必需 |
|---|---|---|---|---|
| 无 | — | — | — | — |
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 70 lines · 58 tokens per session scan A c2c152dff034
tool-registry-cce is a skill published in the GitHub repository luochang212/cc-enhance (7 stars, last pushed 5mo ago), licensed MIT. It adds 58 tokens to every session and 797 once invoked, about $0.0002 per session on Opus 5.5. 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-08-31.
tool-registry-cce compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tool-registry-cceluochang212/cc-enhance | Skill | 7 | 5mo ago | MIT | A | 58 | Claude Code, Codex |
| scaffoldjeremylongshore/tons-of-skills-marketplace | Skill | 2.9k | yesterday | MIT | A | 86 | Claude Code |
| update-prReflexioAI/claude-smart | Skill | 791 | 3d ago | Apache-2.0 | A | 71 | Claude Code, Codex |
| create-prReflexioAI/claude-smart | Skill | 791 | 3d ago | Apache-2.0 | A | 74 | Claude Code, Codex |
| capability-evolveranymouschina/TapCanvas | Skill | 709 | 4d ago | MIT | A | 29 | Claude Code, Codex |
| architecture-aware-initathola/claude-night-market | Skill | 348 | yesterday | MIT | A | 28 | Claude Code |
| claude-smartReflexioAI/claude-smart | Skill | 791 | 3d ago | Apache-2.0 | A | 69 | Claude Code |