Borrowing it
Nothing to install: this file belongs to aegntic/cldcde. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/aegntic/cldcde/main/.claude/skills/debt-sentinel/SKILL.mdgit clone --depth 1 https://github.com/aegntic/cldcdeWrote 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/skills/aegntic/cldcde/debt-sentinel)<a href="https://agentmods.dev/skills/aegntic/cldcde/debt-sentinel"><img src="https://agentmods.dev/badge/skills/aegntic/cldcde/debt-sentinel/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/skills/aegntic/cldcde/debt-sentinel"><img src="https://agentmods.dev/badge/skills/aegntic/cldcde/debt-sentinel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00051 | $0.00977 |
| Opus 5 | $0.00026 | $0.00489 |
| Sonnet 5 | $0.00010 | $0.00195 |
| Haiku 4.5 | $0.00005 | $0.00098 |
Grade A, and why
debt-sentinel 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.
How it starts
The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Debt-Sentinel: Technical Debt Prevention
Overview
Debt-Sentinel is an architectural enforcer that prevents "vibe coding" slop by blocking anti-patterns before they enter the codebase. It uses PreToolUse hooks to intercept problematic code and maintains a debt ledger for accountability.
When to Use
Activate this skill when:
- Writing or editing code files
- Reviewing code for quality issues
- Checking for security vulnerabilities
- Validating architectural compliance
- Before committing changes
Anti-Patterns Detected
Critical (Blocks Edit)
- Hardcoded Secrets: API keys, passwords, tokens in source code
- Inline SQL: SQL injection vulnerabilities via string concatenation
- Direct DOM Manipulation: Bypassing React's virtual DOM
Warning (Logs Debt)
- Inline Styles: Using style={} instead of CSS classes
- Console Logging: Using console.log instead of structured logging
- Magic Numbers: Unnamed numeric literals
- Service Layer Bypass: Direct HTTP calls bypassing abstractions
Info (Tracked)
- TODO Without Tickets: Unreferenced TODO comments
- Poor Naming: Non-descriptive variable names
Usage
Automatic Mode
When integrated with Agent Zero hooks, Debt-Sentinel automatically scans every file edit:
{
"hooks": {
"PreToolUse": [
{
"matcher": "Edit(*)|Write(*)",
"command": "python3 /a0/usr/plugins/debt-sentinel/debt-sentinel.py --check"
}
]
}
}
Manual Mode
# Check a file
python3 /a0/usr/plugins/debt-sentinel/debt-sentinel.py --check <file>
# View session debt report
python3 /a0/usr/plugins/debt-sentinel/debt-sentinel.py --session-end
Understanding Debt Scores
Each violation has an "Interest Rate" (1-10):
- Critical: 8-10 points
- Warning: 4-7 points
- Info: 1-3 points
Session Debt Score accumulates across all edits. High scores trigger cleanup prompts.
Configuration
Edit /a0/usr/plugins/debt-sentinel/ANTI_PATTERNS.md to customize:
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.
- 9d ago First seen · 144 lines · 51 tokens per session scan A 97d18206c14a
debt-sentinel is a skill published in the GitHub repository aegntic/cldcde (11 stars, last pushed 13d ago), licensed MIT. It adds 51 tokens to every session and 977 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-30.
Other skills, from other repositories
architecture-review
Agents should invoke this skill for architecture reviews, module boundaries, dependency direction, coupling/cohesion, SOLID concerns, system design trade-offs, layering, service boundaries, or design decisions before implementation.
spec-vs-impl-checker
Agents should invoke this skill when a spec, plan, README, issue, or requirement must be verified against implementation. Traces requirements to code, checks interface contracts, and reports gaps or mismatches.
hono-core
Hono ultrafast web framework fundamentals - routing, context, handlers, and response patterns for multi-runtime deployment.
code-reviewer-go
Auto-route to this skill if project contains.
code-reviewer-rust
Auto-route to this skill if project contains.
code-reviewer-python
Auto-route to this skill if project contains.