technical-debt

technical-debt is a skill for Claude Code from AsyrafHussin/agent-skills. It costs 109 tokens per session (3,582 once invoked), scanned A, original, MIT.

An audit framework for finding and ranking technical debt—code and design problems that make future changes slower or riskier—in PHP/Laravel, MySQL, and Node/TypeScript/React projects.

In plain words
What is it for?
Use it to inspect a whole repository or selected paths, detect the supported technology stack, apply rules across areas such as security, tests, dependencies, performance, and documentation, and produce a ranked debt ledger.
Why use it?
It turns scattered maintenance issues into a prioritized list based on effort and impact, so teams can decide what to fix first.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions AGENTS.md.

not rated 102repo +5 2mo ago A scan Socket: passSnyk: passSkillSpector: warn 109 tokens original MIT

Good fit Use it to inspect a whole repository or selected paths, detect the supported technology stack, apply rules across areas such as security, tests, dependencies, performance, and documentation, and produce a ranked debt ledger.

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

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 technical-debt

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

agentmods 80×15 button for technical-debt

Your own site · 80×15
<a href="https://agentmods.dev/skills/asyrafhussin/agent-skills/technical-debt"><img src="https://agentmods.dev/badge/skills/asyrafhussin/agent-skills/technical-debt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,582 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 15 Sept 2026
  • Snyk pass 15 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 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 MCP Rug Pull · line 283
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 284
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 285
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00109 $0.03582
Opus 5.5 $0.00044 $0.01433
Sonnet 5.5 $0.00022 $0.00716
Haiku 4.5 $0.00011 $0.00358

Measured 2mo ago against content hash 5f580db50d04, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

technical-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 2mo 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/technical-debt/SKILL.md · 322 lines

How it starts

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

Technical Debt

Technical debt audit and prioritization framework for PHP/Laravel (MySQL) and Node/TypeScript/React projects. Contains 42 rules across 10 categories covering code, security, design, dependency, test, performance, data, documentation, infrastructure, and process debt. Produces a ranked ledger (effort × impact) so teams know what to fix first, not just what's broken. Supports both coding reference and audit mode with PASS/FAIL/N/A output.

Metadata

  • Version: 1.0.0
  • Scope: PHP / Laravel (MySQL) + Node / TypeScript / React
  • Rule Count: 42 rules across 10 categories
  • License: MIT

How to Audit

When the user asks to "audit technical debt", "find tech debt", or "what should we refactor first" — run the checklist below against their codebase and produce a ranked debt ledger.

Audit Step 1: Determine Scope

  • If arguments provided ($ARGUMENTS): audit only those paths or modules
  • If no arguments: audit the entire repository starting from the root

Audit Step 2: Detect Project Stack

Inspect composer.json and package.json to determine which of the supported stacks (PHP/Laravel, Node/TypeScript/React, or both) is in use. Tooling commands (composer outdated, npm outdated, phpstan, eslint, knip, etc.) are chosen based on this detection.

Audit Step 3: Run Debt Checklist

Work through every item below. For each, output:

  • PASS — brief confirmation of what was verified
  • FAIL — exact file:line (or command output), description of the debt, effort estimate (S/M/L), and impact (LOW/MED/HIGH/CRITICAL)
  • N/A — if the check does not apply to this project
Code Debt
  • No duplicated blocks > 30 lines across files
  • No function exceeds 50 lines or cyclomatic complexity > 10
  • No class exceeds 300 lines or has > 15 public methods (god class)
  • No unreachable code, unused exports, or commented-out blocks left in source
  • No magic numbers or unexplained string literals in business logic
  • No function exceeds 4 parameters (use a parameter object)

Read the full file on GitHub · 322 lines

Files

What ships with it

47 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. 2mo ago First seen · 322 lines · 109 tokens per session scan A 5f580db50d04

Subscribe to this mod's changes

technical-debt is a skill published in the GitHub repository AsyrafHussin/agent-skills (102 stars, last pushed 2mo ago), licensed MIT. It adds 109 tokens to every session and 3,582 once invoked, about $0.0004 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-30.

Related

technical-debt compared with skills from other repositories

technical-debt next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
technical-debtAsyrafHussin/agent-skillsSkill1022mo agoMITA109Claude Code
code-humanizerLeonardNJU/code-humanizerSkill943mo agoMITA100Claude Code, Codex
slop-codeAgriciDaniel/anti-slopSkill671mo agoApache-2.0A161Claude Code
slop-cophowshannon/slop-copSkill113mo agoMITA101Codex
recipe-front-reviewshinpr/claude-code-workflowsSkill7122d agoMITA29Claude Code
new-skillhyhmrright/brooks-lintSkill1.6kyesterdayMITA145Claude Code, Codex
dorodangoathola/claude-night-marketSkill348todayMITA31Claude Code