tool-registry-cce

tool-registry-cce is a skill for Claude Code, Codex from luochang212/cc-enhance. It costs 58 tokens per session (797 once invoked), scanned A, original, MIT.

A record of whether external command-line tools and services are currently available, along with the result of their latest check.

In plain words
What is it for?
Use it to check tool status, record successful or failed calls, track rate limits, and keep availability information across sessions.
Why use it?
It helps avoid repeatedly trying tools that are unavailable or rate-limited. The record can guide which tool to use before making a call.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it to check tool status, record successful or failed calls, track rate limits, and keep availability information across sessions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luochang212/cc-enhance/tool-registry-cce
Install

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.

Any agent
npx skills add luochang212/cc-enhance --skill tool-registry-cce
Clone the repo
git clone --depth 1 https://github.com/luochang212/cc-enhance

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for tool-registry-cce

README.md
[![agentmods](https://agentmods.dev/badge/skills/luochang212/cc-enhance/tool-registry-cce/github.svg)](https://agentmods.dev/skills/luochang212/cc-enhance/tool-registry-cce)
Your own site
<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.

agentmods 80×15 button for tool-registry-cce

Your own site · 80×15
<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>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 797 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 12d ago against content hash c2c152dff034, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

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.

skills/tool-registry-cce/SKILL.md · 70 lines

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。

环境依赖

依赖 用途 安装方式 磁盘 必需
Files

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.

Changes

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.

  1. 12d ago First seen · 70 lines · 58 tokens per session scan A c2c152dff034

Subscribe to this mod's changes

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.

Related

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…

jeremylongshore/tons-of-skills-marketplace · 86 tokens

capability-evolver

A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.

anymouschina/TapCanvas · 29 tokens

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.

ReflexioAI/claude-smart · 52 tokens

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.

ReflexioAI/claude-smart · 57 tokens

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…

ReflexioAI/claude-smart · 97 tokens

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…

ReflexioAI/claude-smart · 122 tokens