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 | $0.00029 | $0.00398 |
| Sonnet 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 12d 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.
- 12d 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 3mo ago), licensed MIT. It adds 58 tokens to every session and 797 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
scaffold
Use when starting hyperflow in a new project, refreshing the .hyperflow/ cache, or installing auto-detection shims (AGENTS.md, CLAUDE.md). One-shot project setup; does not start the spec → scope → dispatch chain. Trigger with /hyperflow:scaffold, "init hyperflow", "set up hyperflow", "refresh hyperflow", "install…
capability-evolver
A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.
review
Rigorous code review of all uncommitted changes. Analyzes architecture, code quality, security, and engineering best practices. Embeds questions and assumptions inline, then summarizes all proposed changes as a plan for user approval before any edits are made.
fastapi
FastAPI best practices and conventions. Use when working with FastAPI APIs and Pydantic models for them. Keeps FastAPI code clean and up to date with the latest features and patterns, updated with new versions. Write new code or refactor and update old code.
check-and-test
Run lint checks (ruff for Python, Biome for TS/JS), type checks (pyright for Python, tsc for TS/JS), and the standard pytest tiers (unit + e2e + tests skipped during pre-commit). Investigates failures to determine if they are application bugs or test issues, and fixes application bugs rather than weakening tests. Does…
commit
Git commit workflow with precommit hook handling, lint/type checking, README updates, and API reference updates. Use when the user wants to commit changes. Handles precommit hooks that modify files (formatting, linting) by re-staging and retrying. Runs ruff lint and pyright type checks on staged Python files, and…