lenserfight: Skill for Codex

.agents/skills/deep-code-reviewer/SKILL.md

deep-code-reviewer is a skill for Codex from conectlens/lenserfight. It costs 95 tokens per session (1,026 once invoked), scanned A, original, MIT.

A thorough code-review method that examines correctness, concurrency, performance, security, types, and long-term maintainability.

In plain words
What is it for?
Use it for deep reviews, architecture critiques, and finding high-impact bugs with concrete file references.
Why use it?
It catches problems that a quick review may miss by tracing surrounding code, data flow, state changes, and failure paths.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is conectlens/lenserfight's own configuration. It tells Codex how to work on lenserfight itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything lenserfight configures →

Reuse

Borrowing it

Nothing to install: this file belongs to conectlens/lenserfight. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/conectlens/lenserfight/main/.agents/skills/deep-code-reviewer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/conectlens/lenserfight

Made for: 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 deep-code-reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/conectlens/lenserfight/deep-code-reviewer"><img src="https://agentmods.dev/badge/skills/conectlens/lenserfight/deep-code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,026 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.00095 $0.01026
Opus 5.5 $0.00038 $0.00410
Sonnet 5.5 $0.00019 $0.00205
Haiku 4.5 $0.00010 $0.00103

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

Security

Grade A, and why

deep-code-reviewer 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.

.agents/skills/deep-code-reviewer/SKILL.md · 111 lines

How it starts

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

Deep Code Reviewer

Perform review as an auditor, not as a summarizer. Prioritize findings that can cause incorrect behavior, operational pain, or expensive future changes.

Quick Start

  1. Establish scope before judging details.
  2. Inspect surrounding code, not just the diff or pasted snippet.
  3. Trace data flow, control flow, state transitions, and failure paths.
  4. Produce findings ordered by severity with concrete file references.
  5. Keep summaries brief and secondary to the findings.

Review Workflow

1. Build Context

Read enough code to understand:

  • Entry points and callers
  • State ownership and mutation boundaries
  • Invariants that must always hold
  • External dependencies: databases, queues, caches, RPCs, files, clocks, feature flags
  • Existing tests and what they do not cover

If the change touches a framework or subsystem with non-obvious behavior, read the local docs or implementation that defines the contract before concluding.

2. Hunt for High-Impact Failures First

Check for:

  • Incorrectness: broken invariants, off-by-one logic, missing validation, bad error handling, partial updates
  • Concurrency hazards: races, duplicate work, lost updates, stale reads, deadlocks, non-atomic sequences
  • Security flaws: authorization gaps, trust-boundary violations, secret leakage, injection vectors
  • Data integrity issues: transaction gaps, mismatched schemas, silent truncation, incompatible migrations
  • Performance cliffs: N+1 queries, unnecessary allocations, hot-loop work, unbounded retries, lock contention
  • Type-safety holes: unsafe casts, invalid narrowing, nil/null handling gaps, unsound generics, unchecked parsing
  • Operational risks: weak observability, bad retry semantics, missing idempotency, unsafe rollout assumptions

3. Evaluate Architecture and Design

Judge whether the design makes future failures likely even if the current code appears correct.

Look for:

  • Responsibilities split across the wrong boundaries
  • APIs that hide important invariants or encourage misuse
  • Tight coupling to volatile details
  • Configuration or feature-flag logic that creates invalid states
  • Missing abstractions where duplication is already diverging
  • Premature abstractions that make correctness harder to reason about

Read the full file on GitHub · 111 lines

Files

What ships with it

2 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. 1mo ago First seen · 111 lines · 95 tokens per session scan A 99517ba57146

Subscribe to this mod's changes

deep-code-reviewer is a skill published in the GitHub repository conectlens/lenserfight (18 stars, last pushed 1mo ago), licensed MIT. It adds 95 tokens to every session and 1,026 once invoked, about $0.0004 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

find-security-vulnerabilities-in-code

Find security vulnerabilities in a codebase or repository with Strix — a white-box AI security review that reads your source, reasons about the actual data flow and authorization model, then exploits what it finds in a live sandbox so every reported issue has a working proof-of-concept instead of a noisy…

usestrix/strix · 129 tokens

code-review

Perform comprehensive code reviews focusing on best practices, security vulnerabilities, performance optimization, and maintainability.

kyegomez/swarms · 21 tokens

fix-security-vulnerabilities-with-strix

Fix security vulnerabilities found by a Strix pentest (open-source CLI or app.strix.ai cloud) — triage by severity, patch the root cause rather than the symptom, and re-run Strix to prove each fix actually closes the exploit. Handles injection, XSS, SSRF, broken access control, IDOR, and other validated findings. Use…

usestrix/strix · 124 tokens

migration-review

Review database migration files when a change adds or modifies paths under migrations/. Use it before merge to collect forward, rollback, locking, and data-safety evidence.

rohitg00/ai-engineering-from-scratch · 35 tokens

ci-security-scanning-with-strix

Add security scanning to CI/CD with Strix — GitHub Actions, GitLab CI, or any pipeline — so every pull request gets a diff-scoped AI pentest that blocks vulnerable code before it merges, with results as PR comments and SARIF uploaded to code scanning. Covers both the self-hosted open-source CLI (runs in your runner)…

usestrix/strix · 140 tokens

otto-pr-review-loop

Run Polly and OCR on a PR until all findings settle.

omnigent-ai/omnigent · 17 tokens