tech-debt-scan

tech-debt-scan is a skill for Claude Code, Codex from vijayjoshi24/ea-agent-skills. It costs 131 tokens per session (1,175 once invoked), scanned A, original, MIT.

A codebase review that measures technical debt—the accumulated design and maintenance problems that make software harder to change. It works with an Azure DevOps repository or with code and repository details pasted by the user.

In plain words
What is it for?
Use it to assess architecture health, modernisation readiness, code quality, and technical debt across five areas, then create a remediation backlog and summary.
Why use it?
It turns a broad concern about code quality into a scored report and an ordered list of work. This helps teams see which problems are most serious and where to start.

Skill for Claude CodeCodex

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

Good fit Use it to assess architecture health, modernisation readiness, code quality, and technical debt across five areas, then create a remediation backlog and summary.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vijayjoshi24/ea-agent-skills/tech-debt-scan
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 vijayjoshi24/ea-agent-skills --skill tech-debt-scan
Clone the repo
git clone --depth 1 https://github.com/vijayjoshi24/ea-agent-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-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/vijayjoshi24/ea-agent-skills/tech-debt-scan/github.svg)](https://agentmods.dev/skills/vijayjoshi24/ea-agent-skills/tech-debt-scan)
Your own site
<a href="https://agentmods.dev/skills/vijayjoshi24/ea-agent-skills/tech-debt-scan"><img src="https://agentmods.dev/badge/skills/vijayjoshi24/ea-agent-skills/tech-debt-scan/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-scan

Your own site · 80×15
<a href="https://agentmods.dev/skills/vijayjoshi24/ea-agent-skills/tech-debt-scan"><img src="https://agentmods.dev/badge/skills/vijayjoshi24/ea-agent-skills/tech-debt-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,175 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.00131 $0.01175
Opus 5 $0.00066 $0.00588
Sonnet 5 $0.00026 $0.00235
Haiku 4.5 $0.00013 $0.00118

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

Security

Grade A, and why

tech-debt-scan 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 11d 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.

skills/tech-debt-scan/SKILL.md · 125 lines

How it starts

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

Tech Debt Scan

Analyse a codebase for technical debt across five domains. Produce a scored report, a prioritised remediation backlog, and an executive summary.

Read references/scoring-rubric.md before scoring any domain.


Step 1 — Gather Inputs

Ask for:

  1. ADO connection — org / project / repo / branch + PAT (Code: Read scope)
  2. Tech stack hint (optional) — e.g. ".NET 8, React, Azure SQL"
  3. Scope (optional) — specific folders or modules to focus on

If the user pastes a file tree, dependency file, or code samples instead, work from that.


Step 2 — Fetch Repository Structure

GET https://dev.azure.com/{org}/{project}/_apis/git/repositories/{repo}/items
    ?scopePath=/&recursionLevel=Full&api-version=7.1
Authorization: Basic base64(:{PAT})

Prioritise fetching content for: *.csproj · package.json · pom.xml · requirements.txt · Dockerfile · azure-pipelines.yml · appsettings*.json · .env* · README.md · Program.cs / app.py / index.js (entry points) · up to 10 source files across different modules · any *test* folders.

Skip binary files. Cap at ~30 file reads for large repos.


Step 3 — Score Five Domains

Read references/scoring-rubric.md for the full signal list and weights.

Domains (0–100, higher = more debt):

  1. Architecture & Design — structure, coupling, EOL frameworks, missing IaC
  2. Code Quality & Complexity — god classes, missing error handling, TODOs, no linting
  3. Security & Compliance — secrets in code, no secrets management, HTTP endpoints, missing SAST
  4. Data & Integration — hardcoded URLs, no retry patterns, mixed data access, no API spec
  5. Testing & Observability — no tests, no logging framework, no health checks, no pipeline test step

Per domain, produce:

  • Score (0–100) + severity: Low 0–30 / Medium 31–60 / High 61–80 / Critical 81–100
  • Top 3 findings with file path evidence
  • Confidence: High (direct evidence) / Medium (structural inference) / Low (inferred from absence)

Read the full file on GitHub · 125 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. 11d ago First seen · 125 lines · 131 tokens per session scan A e0d2f18a784d

Subscribe to this mod's changes

tech-debt-scan is a skill published in the GitHub repository vijayjoshi24/ea-agent-skills (5 stars, last pushed 4mo ago), licensed MIT. It adds 131 tokens to every session and 1,175 once invoked, about $0.0007 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.