defect

defect is a skill for Claude Code from cryndoc/polisade-orchestrator. It costs 109 tokens per session (2,069 once invoked), scanned A, original, Apache-2.0.

A command for registering a software defect, meaning behavior that does not work as intended, and creating a task to fix it. The defect and its fix task receive tracked IDs and are stored in the project's backlog and task folders.

In plain words
What is it for?
Use it to report issues such as broken mobile buttons or server errors when loading large files. It creates both the bug record and the linked implementation task.
Why use it?
It puts a bug into the normal implementation and review process instead of leaving it as an informal note. Checks for duplicate IDs and conflicting files help prevent records from being overwritten.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

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

Good fit Use it to report issues such as broken mobile buttons or server errors when loading large files. It creates both the bug record and the linked implementation task.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cryndoc/polisade-orchestrator/defect
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 defect
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 25 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 defect

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cryndoc/polisade-orchestrator/defect"><img src="https://agentmods.dev/badge/skills/cryndoc/polisade-orchestrator/defect.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 2,069 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.00109 $0.02069
Opus 5.5 $0.00044 $0.00828
Sonnet 5.5 $0.00022 $0.00414
Haiku 4.5 $0.00011 $0.00207

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

Security

Grade A, and why

defect 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/defect/SKILL.md · 206 lines

How it starts

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

/polisade:defect [описание] — Добавить баг

Быстрое добавление бага с автоматическим созданием TASK для исправления.

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

/polisade:defect Кнопка не работает на мобильных
/polisade:defect Ошибка 500 при загрузке большого файла

Алгоритм

⛔ Если вызов скрипта на этом шаге ты СДЕЛАЛ, и он отклонён или не запустился (Command references protected path / Install directory is read-protected / Filesystem Guard / the tool's default permission is 'deny', отказ песочницы, ненулевой exit без вывода) — STOP. Вызова не было — отказа нет: сначала выполни команду; этот блок описывает её вывод и сам ответом не служит. Процитируй отказ дословно. НЕ пересказывай по исходнику, что скрипт «сделал бы»; НЕ собирай dry-run вручную; НЕ переходи к apply/push/pr-create. НЕ транскрибируй скрипт (прочитать → записать копию в /tmp или в проект → запустить копию): копия не байт-идентична — уезжают классы символов в regex, форма возврата функций, пропадают целые функции — и молча меняется набор применённых изменений. Отказ инструмента — это отказ, а не результат. Доложи PM дословный текст отказа и назови следствие: без рабочего вызова скрипта этот шаг выполнить нечем. Причину не придумывай — её называет только сам текст отказа.

  1. Возьми семя для BUG и TASK — номер при создании не вычисляется:

    ${POLISADE_PYTHON:-python3} {plugin_root}/scripts/polisade_id.py new-seed
    

    Имя файла — BUG-<семя>-<slug>.md, фронтматтер — id: BUG-<семя> И seed: <семя> (оба обязательны). Каждому — своё семя. Счётчик не читается и не пишется, и Counter drift при создании больше не существует: номера выдаются только /polisade:sync --apply на транке, поэтому сталкиваться не с чем. Протокол: skills/tasks/references/compute-next-id.md.

  2. Write-guard. Перед Write проверь, что backlog/bugs/BUG-<семя>-slug.md и tasks/TASK-<семя>-slug.md не существуют. Проверять artifactIndex нечем: номера у создаваемых артефактов ещё нет. При коллизии — новое семя.

  3. Создай файл backlog/bugs/BUG-<семя>-slug.md

  4. Автоматически создай tasks/TASK-<семя>-slug.md со ссылкой на BUG (парный write-guard: проверка применяется к обоим файлам перед IO).

Read the full file on GitHub · 206 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 Changed 49ad07759b83
  2. 12d ago Changed · +6 lines cb8f1b0b2346
  3. 1mo ago Changed · +11 lines 1c07b301d5ad
  4. 1mo ago Changed · +8 lines cae34b19cd1e
  5. 1mo ago First seen · 181 lines · 109 tokens per session scan A 5ed44a293354

Subscribe to this mod's changes

defect is a skill published in the GitHub repository cryndoc/polisade-orchestrator (7 stars, last pushed 4d ago), licensed Apache-2.0. It adds 109 tokens to every session and 2,069 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-31.