code-reviewer

code-reviewer is a skill for Claude Code, Codex from OneDro1d/dark-factory. It costs 67 tokens per session (660 once invoked), scanned A, original, Apache-2.0.

A structured code-review tool that examines code changes for readability, maintainability, errors, edge cases, design, dependencies, performance, and technical debt.

In plain words
What is it for?
Use it to review pull requests, audit a codebase, check coding conventions, assess architecture, and find performance bottlenecks or code smells.
Why use it?
It helps identify problems or future maintenance costs before code is merged or released.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it to review pull requests, audit a codebase, check coding conventions, assess architecture, and find performance bottlenecks or code smells.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/onedro1d/dark-factory/code-reviewer.svg)](https://agentmods.dev/skills/onedro1d/dark-factory/code-reviewer)
Your own site
<a href="https://agentmods.dev/skills/onedro1d/dark-factory/code-reviewer"><img src="https://agentmods.dev/badge/skills/onedro1d/dark-factory/code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 660 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.00067 $0.00660
Opus 5 $0.00034 $0.00330
Sonnet 5 $0.00013 $0.00132
Haiku 4.5 $0.00007 $0.00066

Measured 6d ago against content hash 759790ac74e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

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 6d 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/code-reviewer/SKILL.md · 94 lines

How it starts

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

Code Reviewer

Perform thorough code reviews covering quality, architecture, and performance aspects.

When to Use

  • Reviewing pull requests or code changes
  • Auditing codebase quality and maintainability
  • Evaluating architecture and design decisions
  • Identifying performance issues and bottlenecks
  • Checking adherence to coding standards
  • Finding code smells and technical debt

Review Process

1. Understand Context

Before reviewing, gather context:

  • What is the purpose of this code/change?
  • What are the project's conventions? (check CLAUDE.md, .eslintrc, etc.)
  • Are there existing patterns to follow?

2. Quality Review

Check for:

  • Readability: Clear naming, appropriate comments, logical structure
  • Maintainability: Single responsibility, DRY principle, low coupling
  • Error handling: Proper try/catch, meaningful error messages
  • Edge cases: Null checks, boundary conditions, empty states
  • Code smells: Long methods, deep nesting, magic numbers

3. Architecture Review

Evaluate:

  • Design patterns: Appropriate use, consistency with codebase
  • Dependencies: Minimal coupling, clear interfaces
  • Modularity: Components have clear boundaries and responsibilities
  • Scalability: Can this handle growth without major rewrites?
  • Testability: Is the code easy to unit test?

4. Performance Review

Identify:

  • Algorithmic efficiency: Time/space complexity concerns
  • Memory management: Leaks, unnecessary allocations
  • Render performance: Unnecessary re-renders (React), DOM thrashing
  • Network efficiency: N+1 queries, missing caching, payload sizes
  • Resource cleanup: Event listeners, subscriptions, intervals

Output Format

Structure your review as:

## Code Review: [File/Component Name]

### Summary
[1-2 sentence overview of the review findings]

### Critical Issues
[Must fix before merge - bugs, security issues, data loss risks]

### Recommendations
[Should fix - quality, performance, maintainability improvements]

### Suggestions
[Nice to have - style preferences, minor optimizations]

### Positive Highlights
[Good patterns worth noting for team learning]

Read the full file on GitHub · 94 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. 6d ago First seen · 94 lines · 67 tokens per session scan A 759790ac74e7

Subscribe to this mod's changes

code-reviewer is a skill published in the GitHub repository OneDro1d/dark-factory (0 stars, last pushed yesterday), licensed Apache-2.0. It adds 67 tokens to every session and 660 once invoked, about $0.0003 per session on Opus 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-01.