code-audit

code-audit is a skill for Claude Code from benthamite/dotfiles. It costs 43 tokens per session (1,780 once invoked), scanned A, original, no licence file.

A code review focused on real defects, including bugs, application security problems, missing error handling, and correctness issues.

In plain words
What is it for?
Use it to audit code for bugs, security issues in an application, error-handling gaps, and incorrect behavior.
Why use it?
It helps find behavior that can fail or create security problems, without treating style, architecture, performance, or test coverage as the main target.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to audit code for bugs, security issues in an application, error-handling gaps, and incorrect behavior.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/benthamite/dotfiles/code-audit"><img src="https://agentmods.dev/badge/skills/benthamite/dotfiles/code-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,780 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 unknown 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.00043 $0.01780
Opus 5.5 $0.00017 $0.00712
Sonnet 5.5 $0.00009 $0.00356
Haiku 4.5 $0.00004 $0.00178

Measured 1mo ago against content hash 6fc0ecc3cc9e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-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 1mo 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.

claude/skills/code-audit/SKILL.md · 88 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

1 file 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. 1mo ago Changed · +3 lines 6fc0ecc3cc9e
  2. 1mo ago First seen · 85 lines · 43 tokens per session scan A 5c41b6df5cfd

Subscribe to this mod's changes

code-audit is a skill published in the GitHub repository benthamite/dotfiles (12 stars, last pushed 7d ago), with no licence file. It adds 43 tokens to every session and 1,780 once invoked, about $0.0002 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

drift-check

Pre-PR advisory check for deviations from the project spec. Read-only analysis.

joshukraine/dotfiles · 20 tokens

git-review

Review code changes, pull requests, or merge requests for bugs, code quality, security, and maintainability. Use when asked to review a PR, MR, diff, or set of changes. Also handles GitHub PRs and GitLab MRs.

GrimLink/dotfiles · 54 tokens

ralphex-plan-audit

Audit a ralphex/farm implementation plan (docs/plans/.md) for self-containment, task concreteness, and verification that can actually run in the task container, before running it through ralphex or queuing it on ralphex-farm. ralphex runs every task and review in a FRESH session that re-reads only the plan (plus the…

pkarpovich/environment · 257 tokens

claudemd-audit

Audit CLAUDE.md files against best practices. Analyzes length, structure, anti-patterns, and generates improvement recommendations with concrete suggestions. Invoke when user says "audit claude.md", "check claude.md", "review claude.md", "improve claude.md".

pkarpovich/environment · 64 tokens

revmux

Run a revmux multi-agent review in an agterm overlay and bring the report back into the session. Use for "revmux", "review this plan with revmux", "run revmux on", "revmux review", "audit this plan", "multi-agent review", "review with the panel". Creates the task round, writes the scope and goal the reviewers read…

pkarpovich/environment · 105 tokens

deep-review

Multi-pass code review of branch changes against the default branch. Broad parallel sweep across quality, implementation, tests, simplification, and docs, with optional external (codex) second-opinion consultation. Reports findings only — does not modify code. Use when user asks for "deep review", "thorough review"…

pkarpovich/environment · 76 tokens