code-confidence-map

code-confidence-map is a skill for Claude Code, Codex from kanyun-inc/reskill. It costs 104 tokens per session (3,455 once invoked), scanned A, original, MIT.

An assessment of how easy code is to understand, test, and safely change. It focuses on human comprehension and maintenance risk rather than only checking coding rules.

In plain words
What is it for?
Use it to scan files or directories, assess code health, find technical debt, understand test coverage, and plan safer changes.
Why use it?
It shows where complex responsibilities, weak tests, or unclear notes could make future fixes and refactoring risky.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to scan files or directories, assess code health, find technical debt, understand test coverage, and plan safer changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kanyun-inc/reskill/code-confidence-map
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 kanyun-inc/reskill --skill code-confidence-map
Clone the repo
git clone --depth 1 https://github.com/kanyun-inc/reskill

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 code-confidence-map

README.md
[![agentmods](https://agentmods.dev/badge/skills/kanyun-inc/reskill/code-confidence-map/github.svg)](https://agentmods.dev/skills/kanyun-inc/reskill/code-confidence-map)
Your own site
<a href="https://agentmods.dev/skills/kanyun-inc/reskill/code-confidence-map"><img src="https://agentmods.dev/badge/skills/kanyun-inc/reskill/code-confidence-map/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 code-confidence-map

Your own site · 80×15
<a href="https://agentmods.dev/skills/kanyun-inc/reskill/code-confidence-map"><img src="https://agentmods.dev/badge/skills/kanyun-inc/reskill/code-confidence-map.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,455 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 135
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
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.00104 $0.03455
Opus 5.5 $0.00042 $0.01382
Sonnet 5.5 $0.00021 $0.00691
Haiku 4.5 $0.00010 $0.00346

Measured 1mo ago against content hash 1532c90f5bce, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-confidence-map 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 1mo 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/code-confidence-map/SKILL.md · 349 lines

How it starts

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

Code Confidence Map

Helps AI agents answer a core question: "If this code breaks tomorrow, how well-equipped are we to understand and fix it?"

This is NOT a linter or code quality tool. It measures comprehensibility risk — the gap between code complexity and human understanding. The AI's unique advantage over static analysis tools is semantic judgment: it can tell that processData does 5 unrelated things, that tests only cover happy paths, or that // don't touch this is a red flag.

When to Use This Skill

Use this skill when the user:

  • Asks about code confidence, risk, or maintainability
  • Says "is this code safe to change?" or "how risky is this module?"
  • Is onboarding to a new codebase and wants to understand the landscape
  • Wants to know where the tech debt or weak spots are
  • Asks "which parts of the codebase are well-tested?"
  • Says "scan this directory" or "check this file's health"
  • Is planning a refactor and wants to assess risk first
  • Asks about code quality, code health, or how solid a module is

Core Concept: What "Confidence" Means

Confidence is the answer to: "If something goes wrong here, can we understand and fix it?"

It is NOT:

  • A judgment on code quality (LOW confidence is a risk signal, not a verdict)
  • A measure of cleverness or elegance
  • An indicator of who wrote the code or when

Confidence levels:

Level Meaning
HIGH Well-tested, readable, good error handling — safe to work with
MEDIUM Partially covered — some gaps in tests, docs, or error handling
LOW Significant gaps — risky to modify without additional preparation

Do NOT use percentages (e.g., "73.2%"). They imply false precision for what is fundamentally a judgment call.

Overall level rule: The overall confidence level equals the lowest dimension level. If any single dimension is LOW, the overall is LOW — one critical gap is enough to make code risky to work with.

Read the full file on GitHub · 349 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. 1mo ago First seen · 349 lines · 104 tokens per session scan A 1532c90f5bce

Subscribe to this mod's changes

code-confidence-map is a skill published in the GitHub repository kanyun-inc/reskill (60 stars, last pushed 1mo ago), licensed MIT. It adds 104 tokens to every session and 3,455 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

arch-optimize

A software architecture review workflow that scans a codebase for structural risks and measures code quality. It checks issues such as overly complex code, repeated knowledge, changes spreading across many files, circular dependencies, and distorted domain models.

bfxh/arch-optimize · 114 tokens

brooks-harness

Maintenance orchestrator for the brooks-lint plugin itself. Runs a sequential subagent pipeline — author → eval → QA → trigger-audit → release — to add or edit a skill, refresh the eval suite, keep the four manifests + all README translations + CHANGELOG + AGENTS/GEMINI in sync, audit trigger boundaries, and cut…

hyhmrright/brooks-lint · 271 tokens

release

Cut a brooks-lint release: set the version in package.json, propagate it across all four plugin manifests and every version-bearing text file (README badges, docs site metadata), write the CHANGELOG entry, validate, then commit, push, tag, and publish the GitHub release. Triggers when the maintainer asks to "release"…

hyhmrright/brooks-lint · 135 tokens

ai-development-guide

Applies language-agnostic and backend technical decision criteria, anti-pattern detection, debugging, and quality gates. Use when reviewing general/backend implementation choices, code smells, failures, or implementation completeness.

shinpr/claude-code-workflows · 43 tokens

new-skill

Scaffold a new brooks-lint analysis skill so it passes npm run validate and npm run evals on the first try — generates skills/{name}/SKILL.md (with the mandatory "Do NOT trigger for:" clause and a Process section citing guide step ranges) plus skills/{name}/{name}-guide.md (sequentially numbered steps), then appends…

hyhmrright/brooks-lint · 145 tokens

brooks-audit

Architecture audit that maps module dependencies, checks layering integrity, and flags structural decay across a codebase, drawing on twelve classic engineering books. Triggers when: user asks to audit architecture, review folder/module structure, check for circular imports, understand how the codebase is organized…

hyhmrright/brooks-lint · 143 tokens