tech-debt-tracker

tech-debt-tracker is a command for coding agents from Dokkabei97/forged-claude-code. It costs 32 tokens per session (683 once invoked), scanned A, original, MIT.

A command that scans a codebase for technical debt, meaning code problems that make future changes harder, and creates a prioritized report.

In plain words
What is it for?
Use it before planning work or after rapid development to find TODOs and suppressed warnings, check dependencies, and assess duplication, complexity, and unused code.
Why use it?
It brings scattered warning comments, duplication, complexity, weak typing, dead code, and old dependencies into one reviewable list.

Command

Part of the forged-claude-code plugin — 29 skills, 14 commands, 9 agents, 2 hooks shipped together

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.

agentmods
npx agentmods add commands/dokkabei97/forged-claude-code/tech-debt-tracker
Clone the repo
git clone --depth 1 https://github.com/Dokkabei97/forged-claude-code

Or install forged-claude-code, the plugin that ships this one along with the rest of its 29 skills, 14 commands, 9 agents, 2 hooks.

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 tech-debt-tracker

README.md
[![agentmods](https://agentmods.dev/badge/commands/dokkabei97/forged-claude-code/tech-debt-tracker.svg)](https://agentmods.dev/commands/dokkabei97/forged-claude-code/tech-debt-tracker)
Your own site
<a href="https://agentmods.dev/commands/dokkabei97/forged-claude-code/tech-debt-tracker"><img src="https://agentmods.dev/badge/commands/dokkabei97/forged-claude-code/tech-debt-tracker.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 683 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00032 $0.00683
Opus 5 $0.00016 $0.00342
Sonnet 5 $0.00006 $0.00137
Haiku 4.5 $0.00003 $0.00068

Measured 4d ago against content hash ff6199d5a093, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

tech-debt-tracker 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 4d 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.

commands/tech-debt-tracker.md · 98 lines

How it starts

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

/tech-debt-tracker - Technical Debt Scanner

Triggers

  • Periodic codebase health check
  • Before sprint planning to assess debt paydown
  • After rapid development phase to understand accumulated debt

Usage

/tech-debt-tracker
/tech-debt-tracker --path src/
/tech-debt-tracker --severity high

Behavioral Flow

Phase 1: Scan Codebase

Grep: "TODO|FIXME|HACK|WORKAROUND|XXX|TEMP" → Code markers
Grep: "eslint-disable|noqa|noinspection|@suppress" → Suppressed warnings
Grep: "any" in TypeScript files → Type safety gaps
Glob: package.json, requirements.txt → Check dependency age

Phase 2: Categorize Debt

Category Detection Method
Code Markers TODO/FIXME/HACK comments
Suppressed Warnings eslint-disable, noqa, etc.
Type Safety any types, missing types
Outdated Deps npm outdated / pip list --outdated
Dead Code Unused exports, unreachable code
Duplication Similar code blocks
Complexity Functions > 50 lines, deep nesting

Phase 3: Generate Report

# Tech Debt Report — YYYY-MM-DD

## Summary
| Category | Count | Severity |
|----------|-------|----------|
| Code Markers | [N] | 🟡 |
| Suppressed Warnings | [N] | 🟠 |
| Outdated Dependencies | [N] | 🟠 |
| Type Safety Gaps | [N] | 🟡 |
| **Total Items** | **[N]** | |

## High Priority (Fix This Sprint)
| # | File | Issue | Category |
|---|------|-------|----------|
| 1 | `path:line` | [Description] | [Category] |

## Medium Priority (Fix This Month)
...

## Low Priority (Backlog)
...

## Trend
[Compared to last scan: improving / stable / worsening]

## Recommended Actions
1. [Most impactful debt to pay down]
2. [Second priority]

Tool Coordination

  • Grep: Search for debt markers and patterns
  • Glob: Find files to scan
  • Bash: Run npm outdated, pip list --outdated
  • Write: Generate report

Boundaries

Will:

  • Scan for common technical debt indicators
  • Categorize and prioritize findings
  • Track debt trends over time
  • Suggest which debt to pay down first

Read the full file on GitHub · 98 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. 4d ago First seen · 98 lines · 32 tokens per session scan A ff6199d5a093

Subscribe to this mod's changes

tech-debt-tracker is a command published in the GitHub repository Dokkabei97/forged-claude-code (2 stars, last pushed 6mo ago), licensed MIT. It adds 32 tokens to every session and 683 once invoked, about $0.0002 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-31.