tech-debt

tech-debt is a skill for Claude Code from RamonBedin/mcp-game-deck. It costs 29 tokens per session (365 once invoked), scanned A, original, MIT.

A codebase review tool that finds signs of technical debt, such as unfinished notes, complex code, duplication, weak error handling, and outdated dependencies. Technical debt is maintenance work created by shortcuts or aging code.

In plain words
What is it for?
Use it to scan a project, summarize earlier scans, and prioritize architecture, testing, documentation, performance, and dependency fixes.
Why use it?
It turns scattered code-quality problems into a categorized report with priorities and aging information.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the mcp-game-deck plugin — 24 skills, 10 agents shipped together

Good fit Use it to scan a project, summarize earlier scans, and prioritize architecture, testing, documentation, performance, and dependency fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ramonbedin/mcp-game-deck/tech-debt
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.

Any agent
npx skills add RamonBedin/mcp-game-deck --skill tech-debt
Clone the repo
git clone --depth 1 https://github.com/RamonBedin/mcp-game-deck

Made for: Claude Code.

Or install mcp-game-deck, the plugin that ships this one along with the rest of its 24 skills, 10 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ramonbedin/mcp-game-deck/tech-debt.svg)](https://agentmods.dev/skills/ramonbedin/mcp-game-deck/tech-debt)
Your own site
<a href="https://agentmods.dev/skills/ramonbedin/mcp-game-deck/tech-debt"><img src="https://agentmods.dev/badge/skills/ramonbedin/mcp-game-deck/tech-debt.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 365 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00029 $0.00365
Opus 5 $0.00015 $0.00182
Sonnet 5 $0.00006 $0.00073
Haiku 4.5 $0.00003 $0.00036

Measured 8d ago against content hash d1fdb4fdde97, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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 8d 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.

Plugin~/skills/tech-debt/SKILL.md · 52 lines

What it actually says

When this skill is invoked:

  1. Determine mode:

    • scan: Search codebase for debt indicators
    • report: Generate summary from previous scans
  2. For scan mode:

    • Search for TODO, FIXME, HACK, TEMP, WORKAROUND comments
    • Identify files > 300 lines (complexity risk)
    • Find methods > 40 lines
    • Detect code duplication patterns
    • Check for missing error handling in MCP tools
    • Flag deprecated Unity API usage
  3. Categorize debt:

    • Architecture: Wrong patterns, tight coupling
    • Code Quality: Complex methods, duplication
    • Documentation: Missing descriptions on MCP tools
    • Testing: Untested systems
    • Performance: Known slow paths without optimization
    • Dependency: Outdated packages
  4. Output:

## Tech Debt Report — [Date]

### Summary
- Total items: X
- Critical: X | Major: X | Minor: X

### By Category
| Category | Count | Top Item |
|----------|-------|----------|
| Architecture | X | ... |
| Code Quality | X | ... |
| ...

### Top 5 Priority Items
1. [Item] — Impact: HIGH, Effort: LOW (quick win)

### Aging Alert
[Items older than 30 days]
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. 8d ago First seen · 52 lines · 29 tokens per session scan A d1fdb4fdde97

Subscribe to this mod's changes

tech-debt is a skill published in the GitHub repository RamonBedin/mcp-game-deck (6 stars, last pushed 2mo ago), licensed MIT. It adds 29 tokens to every session and 365 once invoked, about $0.0001 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.