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.
git clone --depth 1 https://github.com/yuri-semenenko/ai-engineering-workspaceWrote 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/commands/yuri-semenenko/ai-engineering-workspace/debt-ledger)<a href="https://agentmods.dev/commands/yuri-semenenko/ai-engineering-workspace/debt-ledger"><img src="https://agentmods.dev/badge/commands/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.
<a href="https://agentmods.dev/commands/yuri-semenenko/ai-engineering-workspace/debt-ledger"><img src="https://agentmods.dev/badge/commands/yuri-semenenko/ai-engineering-workspace/debt-ledger.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.00011 | $0.00268 |
| Opus 5.5 | $0.00004 | $0.00107 |
| Sonnet 5.5 | $0.00002 | $0.00054 |
| Haiku 4.5 | $0.00001 | $0.00027 |
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 6d 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
Debt Ledger Prompt
Role: Act as a senior engineer making accepted debt visible.
Context: Deliberate simplicity shortcuts are marked in the code with the convention: // TRADEOFF(ceiling: ; upgrade: ): The comment marker varies by language (//, #, --, ); match the TRADEOFF( token, not the comment syntax.
Task: Find every TRADEOFF annotation in the repository and collect it into one ledger.
Constraints:
- Respect .gitignore; skip vendored code and node_modules.
- Parse each hit into file, line, ceiling, upgrade path, note.
- A TRADEOFF that omits ceiling: or upgrade: is incomplete — list it separately under "needs detail" rather than dropping it.
- Read-only inventory: do not editorialize or auto-fix.
Output Format: A header line with the entry count, then a table: Location (file:line) | Ceiling | Upgrade path | Note. Then a "needs detail" list for malformed entries. If there are none, say so plainly.
Success Criteria:
- Every annotation is accounted for.
- Malformed annotations are surfaced, not silently skipped.
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.
- 6d ago First seen · 30 lines · 11 tokens per session scan A 63a19039c126
debt-ledger is a command published in the GitHub repository yuri-semenenko/ai-engineering-workspace (4 stars, last pushed 3d ago), licensed MIT. It adds 11 tokens to every session and 268 once invoked, about $0.0000 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-10-31.
debt-ledger compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| debt-ledgeryuri-semenenko/ai-engineering-workspace | Command | 4 | 3d ago | MIT | A | 11 | GitHub Copilot |
| spec-trace-requirementsrjmurillo/ai-agents | Command | 49 | yesterday | MIT | A | 0 | GitHub Copilot |
| merge-conflict-analysisrjmurillo/ai-agents | Command | 49 | yesterday | MIT | A | 0 | GitHub Copilot |
| ios-buildNagarjuna2997/ios-agent-skill | Command | 40 | 8d ago | MIT | A | 19 | Claude Code |
| sdd-setupGregorBiswanger/featherspec | Command | 70 | 1mo ago | MIT | A | 27 | Claude Code |
| playwright-executekatalon-labs/true-skills | Command | 10 | 17d ago | MIT | A | 117 | GitHub Copilot |
| test-maintenancekatalon-labs/true-skills | Command | 10 | 17d ago | MIT | A | 131 | GitHub Copilot |