techdebt

techdebt is a skill for Claude Code from rajitsaha/100xprism. It costs 67 tokens per session (524 once invoked), scanned A, original, MIT.

A guide for finding technical debt: duplicated, unused, overly complicated, or inconsistent code that makes a project harder to maintain.

In plain words
What is it for?
Use it to scan a codebase, report cleanup candidates, and optionally consolidate or remove confirmed problems.
Why use it?
It helps identify code that adds maintenance work without providing useful behavior.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; installed under .agents/ (shared by several agents).

Good fit Use it to scan a codebase, report cleanup candidates, and optionally consolidate or remove confirmed problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rajitsaha/100xprism/techdebt
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 rajitsaha/100xprism --skill techdebt
Clone the repo
git clone --depth 1 https://github.com/rajitsaha/100xprism

Made for: Claude Code.

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 techdebt

README.md
[![agentmods](https://agentmods.dev/badge/skills/rajitsaha/100xprism/techdebt.svg)](https://agentmods.dev/skills/rajitsaha/100xprism/techdebt)
Your own site
<a href="https://agentmods.dev/skills/rajitsaha/100xprism/techdebt"><img src="https://agentmods.dev/badge/skills/rajitsaha/100xprism/techdebt.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 524 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 8
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
  • medium Excessive Agency · line 19
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00067 $0.00524
Opus 5 $0.00034 $0.00262
Sonnet 5 $0.00013 $0.00105
Haiku 4.5 $0.00007 $0.00052

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

Security

Grade A, and why

techdebt 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 3d 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.

.agents/skills/techdebt/SKILL.md · 72 lines

What it actually says

Techdebt — Technical Debt Scanner

Scan the codebase for technical debt and eliminate it. Run at end of session or when the codebase feels bloated.

Do NOT ask for permission — scan, report, then ask before fixing.

How to use

  • /techdebt — full scan + report, confirm before fixing
  • /techdebt fix — scan and fix without confirmation

Phase 1 — Scan

PROJECT_ROOT=$(git rev-parse --show-toplevel)
cd "$PROJECT_ROOT"

Look for:

  1. Duplicated code — copy-pasted logic that should be a shared utility
  2. Dead code — unused functions, variables, imports, exports, commented-out blocks
  3. Redundant abstractions — over-engineered helpers used in only one place
  4. Inconsistent patterns — same operation done 3+ different ways across files
  5. Stale TODOs / FIXMEs — old comments no longer relevant

Use Grep and Glob to identify candidates. Confirm each item is truly dead/duplicated before reporting.


Phase 2 — Report

## Tech Debt Found

### Duplicated Code
- `src/utils/formatDate.ts:12` and `src/helpers/dates.ts:45` — identical logic
  Fix: consolidate into formatDate.ts, delete dates.ts

### Dead Code
- `src/api/legacyAuth.ts` — no imports found anywhere
  Fix: delete file

### Stale TODOs
- `src/components/Modal.tsx:89` — TODO from 6 months ago, feature shipped
  Fix: remove comment

Phase 3 — Fix (with confirmation)

For each item, ask the user to confirm unless they said "fix". After fixes:

# Run tests to verify nothing broke
npm test 2>&1 | tail -20

GATE: Tests still pass after cleanup.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 72 lines · 67 tokens per session scan A dbb39b31ec49

Subscribe to this mod's changes

techdebt is a skill published in the GitHub repository rajitsaha/100xprism (10 stars, last pushed 7d ago), licensed MIT. It adds 67 tokens to every session and 524 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-09-03.