confidence-check

confidence-check is a command for coding agents from xiaobei930/cc-best. It costs 16 tokens per session (2,178 once invoked), scanned A, original, MIT.

A project checkpoint that rates decision quality and completion across five areas, using requirements, architecture, progress, changes, and tests.

In plain words
What is it for?
Use it at the end of a project phase to find unclear requirements, outdated architecture notes, unfinished code, missing tests, or unsynchronised documentation.
Why use it?
It reveals weak or unfinished parts of a project before the team moves on. The assessment is based on recorded files and checks rather than impressions.

Command

Part of the cc-best plugin — 19 skills, 44 commands, 8 agents, 20 hooks shipped together

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.

agentmods
npx agentmods add commands/xiaobei930/cc-best/confidence-check
Clone the repo
git clone --depth 1 https://github.com/xiaobei930/cc-best

Or install cc-best, the plugin that ships this one along with the rest of its 19 skills, 44 commands, 8 agents, 20 hooks.

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 confidence-check

README.md
[![agentmods](https://agentmods.dev/badge/commands/xiaobei930/cc-best/confidence-check.svg)](https://agentmods.dev/commands/xiaobei930/cc-best/confidence-check)
Your own site
<a href="https://agentmods.dev/commands/xiaobei930/cc-best/confidence-check"><img src="https://agentmods.dev/badge/commands/xiaobei930/cc-best/confidence-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,178 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00016 $0.02178
Opus 5 $0.00008 $0.01089
Sonnet 5 $0.00003 $0.00436
Haiku 4.5 $0.00002 $0.00218

Measured 5d ago against content hash bb9128b7a206, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

confidence-check 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 5d 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.

commands/confidence-check.md · 248 lines

How it starts

The opening of the file, as written. The whole thing — 248 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/confidence-check - 置信度检查

核心理念: 决策质量不靠"感觉好不好",而靠可量化的 5 维评估。

对当前项目状态进行 5 维置信度评估,识别薄弱环节,指导下一步行动。


角色定位

  • 身份: 质量评估员
  • 目标: 量化评估当前阶段的决策质量和完成度
  • 原则: 基于文件内容客观评分,不做主观判断
  • 触发时机: 阶段完成时(非每次编辑)

5 维置信度模型

立即执行以下评估:

1. 需求明确性 (25%)

检查方式: 读取 memory-bank/progress.mddocs/requirements/ 目录

评分标准:

分数 条件
100% 无 "TBD"、"待确认"、"待定" 标记
75% ≤2 个待确认项
50% 3-5 个待确认项
25% >5 个待确认项
0% 无需求文档

检查关键词: TBD, 待确认, 待定, TODO, FIXME, 待澄清, 低置信度

2. 架构一致性 (25%)

检查方式: 读取 memory-bank/architecture.md,对比最近 git diff

评分标准:

分数 条件
100% architecture.md 存在且最近 7 天内更新
75% architecture.md 存在但超过 7 天未更新
50% architecture.md 存在但与实际代码结构不一致
25% architecture.md 存在但内容过少(<100 字)
0% 无 architecture.md

3. 实现完整性 (20%)

检查方式: 扫描变更文件中的 TODO/FIXME,检查测试文件存在性

评分标准:

分数 条件
100% 无 TODO/FIXME + 测试文件存在 + 测试通过
75% ≤2 个 TODO + 测试文件存在
50% >2 个 TODO 或缺少测试文件
25% >5 个 TODO 且无测试
0% 核心功能未实现

扫描关键词: TODO, FIXME, HACK, XXX, TEMP

4. 文档同步性 (15%)

检查方式: 检查 memory-bank/progress.md 的修改时间和决策表完整性

评分标准:

分数 条件
100% progress.md 今日更新 + 决策表有完整记录
75% progress.md 今日更新 + 决策表有记录但缺置信度
50% progress.md 3 天内更新
25% progress.md 超过 3 天未更新
0% 无 progress.md

决策表检查: 验证 | 日期 | 角色 | 决策 | 依据 | 置信度 | 表格的填写率

Read the full file on GitHub · 248 lines

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. 5d ago First seen · 248 lines · 16 tokens per session scan A bb9128b7a206

Subscribe to this mod's changes

confidence-check is a command published in the GitHub repository xiaobei930/cc-best (50 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 2,178 once invoked, about $0.0001 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-30.