implement-audit

implement-audit is a skill for Claude Code from Ashkaan/contextium. It costs 64 tokens per session (6,557 once invoked), scanned A, original, MIT.

A one-time adversarial code review for recently changed code, looking for missed cases, inconsistencies, and breakages.

In plain words
What is it for?
It is for reviewing substantial code changes, reporting failed reviews, and identifying fixes that the original implementation missed.
Why use it?
It provides an independent check before work is considered complete and prevents the same changes from being reviewed repeatedly in one session.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Good fit It is for reviewing substantial code changes, reporting failed reviews, and identifying fixes that the original implementation missed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ashkaan/contextium/implement-audit
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 Ashkaan/contextium --skill implement-audit
Clone the repo
git clone --depth 1 https://github.com/Ashkaan/contextium

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 implement-audit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ashkaan/contextium/implement-audit"><img src="https://agentmods.dev/badge/skills/ashkaan/contextium/implement-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,557 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
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 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 Excessive Agency · line 44
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 158
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Agent Snooping · line 10
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 18
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 11
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 19
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00064 $0.06557
Opus 5.5 $0.00026 $0.02623
Sonnet 5.5 $0.00013 $0.01311
Haiku 4.5 $0.00006 $0.00656

Measured yesterday against content hash b042f1f67a03, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

implement-audit 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 yesterday.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/audit-dedupe.test.ts, scripts/audit-dedupe.ts, scripts/run-automated-checks.test.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

templates/agents/skills/implement-audit/SKILL.md · 260 lines

How it starts

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

implement-audit — the loop's code reviewer

Review code just built in this conversation. Be adversarial — assume things were missed and find them. Do not confirm the work is good; find what's wrong.

implement-audit is the single code reviewer everywhere: /implement fires it at phase-4.7, and it is standalone-callable as /implement-audit after any ad-hoc substantial change. The retired bespoke code-review agent and the old per-surface dispatches all consolidated here.

Critical — Scope

Only review work from this conversation. Do NOT flag unrelated uncommitted changes, review full git status, comment on other sessions' work, or pad findings with non-issues. One exception, per that rule: a security or data-loss defect read in passing (exposed credential, injection, destructive-by-default path) is still reported — with the out-of-scope verdict, so it never holds the patch.

The skill has two reasoning halves. Step 1 runs automated checks in the main conversation (they need Bash + the session's tool access). Step 2 runs the adversarial-reasoning half on a different vendor from the author — whichever one the adversarial-review policy row selects — a reviewer from the model family that wrote the code has a prior commitment to "this is fine because I wrote it" that fresh context alone does not remove. The two halves merge into a single numbered list of findings with triage verdicts.

Runs at most once per session. Step 0's dedupe guard (scripts/audit-dedupe.ts) makes a hand-typed /implement-audit after /implement phase-4.7 a no-op that re-emits the first run's trailer, not a second full review.

Expected State

/implement's Phase 4 layers (validate.ts --phase checks) should have already run. If implement-audit consistently finds 3+ issues, flag this as a process failure — the layers aren't catching what they should, and the fix for that must reach the cause.

step-0-session-dedupe

node --experimental-strip-types .agents/skills/implement-audit/scripts/audit-dedupe.ts status

Read the full file on GitHub · 260 lines

Files

What ships with it

4 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. yesterday Changed b042f1f67a03
  2. 12d ago Changed · +2 lines 0298f94a8f5e
  3. 15d ago Changed d90efd1cdc4e
  4. 16d ago Changed · +84 lines · -25 tokens per session efc6349c9e72
  5. 17d ago Changed · -33 lines · +18 tokens per session 28cc1ccdcf6f
  6. 1mo ago Changed · +1 lines 7a890e60d9a3
  7. 1mo ago First seen · 206 lines · 71 tokens per session scan A 96bec57f014b

Subscribe to this mod's changes

implement-audit is a skill published in the GitHub repository Ashkaan/contextium (36 stars, last pushed yesterday), licensed MIT. It adds 64 tokens to every session and 6,557 once invoked, about $0.0003 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

Other skills, from other repositories

red-team-review

Unified adversarial review, two modes. Strategic Matrix v4.3 (MTA-004) for arguments/plans/decisions: Priors → Rubric → Adversarial Lenses → SWOT/TOWS → MCDA → Blind Spot/Kill Switch → Summary. Deliverable Audit for built artefacts (assignments, reports, code outputs): isolated fresh-context hunt against the brief…

winstonkoh87/Athena-Public · 103 tokens

decision-journal

Unified decision lifecycle: Pre-decision logging, post-decision review, failure classification, and calibration tracking. Absorbs: post-mortem-engine.

winstonkoh87/Athena-Public · 35 tokens

plan-review-architecture

Architecture-dimension reviewer for written plans. Use when running plan-review or directly when an architectural review is wanted. Activate for keywords like "architecture review", "data flow", "failure modes", "rollback", "edge cases", "test matrix". Scores 5 sub-dimensions 0-10, produces ranked fixes. Always cite…

duthaho/claudekit · 87 tokens

code-review-loop

Use when opening a PR for review or when receiving review feedback. Activate for keywords like "code review", "PR review", "request review", "review feedback", "address comments", "reviewer said". Covers both ends of the loop: preparing a reviewable PR and acting on feedback rigorously. Always engage with every…

duthaho/claudekit · 79 tokens

example-skill

Performs thorough code reviews following best practices. Use when reviewing pull requests, checking code quality, or ensuring coding standards compliance.

AmadeusITGroup/ai-primitives-hub · 29 tokens

code-review

Analyze diffs, suggest improvements, and review pull requests with actionable feedback.

profclaw/profclaw · 17 tokens