tech-debt-analyzer

tech-debt-analyzer is a skill for Claude Code, Codex from ailabs-393/ai-labs-claude-skills. It costs 62 tokens per session (3,439 once invoked), scanned A, original, MIT.

A code-review tool for finding and recording technical debt—shortcuts or design problems that make software harder to change. It focuses on JavaScript and TypeScript codebases.

In plain words
What is it for?
Use it to detect code smells, complex or oversized code, dependency and documentation problems, weak typing, security concerns, and other maintainability issues.
Why use it?
It helps turn scattered warnings, TODO comments, and maintainability problems into a structured list that can be tracked and prioritized.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to detect code smells, complex or oversized code, dependency and documentation problems, weak typing, security concerns, and other maintainability issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ailabs-393/ai-labs-claude-skills/tech-debt-analyzer
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 ailabs-393/ai-labs-claude-skills --skill tech-debt-analyzer
Clone the repo
git clone --depth 1 https://github.com/ailabs-393/ai-labs-claude-skills

Made for: Claude Code, Codex.

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-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/ailabs-393/ai-labs-claude-skills/tech-debt-analyzer/github.svg)](https://agentmods.dev/skills/ailabs-393/ai-labs-claude-skills/tech-debt-analyzer)
Your own site
<a href="https://agentmods.dev/skills/ailabs-393/ai-labs-claude-skills/tech-debt-analyzer"><img src="https://agentmods.dev/badge/skills/ailabs-393/ai-labs-claude-skills/tech-debt-analyzer/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.

agentmods 80×15 button for tech-debt-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/skills/ailabs-393/ai-labs-claude-skills/tech-debt-analyzer"><img src="https://agentmods.dev/badge/skills/ailabs-393/ai-labs-claude-skills/tech-debt-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,439 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
  • Socket pass 18 Mar 2026
  • Snyk pass 15 Feb 2026
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.00062 $0.03439
Opus 5 $0.00031 $0.01720
Sonnet 5 $0.00012 $0.00688
Haiku 4.5 $0.00006 $0.00344

Measured 12d ago against content hash 1e3a13cc9209, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

tech-debt-analyzer 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 12d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (index.js, scripts/analyze_dependencies.py, scripts/detect_code_smells.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

packages/skills/tech-debt-analyzer/SKILL.md · 579 lines

How it starts

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

Technical Debt Analyzer

Overview

Systematically identify, analyze, document, and track technical debt in JavaScript/TypeScript codebases. This skill provides automated analysis tools, comprehensive debt categorization frameworks, and documentation templates to maintain a technical debt register.

Core Workflow

1. Automated Analysis

Run automated scripts to detect technical debt indicators across the codebase.

Code Smell Detection

Identify code quality issues using the automated detector:

python3 scripts/detect_code_smells.py src --output markdown

The script analyzes:

  • Large Files: Files exceeding 500 lines
  • Complex Functions: High cyclomatic complexity (>10) or long functions (>50 lines)
  • Debt Markers: TODO, FIXME, HACK, XXX, BUG comments
  • Console Statements: Debug statements left in code
  • Weak Typing: Use of any type in TypeScript
  • Long Parameters: Functions with >5 parameters
  • Deep Nesting: Code nested >4 levels deep
  • Magic Numbers: Hardcoded numeric values

Output Example:

# Technical Debt Analysis Report

**Files Analyzed:** 127
**Total Lines:** 15,432
**Total Issues:** 89

### Issues by Severity
- HIGH: 23
- MEDIUM: 41
- LOW: 25

## Large Files (12 issues)
### High Priority
- src/components/Dashboard.tsx (847 lines): File too large
- src/services/DataProcessor.ts (623 lines): File too large
...
Dependency Analysis

Examine dependencies for debt indicators:

python3 scripts/analyze_dependencies.py package.json

The script identifies:

  • Deprecated Packages: Known deprecated libraries (request, tslint, etc.)
  • Duplicate Functionality: Multiple packages serving same purpose
  • Version Issues: Overly loose or strict version constraints
  • Security Concerns: Known vulnerable packages (requires audit data)

Output Example:

# Dependency Analysis Report

**Package:** expense-tracker
**Dependencies:** 24
**Dev Dependencies:** 18
**Total Issues:** 7

## Deprecated/Outdated Packages (3)
### request [HIGH]
Using deprecated package - use axios, node-fetch, or got instead
- Current version: ^2.88.0

## Duplicate Functionality (2)
### HTTP client [MEDIUM]
Multiple packages for HTTP client: axios, node-fetch

Read the full file on GitHub · 579 lines

Files

What ships with it

7 files 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. 12d ago First seen · 579 lines · 62 tokens per session scan A 1e3a13cc9209

Subscribe to this mod's changes

tech-debt-analyzer is a skill published in the GitHub repository ailabs-393/ai-labs-claude-skills (445 stars, last pushed 10mo ago), licensed MIT. It adds 62 tokens to every session and 3,439 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-08-30.