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.
git clone --depth 1 https://github.com/andkirby/markdown-ticketWrote 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.
[](https://agentmods.dev/commands/andkirby/markdown-ticket/tech-debt)<a href="https://agentmods.dev/commands/andkirby/markdown-ticket/tech-debt"><img src="https://agentmods.dev/badge/commands/andkirby/markdown-ticket/tech-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.
<a href="https://agentmods.dev/commands/andkirby/markdown-ticket/tech-debt"><img src="https://agentmods.dev/badge/commands/andkirby/markdown-ticket/tech-debt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01737 |
| Opus 5.5 | $0.00000 | $0.00695 |
| Sonnet 5.5 | $0.00000 | $0.00347 |
| Haiku 4.5 | $0.00000 | $0.00174 |
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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MDT Technical Debt Detection Workflow (v2)
On-demand detection of technical debt patterns in implemented code.
Core Principle: Identify structural problems introduced during implementation. Every debt item must have concrete file locations, evidence, and fix direction.
User Input
$ARGUMENTS
Session Context
Use {TICKETS_PATH} in all file path templates below (if it's not defined read ticketsPath key from .mdt-config.toml).
Output Location
{TICKETS_PATH}/{CR-KEY}/debt.md
Execution Steps
Step 1: Extract Project Context
Detect or extract from CLAUDE.md / project config:
project:
source_dir: {src/, lib/, app/, ...}
test_command: {npm test, pytest, cargo test, go test, make test, ...}
build_command: {npm run build, cargo build, go build, make, ...}
file_extension: {.ts, .py, .rs, .go, .java, ...}
If CLAUDE.md exists, read it. Otherwise detect from project files.
Step 2: Load CR Context
- Call MCP tool
mdt-all:get_crwithmode="full"— abort if CR doesn't exist - Extract:
- Affected/new artifacts — files to analyze
- Architecture Design — check for violations
- Acceptance Criteria — extract scope/boundary constraints to verify
- Load requirements if exists: Check
{TICKETS_PATH}/{CR-KEY}/requirements.md- If found: check for unsatisfied requirements (debt indicator)
- Load tasks if exists: Check
{TICKETS_PATH}/{CR-KEY}/tasks.md- If found: check Requirement Coverage table for gaps
- If codebase available, scan actual files
Step 3: Detect Debt Patterns
Analyze against these patterns:
| Pattern | Signal | Severity |
|---|---|---|
| Duplication | Same logic in 2+ locations | High |
| Shotgun Surgery | Adding X requires editing N files | High |
| Missing Abstraction | Concept in code without type/interface | Medium |
| Hidden Coupling | Module imports internals of another | Medium |
| Responsibility Diffusion | Single concern across 3+ files | High |
| Unsatisfied Requirements | Requirements with no implementing code | High |
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.
- 1mo ago First seen · 238 lines · 0 tokens per session scan A 03d9829cf00f
tech-debt is a command published in the GitHub repository andkirby/markdown-ticket (7 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,737 tokens. 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.
Other commands, from other repositories
qa-changes
This skill should be used when the user asks to "QA a pull request", "test PR changes", "verify a PR works", "functionally test changes", or when an automated workflow triggers QA validation of code changes. Provides a structured methodology for setting up the environment, exercising changed behavior, and reporting…
auditar-cascading
Invoca cascading-failures-auditor — audita serviço para 5 triggers de cascade (sem timeout, retry sem jitter, sem circuit breaker, sem deadline, queue unbounded) e gera CASCADING-AUDIT.md.
react-native
Command "react-native" from getsentry/toolkit, covering examples, also associate with a release and distribution(s), xcode build step (react-native xcode) and important notes.
doctor
Diagnosticar y reparar problemas del framework Don Cheli, git y entorno. Usa cuando el usuario dice "doctor", "problemas del framework", "don cheli no funciona", "repair Don Cheli", "debug setup", "setup broken", "framework broken", "reparar entorno". Detecta y repara issues de configuración, git y dependencias…
http-service
Build, review or debug a Bun HTTP service. Loads the http-service skill, then works the task through its workflow.
doctor
Badi configuration validation. Checks all Badi components and produces a diagnostic report.