debt-sentinel
Architectural pattern enforcer that prevents technical debt.
Skill by aegntic
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aegntic-debt-sentinel
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, security, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/debt-sentinel
What's inside
- Skill name
debt-sentinel- Description
- Architectural pattern enforcer that prevents technical debt. Use when editing code to check for anti-patterns, hardcoded secrets, SQL injection, inline styles, and other code quality issues. Automatically blocks critical violations and logs debt scores.
- License
- MIT
- Instructions
- 126 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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:
```json
{
"hooks": {
"PreToolUse": [
{
"matcher": "Edit(*)|Write(*)",
"command": "python3 /a0/usr/plugins/debt-sentinel/debt-sentinel.py --check"
}
]
}
}
```
### Manual Mode
```bash
# 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:
```yaml
### CUSTOM-001: Your Pattern Name
**Severity:** critical
**Interest Rate:** 9
**Regex:** your-regex-pattern
**Description:** What this pattern detects
**Fix Suggestion:** How to resolve
```
## Debt Ledger
All violations are logged to `/a0/usr/plugins/debt-sentinel/DEBT.md`:
```markdown
## Debt Entry - 2026-02-12 12:00:00
**Pattern:** CRITICAL-001
**Severity:** critical
**File:** src/api/auth.js
**Debt Score:** 10
**Description:** Hardcoded API key detected
```
## Integration
Works seamlessly with:
- **Red Team Tribunal**: Security-focused adversarial review
- **Spec-Lock**: Documentation synchronization
- **Compound Engineering**: Multi-stage workflow orchestration
## Success Metrics
- **Block Rate**: % of edits blocked due to critical violations
- **Debt Trend**: Session debt scores over time
- **Resolution Time**: Average time to fix violations
- **Override Rate**: % of blocks that users override (should be <5%)
## Troubleshooting
### Permission Denied
```bash
chmod +x /a0/usr/plugins/debt-sentinel/debt-sentinel.py
```
### Pattern Not Detecting
Check regex syntax in ANTI_PATTERNS.md:
```python
import reFrom aegntic/cldcde, MIT.
More from aegntic/cldcde
- 0.544score
council
aegntic
Run a 5-adviser council to stress-test any decision.
SkillCFreshness: C★ 12Claude Code +9 - 0.484score
ae-proof-agent
aegntic
Diligence-grade product and technical analysis for the ae.ltd proof-agent concept, including comparison against Cursor and Omnara, MVP and production…
SkillDFreshness: D★ 12Claude Code +9 - 0.484score
ae-ltd-skill-builder
aegntic
Create new Claude Code Skills with proper YAML frontmatter, progressive disclosure structure, and complete directory organization.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-visual-regression-forge
aegntic
Use when UI changes must be proven safe across breakpoints using baseline and diff workflows.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
compound-engineering
aegntic
Orchestration layer that coordinates Debt-Sentinel, Red Team Tribunal, and Spec-Lock into unified workflows.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-claude-template-switchboard
aegntic
Use when creating or upgrading CLAUDE.md instructions and selecting the right template baseline for repo size, architecture, and team constraints.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-worktree-mesh
aegntic
Use when parallel branches are needed for feature work, hotfixes, or review fixes using git worktrees with minimal context switching.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
red-team-tribunal
aegntic
Multi-agent adversarial verification system.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-mutation-gate
aegntic
Use when unit tests look green but confidence is low and mutation testing is needed to expose weak assertions.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
spec-lock
aegntic
Bi-directional code and documentation synchronizer.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-context7-radar
aegntic
Use when coding decisions depend on current library/framework APIs and you need version-accurate docs before implementation.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-mcp-foundry
aegntic
Use when scaffolding or extending MCP servers, adding tools/resources/prompts, or hardening MCP tool schemas and handlers.
SkillDFreshness: D★ 12Claude Code +9
Signals
- Stars
- 12
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Feb 13, 2026 (8 months ago)
- Last release
- Aug 13, 2025 (1 year ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/aegntic/cldcde
- Website
- cldcde.cc
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from aegntic
- 0.544score
council
aegntic
Run a 5-adviser council to stress-test any decision.
SkillCFreshness: C★ 12Claude Code +9 - 0.484score
ae-ltd-skill-builder
aegntic
Create new Claude Code Skills with proper YAML frontmatter, progressive disclosure structure, and complete directory organization.
SkillDFreshness: D★ 12Claude Code +9 - 0.484score
ae-proof-agent
aegntic
Diligence-grade product and technical analysis for the ae.ltd proof-agent concept, including comparison against Cursor and Omnara, MVP and production…
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
compound-engineering
aegntic
Orchestration layer that coordinates Debt-Sentinel, Red Team Tribunal, and Spec-Lock into unified workflows.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-worktree-mesh
aegntic
Use when parallel branches are needed for feature work, hotfixes, or review fixes using git worktrees with minimal context switching.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-claude-template-switchboard
aegntic
Use when creating or upgrading CLAUDE.md instructions and selecting the right template baseline for repo size, architecture, and team constraints.
SkillDFreshness: D★ 12Claude Code +9
Cite this page
debt-sentinel skill. Agent Mart. https://agentmart.dev/skills/aegntic-debt-sentinel (last updated 2026-10-24)