debt

debt is a skill for Claude Code from cryndoc/polisade-orchestrator. It costs 113 tokens per session (3,210 once invoked), scanned A, original, Apache-2.0.

A command for showing and closing unanswered questions attached to project documents such as requirements, specifications, features, and designs. It can show questions for the whole project or for one document.

In plain words
What is it for?
Use it to list open questions, filter them by artifact, or close a question once it has been answered.
Why use it?
It gives the team one place to find unresolved decisions instead of searching through many project files. Closing a question updates its status in the source document.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the polisade plugin — 26 skills, 2 commands shipped together

Good fit Use it to list open questions, filter them by artifact, or close a question once it has been answered.

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

Made for: Claude Code.

Or install polisade, the plugin that ships this one along with the rest of its 26 skills, 2 commands.

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 debt

README.md
[![agentmods](https://agentmods.dev/badge/skills/cryndoc/polisade-orchestrator/debt.svg)](https://agentmods.dev/skills/cryndoc/polisade-orchestrator/debt)
Your own site
<a href="https://agentmods.dev/skills/cryndoc/polisade-orchestrator/debt"><img src="https://agentmods.dev/badge/skills/cryndoc/polisade-orchestrator/debt.svg" alt="Measured on agentmods" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,210 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.00113 $0.03210
Opus 5 $0.00056 $0.01605
Sonnet 5 $0.00023 $0.00642
Haiku 4.5 $0.00011 $0.00321

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

Security

Grade A, and why

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 7d 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/debt/SKILL.md · 292 lines

How it starts

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

/polisade:debt [описание] [--task] — Добавить техдолг

Быстрое добавление технического долга. По умолчанию создаёт только DEBT (регистрация). Передай --task, чтобы сразу завести связанную TASK и положить её в readyToWork.

Использование

/polisade:debt Рефакторинг модуля авторизации
/polisade:debt Обновить зависимости до последних версий
/polisade:debt Добавить индексы в БД --task          # сразу создать TASK
  • Без флага — создаётся только DEBT со статусом ready. Для последующей декомпозиции в TASK используй /polisade:tasks DEBT-XXX (когда готов работать над долгом).
  • С --task — создаётся пара DEBT + TASK, TASK добавляется в readyToWork (поведение симметрично старому default).

Алгоритм

  1. Распарсь args. Выдели --task (если есть), остаток склей в описание.
  2. Прочитай .state/PROJECT_STATE.json. Извлеки settings.debt.autoCreateTask (default: false если ключ отсутствует).
  3. Определи create_task:
    • create_task = true если args содержит --task или settings.debt.autoCreateTask == true.
    • create_task = false во всех остальных случаях.
    • У команды /polisade:debt нет флага отказа от TASK. Чтобы получить поведение «только DEBT» в мигрированном проекте — PM либо выключает settings.debt.autoCreateTask: false в .state/PROJECT_STATE.json, либо принимает legacy-поведение (TASK создаётся + deprecation banner).
  4. Вычисли next-id для DEBT по протоколу из skills/tasks/references/compute-next-id.md (единый max по .state/counters.json, PROJECT_STATE.artifactIndex и file-scan). Если create_taskтакже вычисли next-id для TASK. При Counter drift (на диске выше, чем в counters.json) — АБОРТ с сообщением «Запусти python3 {plugin_root}/scripts/polisade_sync.py . --apply --yes и повтори». Ни одного файла не пиши до устранения drift'а.
  5. Write-guard. Перед Write проверь, что backlog/tech-debt/DEBT-{N}-slug.md не существует и DEBT-{N} отсутствует в state.artifactIndex (и legacy state.artifacts). Если create_task — ту же проверку на tasks/TASK-{M}-slug.md / TASK-{M}. При коллизии — АБОРТ с отсылкой к /polisade:sync --apply.
  6. Создай backlog/tech-debt/DEBT-XXX-slug.md по шаблону ниже. Определи категорию автоматически или спроси.
  7. Если create_task — создай tasks/TASK-XXX-slug.md со ссылкой на DEBT. Прочитай файлы из «Предлагаемое решение» DEBT, найди конкретные функции/классы, впиши в TASK точные пути + идентификаторы.

Read the full file on GitHub · 292 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. 7d ago First seen · 292 lines · 113 tokens per session scan A d94ece482ffc

Subscribe to this mod's changes

debt is a skill published in the GitHub repository cryndoc/polisade-orchestrator (7 stars, last pushed 12d ago), licensed Apache-2.0. It adds 113 tokens to every session and 3,210 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

shiploop

Self-improving multi-agent harness: wraps N git sub-repos as one workspace, dispatches named tickets to cheap-floor headless agents that escalate once on failure, promoting lessons into CLAUDE.md. Use when working in or scaffolding a meta-repo workspace (sub-folders each own .git; root has scripts/ + queue/tickets.md…

anshss/shiploop · 0 tokens

ungate-queue

Use when the user wants to work THROUGH the blocked items on a queue with you present — "unblock these", "walk me through what is gated", "let us clear the questions" — or immediately after an unattended run reports items it could not do. Turns each gate reason into the single question that would release the item…

haiggoh/run-to-completion · 132 tokens

autopilot

Use when the user asks to run a whole queue of open work unattended — "autopilot", "run everything you can", "clear what you can while I am away", "full auto on my open items". Orchestrates the complete run as an explicit checklist: triage the queue into tiers, execute the autonomous pile without stopping, then close…

haiggoh/run-to-completion · 97 tokens

sdlc-accelerate

End-to-end SDLC ramp-up from idea to construction-ready with automated phase transitions.

jmagly/aiwg · 23 tokens

project-awareness

Detect project type, AIWG framework state, team configuration, and active work to summarize status and recommend next actions.

jmagly/aiwg · 25 tokens

artifact-metadata

Manage artifact metadata, versioning, ownership, and review history across the SDLC lifecycle.

jmagly/aiwg · 21 tokens