audit-and-remediation

audit-and-remediation is a skill for Claude Code from avmnu-sng/sutra. It costs 42 tokens per session (2,054 once invoked), scanned A, original, MIT.

A process for reviewing an existing codebase and turning its problems into an ordered repair plan.

In plain words
What is it for?
Use it for code-health reviews, known-defect triage, risk assessment, and remediation plans for software that already exists.
Why use it?
It makes technical debt and risks easier to assess, prioritize, assign, and resolve in stages.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sutra plugin — 19 skills, 4 agents, 2 hooks shipped together

Good fit Use it for code-health reviews, known-defect triage, risk assessment, and remediation plans for software that already exists.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/avmnu-sng/sutra/audit-and-remediation
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 avmnu-sng/sutra --skill audit-and-remediation
Clone the repo
git clone --depth 1 https://github.com/avmnu-sng/sutra

Made for: Claude Code.

Or install sutra, the plugin that ships this one along with the rest of its 19 skills, 4 agents, 2 hooks.

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 audit-and-remediation

README.md
[![agentmods](https://agentmods.dev/badge/skills/avmnu-sng/sutra/audit-and-remediation/github.svg)](https://agentmods.dev/skills/avmnu-sng/sutra/audit-and-remediation)
Your own site
<a href="https://agentmods.dev/skills/avmnu-sng/sutra/audit-and-remediation"><img src="https://agentmods.dev/badge/skills/avmnu-sng/sutra/audit-and-remediation/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 audit-and-remediation

Your own site · 80×15
<a href="https://agentmods.dev/skills/avmnu-sng/sutra/audit-and-remediation"><img src="https://agentmods.dev/badge/skills/avmnu-sng/sutra/audit-and-remediation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,054 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.00042 $0.02054
Opus 5 $0.00021 $0.01027
Sonnet 5 $0.00008 $0.00411
Haiku 4.5 $0.00004 $0.00205

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

Security

Grade A, and why

audit-and-remediation 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 12d 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.

plugins/sutra/skills/audit-and-remediation/SKILL.md · 183 lines

How it starts

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

Audit and remediation

Audit code that already exists and turn findings into a sequenced, owned remediation plan. This is distinct from greenfield planning: you are not designing a system from scratch (the execution-plan templates cover that), you are assessing what is there, ranking what is wrong, and deciding who fixes what, in what order, gated by explicit exit criteria.

Use this skill when asked to review a codebase for health, tech debt, or risk; to triage a backlog of known defects; or to produce a remediation roadmap someone can execute against.

1. Produce the audit doc

An audit is documentation, not a single wall of text. Produce an audit doc -- split it into multiple files when the audit is large, so each part can be updated independently as remediation proceeds -- covering three things:

  1. Scope + method. What was and was not examined, the HEAD SHA the audit was run against, and the audit date; plus how the audit was conducted so it is reproducible (paths/layers/subsystems inspected, tools/commands run, what was explicitly out of scope, and the severity rubric used). A finding is only as trustworthy as the method that produced it. A one-paragraph executive summary up top helps a reader orient.
  2. Findings ranked across the three lenses. The findings themselves, each with a stable ID, a location (path + anchor), evidence, and its three-lens ranking (Step 2). Group by subsystem or theme to keep a long list navigable. Where it helps, capture the system as it actually is today -- components, boundaries, data flow, load-bearing invariants -- and note where reality diverges from the intended design.
  3. A sequenced action list with exit criteria. Findings converted into discrete, actionable items -- one item = one deliverable -- each carrying its three-lens priority, a cost/effort class and ownership (Step 3), and a work lane (Step 5), then sequenced into phases gated by written exit criteria (Step 6).

Read the full file on GitHub · 183 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. 12d ago First seen · 183 lines · 42 tokens per session scan A 97aa55fb73e5

Subscribe to this mod's changes

audit-and-remediation is a skill published in the GitHub repository avmnu-sng/sutra (2 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 2,054 once invoked, about $0.0002 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

code-review

Review code changes for concrete defects.

FlorianBruniaux/claude-code-ultimate-guide · 10 tokens

aio-map

Trace dependencies, call graphs, and blast radius for a file/function/module via GitNexus + LSP. Step 2 of the codeflow discover → map → plan trio (after aio-discover, before aio-plan).

aiocean/claude-plugins · 48 tokens

anti-stub-scan

Scan a diff for stub patterns and TODO markers.

Acendas/shipyard · 16 tokens

bughunter

When the user wants to find bugs, test edge cases, stress-test code, or perform adversarial analysis of their codebase. Use when the user says "find bugs," "break this," "what could go wrong," "red team," "hunt bugs," "adversarial test," "edge cases," "stress test," "what did I miss," "pen test this logic," or before…

irfad7/claude-power-skills · 103 tokens

blast-radius

Project-grounded blast-radius tracing for code changes, PRs, diffs, files, symbols, or bugfixes, especially in Helpdesk-style repos. Use before editing, committing, merging, or reviewing when downstream callers, tests, routes, SQL, configs, schema, auth/tenant boundaries, external integrations, sibling bugs, or…

anotherben/claude-harness · 80 tokens

code-variable-audit

Audit pull requests, branches, diffs, or local source files for semantically suspicious variable, identifier, member-access, and payload-field usage. Use when checking wrong-object bugs such as product.id versus rexProduct.id, source-system identity confusion, alias erasure, mismatched payload keys, or cross-system…

anotherben/claude-harness · 97 tokens