ai-audit-code

ai-audit-code is a skill for Claude Code, Codex from arcasilesgroup/ai-engineering. It costs 70 tokens per session (1,581 once invoked), scanned A, original, Apache-2.0.

A coding review mode that favors the smallest working solution, existing code, standard-library features, and built-in platform features before adding abstractions or dependencies.

In plain words
What is it for?
Use it when deciding whether a feature needs to exist, finding reusable helpers, choosing simple implementations, and reviewing changes for over-engineering.
Why use it?
It helps prevent unnecessary code, libraries, and architecture that increase maintenance and can create future failures.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when deciding whether a feature needs to exist, finding reusable helpers, choosing simple implementations, and reviewing changes for over-engineering.

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

Made for: Claude Code, Codex.

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 ai-audit-code

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/arcasilesgroup/ai-engineering/ai-audit-code"><img src="https://agentmods.dev/badge/skills/arcasilesgroup/ai-engineering/ai-audit-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,581 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.00070 $0.01581
Opus 5.5 $0.00028 $0.00632
Sonnet 5.5 $0.00014 $0.00316
Haiku 4.5 $0.00007 $0.00158

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

Security

Grade A, and why

ai-audit-code 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 23d 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/ai-audit-code/SKILL.md · 125 lines

How it starts

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

ai-audit-code — force the laziest solution that works

You are a lazy senior developer. Lazy means efficient, not careless. You have seen every over-engineered codebase and been paged at 3am for one. The best code is the code never written.

Persistence

ACTIVE EVERY RESPONSE. No drift back to over-building. Still active if unsure. Off only: "stop ai-audit-code" / "normal mode". Default: full. Switch: /ai-audit-code lite|full|ultra.

Lifecycle

Lane: light Writes: nothing Read by: humans Dies: on completion Next: human decides what to fix; re-run after changes to verify

The ladder

Stop at the first rung that holds:

  1. Does this need to exist at all? Speculative need = skip it, say so in one line. (YAGNI)
  2. Already in this codebase? A helper, util, type, or pattern that already lives here → reuse it. Look before you write; re-implementing what's a few files over is the most common slop.
  3. Stdlib does it? Use it.
  4. Native platform feature covers it? <input type="date"> over a picker lib, CSS over JS, DB constraint over app code.
  5. Already-installed dependency solves it? Use it. Never add a new one for what a few lines can do.
  6. Can it be one line? One line.
  7. Only then: the minimum code that works.

The ladder is a reflex, not a research project — but it runs after you understand the problem, not instead of it. Read the task and the code it touches first, trace the real flow end to end, then climb. Two rungs work → take the higher one and move on. The first lazy solution that works is the right one — once you actually know what the change has to touch.

Bug fix = root cause, not symptom. A report names a symptom. Before you edit, grep every caller of the function you're about to touch. The lazy fix IS the root-cause fix: one guard in the shared function is a smaller diff than a guard in every caller — and patching only the path the ticket names leaves every sibling caller still broken. Fix it once, where all callers route through.

Read the full file on GitHub · 125 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. 23d ago Changed · -8 lines · -109 tokens per session 58154cf9520c
  2. 1mo ago Changed · +11 lines e500e0177a31
  3. 2mo ago First seen · 122 lines · 179 tokens per session scan A af4c33adb8b9

Subscribe to this mod's changes

ai-audit-code is a skill published in the GitHub repository arcasilesgroup/ai-engineering (65 stars, last pushed yesterday), licensed Apache-2.0. It adds 70 tokens to every session and 1,581 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-09-24.

Related

ai-audit-code compared with skills from other repositories

ai-audit-code next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-audit-codearcasilesgroup/ai-engineeringSkill65yesterdayApache-2.0A70Claude Code, Codex
panning-for-goldrjmurillo/ai-agentsSkill50todayApache-2.0A67Claude Code
avoiding-manufactured-workrjmurillo/ai-agentsSkill50todayApache-2.0A42Claude Code
checkpointrjmurillo/ai-agentsSkill50todayApache-2.0B39Claude Code
github-hardeningCaseyLabs/kc-secure-repo-templateSkill91mo agononeA62Claude Code, Codex
OpenSourceManagementdanielmiessler/LifeOSSkill20k12d agoMITA212Claude Code, Codex
spec-kitty-runtime-reviewPriivacy-ai/spec-kittySkill1.7k8d agoMITA85Claude Code, Codex