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/w2ur/claude-code-setupWrote 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/w2ur/claude-code-setup/tech-debt)<a href="https://agentmods.dev/commands/w2ur/claude-code-setup/tech-debt"><img src="https://agentmods.dev/badge/commands/w2ur/claude-code-setup/tech-debt/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/w2ur/claude-code-setup/tech-debt"><img src="https://agentmods.dev/badge/commands/w2ur/claude-code-setup/tech-debt.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.00076 | $0.01834 |
| Opus 5.5 | $0.00030 | $0.00734 |
| Sonnet 5.5 | $0.00015 | $0.00367 |
| Haiku 4.5 | $0.00008 | $0.00183 |
Grade A, and why
tech-debt 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 24d 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 — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Monthly technical health review. Two phases: triage everything, then deep-dive on your picks.
Mode Selection
- If
$0is empty: run Phase 1 (triage all) → present priority list → ask owner to pick → run Phase 2 (deep review). - If
$0is--triage-only: run Phase 1 only, no fixes. - If
$0is app names (e.g.,my-budget-app my-bias-app): skip Phase 1, run Phase 2 directly on those apps.
Phase 1 — Fast Triage (~1 min for all apps)
Phase 1 is fully deterministic, so it is a script and not model work (the scheduled-jobs skill: deterministic work gets a script, not an agent). Run it and present its output:
bash ~/.claude/scripts/tech-debt-triage.sh
It scans every git repo in ~/Dev (via dev-scanner.sh --json), scores each on four signals — commit activity, portfolio prominence (position in editorial.ts), time since last deep review (~/Dev/.tech-debt-rotation.json), and quick issues (npm outdated, npm audit, console.log count, .nvmrc) — and prints a ranked markdown table ready to show the owner. --json gives the same data machine-readable. It is read-only — it never writes the rotation tracker, because "last scan" means last deep review, not last triage.
The script owns the weights. Read them in tech-debt-triage.sh; never restate or re-implement them here — that is how the two drift apart.
Exit codes (the script's header is the source of truth): 0 ok · 1 ran but degraded (a required tool was missing, so the numbers are incomplete — say so before presenting them) · 2 could not run (git, the dev scanner or a uv-managed Python unavailable, or bad arguments) — report the triage as unknown and present no table.
Then ask: "Which apps do you want me to review in depth? (names or numbers, or 'top N')"
Wait for the owner's response before proceeding to Phase 2.
Phase 2 — Deep Review (selected apps only)
For each app the owner selected, run a thorough analysis:
2a. Dependencies Health
npm outdated 2>/dev/null
npm audit 2>/dev/null
# For Python: uv run --with pip-audit pip-audit
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.
- 24d ago Changed 513a69eacf42
- 2mo ago Changed · +4 lines d438e16edff4
- 2mo ago Changed · -5 lines 3be1e70cea01
- 2mo ago Changed · -7 lines 4e2498c3a2c2
- 3mo ago First seen · 183 lines · 76 tokens per session scan A fed41dbf75a2
tech-debt is a command published in the GitHub repository w2ur/claude-code-setup (1 stars, last pushed yesterday), licensed MIT. It adds 76 tokens to every session and 1,834 once invoked, about $0.0003 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-08-31.
tech-debt compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tech-debtw2ur/claude-code-setup | Command | 1 | yesterday | MIT | A | 76 | Claude Code |
| costsFlorianBruniaux/claude-code-plugins | Command | 47 | yesterday | MIT | A | 11 | Claude Code |
| dashboardFlorianBruniaux/claude-code-plugins | Command | 47 | yesterday | MIT | A | 11 | Claude Code |
| webFlorianBruniaux/claude-code-plugins | Command | 47 | yesterday | MIT | A | 6 | Claude Code |
| loopskullninja/coco-workflow | Command | 7 | 1mo ago | MIT | A | 28 | Claude Code |
| executeskullninja/coco-workflow | Command | 7 | 1mo ago | MIT | A | 28 | Claude Code |
| dashboardskullninja/coco-workflow | Command | 7 | 1mo ago | MIT | A | 22 | Claude Code |