Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/event4u-app/agent-confignpx agentmods add skills/event4u-app/agent-config/code-review-lensWrote 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/event4u-app/agent-config/code-review-lens)<a href="https://agentmods.dev/skills/event4u-app/agent-config/code-review-lens"><img src="https://agentmods.dev/badge/skills/event4u-app/agent-config/code-review-lens/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/event4u-app/agent-config/code-review-lens"><img src="https://agentmods.dev/badge/skills/event4u-app/agent-config/code-review-lens.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.00037 | $0.03772 |
| Opus 5.5 | $0.00015 | $0.01509 |
| Sonnet 5.5 | $0.00007 | $0.00754 |
| Haiku 4.5 | $0.00004 | $0.00377 |
Grade A, and why
code-review-lens 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.
This is a copy
98% identical to code-review — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 302 lines — stays where its author put it; the contents beside it link to each section on GitHub.
code-review-lens
When to use
Use this skill when:
- Reviewing a PR (own or someone else's)
- Self-reviewing local changes before creating a PR
- Responding to review feedback on your PR
- The user asks to "review", "check", or "look at" code changes
Procedure: Review code
Mindset
- Be thorough but pragmatic — catch real bugs, not style nitpicks that tools handle.
- Understand intent first — read the PR description, linked ticket, and commit messages before looking at code.
- Check the full picture — a change in a service may require changes in tests, migrations, docs.
- Assume good intent — suggest improvements, don't criticize.
Review order
- Understand the goal — what is this change trying to achieve?
- Detect the change-type + depth — route to the right checklist and pick the review depth (below).
- Architecture — does the approach make sense? Right layer? Right pattern?
- Correctness — does it actually work? Edge cases? Error handling?
- Quality — types, naming, readability, SOLID?
- Redundancy — see below; a verdict, not a "this looks duplicated".
- Propagation — did a changed concept reach every occurrence? see below.
- Security — input validation, authorization, injection?
- Performance — N+1 queries, missing indexes, unbounded queries?
- Tests — are new paths covered? Are existing tests still valid?
- Conventions — does it follow project standards?
The redundancy dimension
DRY as a checklist word produced findings nobody could act on: it names a
principle, not a decision, and it has no answer for the case where two copies
should stay. Replace it with a verdict.
Classify the finding against
redundancy-taxonomy —
implementation, knowledge, or representation — and record one verdict from that
document's list. keep-duplicated and de-abstract are successful outcomes; a
finding with no recorded verdict stays open. Knowledge, policy, contract and
delivery-authority duplication outrank clone percentage: two copies of a
decision diverge into a bug, two copies of a loop usually do not.
What ships with it
10 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.
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.
- 1mo ago First seen · 302 lines · 37 tokens per session scan A 51fcc99e8309
code-review-lens is a skill published in the GitHub repository event4u-app/agent-config (20 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 3,772 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 98% identical to code-review, differing in 6 lines, and is treated as a copy.
code-review-lens compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-review-lensevent4u-app/agent-config | Skill | 20 | today | MIT | A | 37 | Claude Code, Codex |
| tech-lead/code-reviewechoVic/boss-skill | Skill | 631 | 5d ago | MIT | A | 52 | Claude Code |
| skill-trigger-auditorAlexZio00/sovereign-skills | Skill | 160 | 4d ago | MIT | A | 38 | Claude Code, Codex |
| feedbackhelderberto/agent-skills | Skill | 21 | 2d ago | MIT | A | 75 | Claude Code |
| api-design-reviewerborghei/Claude-Skills | Skill | 1.3k | yesterday | none | A | 58 | Claude Code |
| adrdrafthq/draft | Skill | 40 | 1mo ago | MIT | A | 37 | Claude Code |
| am-command-ponytail-auditsampleXbro/agentsmesh | Skill | 31 | yesterday | MIT | A | 22 | Claude Code, Codex |