Borrowing it
Nothing to install: this file belongs to asta-nguyen/kamehadb. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/asta-nguyen/kamehadb/main/.agents/skills/lean-audit/SKILL.mdgit clone --depth 1 https://github.com/asta-nguyen/kamehadbWrote 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.
[](https://agentmods.dev/skills/asta-nguyen/kamehadb/lean-audit)<a href="https://agentmods.dev/skills/asta-nguyen/kamehadb/lean-audit"><img src="https://agentmods.dev/badge/skills/asta-nguyen/kamehadb/lean-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.
<a href="https://agentmods.dev/skills/asta-nguyen/kamehadb/lean-audit"><img src="https://agentmods.dev/badge/skills/asta-nguyen/kamehadb/lean-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.00742 |
| Opus 5.5 | $0.00015 | $0.00297 |
| Sonnet 5.5 | $0.00008 | $0.00148 |
| Haiku 4.5 | $0.00004 | $0.00074 |
Grade A, and why
lean-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 19d 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.
How it starts
The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lean Audit
Overview
Run a read-only whole-repo simplicity audit. Report validated cuts; do not edit, delete, commit, open a PR, or post comments.
When to use
Use for audits of over-engineering, bloat, or simplification. Do not use for diff-only review, correctness, security, performance, generic test coverage, or style; route those concerns to review or debugging.
Process
- Establish root. Read applicable instructions and inspect
git statuswithout changing it. Record root, exclusions (.git, generated output, vendored code,node_modules, and build caches), and every inspected first-party area. If the user explicitly includes an excluded path, state that override. If a required area or repository-wide search is unavailable, reportAudit incomplete: <specific limitation>and do not make a lean verdict. - Inventory source, structure, entrypoints, manifests, dependencies,
configuration, commands, and tests. Use
rgand direct reads. Before judging a candidate, use FFF multi-pattern grep (fallback:rg) to search callers, registrations, and dynamic-reference variants, then inspect relevant configuration, tests, and extension requirements. - Report only validated cuts with one of these tags:
delete,stdlib,native,yagni, orshrink. Omit ambiguous candidates. Preserve explicit requirements, repository conventions, compatibility boundaries, required validation, and behavior-protecting tests. Route out-of-scope concerns to review/debugging. - Rank the largest credible cut first. Report savings only when supported; never imply that a change was applied.
Output
# Lean audit
Scope: <repository root>; exclusions: <paths>; inspected: <first-party areas>
1. delete: <path:line> <cut>. <replacement>. evidence: <paths/searches>
net: -<N> lines, -<M> dependencies possible.
Every finding needs an exact repository-relative path:line, evidence, and a
replacement. For shrink, show the shorter equivalent form. After complete
coverage with no validated cut, keep the header and scope, then output
Lean already. Ship. and omit findings and net. If coverage is incomplete,
output the limitation instead. End with the Next: block from using-devkit
(Next: none after a complete report).
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.
- 19d ago Changed · +1 lines 52b9c2b8471e
- 1mo ago First seen · 78 lines · 38 tokens per session scan A da19301265ee
lean-audit is a skill published in the GitHub repository asta-nguyen/kamehadb (14 stars, last pushed 10d ago), licensed Apache-2.0. It adds 38 tokens to every session and 742 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-10-05.
lean-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lean-auditasta-nguyen/kamehadb | Skill | 14 | 10d ago | Apache-2.0 | A | 38 | Claude Code, Codex |
| review-prsgoogleapis/mcp-toolbox | Skill | 17k | yesterday | Apache-2.0 | A | 162 | Claude Code, Codex |
| code-review-expertpersonamanagmentlayer/pcl | Skill | 44 | 11d ago | Apache-2.0 | A | 38 | Claude Code |
| review-implement-phaseprisma/orm | Skill | 48k | yesterday | Apache-2.0 | A | 38 | Claude Code |
| no-bare-castsprisma/orm | Skill | 48k | yesterday | Apache-2.0 | A | 52 | Claude Code, Codex |
| otto-pr-review-loopomnigent-ai/omnigent | Skill | 11k | yesterday | Apache-2.0 | A | 17 | Claude Code, Codex |
| meta-codereview-current-diffopensquilla/opensquilla | Skill | 7.1k | 6d ago | Apache-2.0 | A | 73 | Claude Code, Codex |