debt-ledger

debt-ledger is a skill for Claude Code from yuri-semenenko/ai-engineering-workspace. It costs 0 tokens per session (430 once invoked), scanned A, original, MIT.

A read-only inventory of deliberate tradeoffs recorded in source-code comments. A tradeoff states what a solution will eventually stop being suitable for and how to upgrade it then.

In plain words
What is it for?
Use it to collect each tradeoff's file location, limit, upgrade path, and note across a repository, while separately listing malformed entries.
Why use it?
It keeps accepted technical debt visible instead of leaving it as unexplained TODO comments. It also identifies incomplete tradeoff notes that need more detail.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

Good fit Use it to collect each tradeoff's file location, limit, upgrade path, and note across a repository, while separately listing malformed entries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yuri-semenenko/ai-engineering-workspace/debt-ledger
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 yuri-semenenko/ai-engineering-workspace --skill debt-ledger
Clone the repo
git clone --depth 1 https://github.com/yuri-semenenko/ai-engineering-workspace

Made for: Claude Code.

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 debt-ledger

README.md
[![agentmods](https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/debt-ledger/github.svg)](https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/debt-ledger)
Your own site
<a href="https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/debt-ledger"><img src="https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/debt-ledger/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 debt-ledger

Your own site · 80×15
<a href="https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/debt-ledger"><img src="https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/debt-ledger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 430 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.00000 $0.00430
Opus 5 $0.00000 $0.00215
Sonnet 5 $0.00000 $0.00086
Haiku 4.5 $0.00000 $0.00043

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

Security

Grade A, and why

debt-ledger 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 9d 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.

claude-code/.claude/skills/debt-ledger/SKILL.md · 37 lines

What it actually says

Debt Ledger

Surface every deliberate, named tradeoff in the codebase so accepted debt stays visible instead of rotting as an anonymous // TODO.

Convention being collected

The persona's tradeoff annotation (see CLAUDE.md):

// TRADEOFF(ceiling: <what this solution maxes out at>; upgrade: <path when the ceiling is hit>): <short note>

The comment marker varies by language (//, #, --, <!-- -->). Match the TRADEOFF( token, not the comment syntax.

Steps

  1. Grep the repo for the TRADEOFF( token across source files (respect .gitignore; skip vendored/node_modules).
  2. Parse each hit into: file, line, ceiling, upgrade path, note.
  3. Flag malformed annotations — a TRADEOFF that omits ceiling: or upgrade: is incomplete; list it under a separate "needs detail" group rather than silently dropping it.
  4. Report as a single ledger.

Output

TRADEOFF ledger — <N> entries (<M> need detail)
Location (file:line) Ceiling Upgrade path Note

Then a "needs detail" list for malformed entries. Do not editorialize or auto-fix — this is a read-only inventory. If zero annotations exist, say so plainly (it may mean the convention is not being used, not that there's no debt).

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. 9d ago First seen · 37 lines · 0 tokens per session scan A 79aca5cbb927

Subscribe to this mod's changes

debt-ledger is a skill published in the GitHub repository yuri-semenenko/ai-engineering-workspace (1 stars, last pushed 9d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 430 tokens. 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

rework-rate

Measure and interpret PR rework rate — the emerging 5th DORA metric.

bradygaster/squad · 20 tokens

audit

Audits recent work against its Definition of Done and project patterns. Runs the test suite, compares code against the spec, and reports PASS / PARTIAL / FAIL. Also runs the Critical Gate — a safety scan of the diff for destructive or dangerous operations. Generates an incremental prompt pack for any gaps found. With…

pe-menezes/vibeflow · 93 tokens

codex-review

Use this skill when users ask for code review, review pending changes, or inspect the latest commit with Codex-based review workflows. It prepares context, runs project linting, and reviews the result.

BenedictKing/benedictking-skills · 44 tokens

phoenix-review

Review completed work against the Intent Contract's acceptance criteria using objective evidence, not opinion — re-run every check, confirm no regressions, inspect the tamper-evident trace, and surface only real issues (bugs, unmet criteria, regressions). Use before shipping, after a feature is built, or when the user…

All-The-Vibes/ATV-Phoenix · 78 tokens

analyze

Deep-analyzes the current codebase to discover stack, architecture, patterns, conventions, and pitfalls. Creates curated documentation in .vibeflow/ that persists and can be committed to git. Supports incremental updates, scoped deep-dives, interactive review, and satellite repo analysis. Use when setting up a…

pe-menezes/vibeflow · 81 tokens

ndv-temporal

Trajectory-aware cognitive module. Injects lifecycle and direction-of-change thinking into architecture reviews, dependency audits, and technology selection — where direction matters as much as current state. Emergent.

emb715/neurodiveragents · 41 tokens