code-reviewer

code-reviewer is a skill for Claude Code, Codex from sampleXbro/agentsmesh. It costs 65 tokens per session (1,091 once invoked), scanned A, a copy of code-reviewer, MIT.

Automated review guidance and scripts for TypeScript, JavaScript, Python, Go, Swift, and Kotlin. It examines pull requests and source code for risks and quality problems.

In plain words
What is it for?
Use it to compare branches, assess pull-request risk, detect items such as exposed secrets or SQL injection patterns, check structural quality, and generate review reports.
Why use it?
It helps reviewers find security patterns, complexity, code smells, and maintainability issues consistently.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to compare branches, assess pull-request risk, detect items such as exposed secrets or SQL injection patterns, check structural quality, and generate review reports.

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

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/samplexbro/agentsmesh/code-reviewer/github.svg)](https://agentmods.dev/skills/samplexbro/agentsmesh/code-reviewer)
Your own site
<a href="https://agentmods.dev/skills/samplexbro/agentsmesh/code-reviewer"><img src="https://agentmods.dev/badge/skills/samplexbro/agentsmesh/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 code-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/samplexbro/agentsmesh/code-reviewer"><img src="https://agentmods.dev/badge/skills/samplexbro/agentsmesh/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,091 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 95% copy Near-identical to another mod 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.00065 $0.01091
Opus 5.5 $0.00026 $0.00436
Sonnet 5.5 $0.00013 $0.00218
Haiku 4.5 $0.00006 $0.00109

Measured 3mo ago against content hash 3600fd520095, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 3mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/code_quality_checker.py, scripts/pr_analyzer.py, scripts/review_report_generator.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

95% identical to code-reviewer — 9 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.

.agents/skills/code-reviewer/SKILL.md · 179 lines

How it starts

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

Purpose

Code Reviewer

Automated code review tools for analyzing pull requests, detecting code quality issues, and generating review reports.


Table of Contents


Tools

PR Analyzer

Analyzes git diff between branches to assess review complexity and identify risks.

# Analyze current branch against main
python scripts/pr_analyzer.py /path/to/repo

# Compare specific branches
python scripts/pr_analyzer.py . --base main --head feature-branch

# JSON output for integration
python scripts/pr_analyzer.py /path/to/repo --json

What it detects:

  • Hardcoded secrets (passwords, API keys, tokens)
  • SQL injection patterns (string concatenation in queries)
  • Debug statements (debugger, console.log)
  • ESLint rule disabling
  • TypeScript any types
  • TODO/FIXME comments

Output includes:

  • Complexity score (1-10)
  • Risk categorization (critical, high, medium, low)
  • File prioritization for review order
  • Commit message validation

Code Quality Checker

Analyzes source code for structural issues, code smells, and SOLID violations.

# Analyze a directory
python scripts/code_quality_checker.py /path/to/code

# Analyze specific language
python scripts/code_quality_checker.py . --language python

# JSON output
python scripts/code_quality_checker.py /path/to/code --json

What it detects:

  • Long functions (>50 lines)
  • Large files (>500 lines)
  • God classes (>20 methods)
  • Deep nesting (>4 levels)
  • Too many parameters (>5)
  • High cyclomatic complexity
  • Missing error handling
  • Unused imports
  • Magic numbers

Thresholds:

Issue Threshold
Long function >50 lines
Large file >500 lines
God class >20 methods
Too many params >5
Deep nesting >4 levels
High complexity >10 branches

Read the full file on GitHub · 179 lines

Files

What ships with it

6 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. 3mo ago First seen · 179 lines · 65 tokens per session scan A 3600fd520095

Subscribe to this mod's changes

code-reviewer is a skill published in the GitHub repository sampleXbro/agentsmesh (31 stars, last pushed 2d ago), licensed MIT. It adds 65 tokens to every session and 1,091 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to code-reviewer, differing in 9 lines, and is treated as a copy.

Related

code-reviewer compared with skills from other repositories

code-reviewer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-reviewersampleXbro/agentsmeshSkill312d agoMITA65Claude Code, Codex
testing-anti-patternsrohitg00/skillkitSkill1.6k6mo agoApache-2.0A95Claude Code, Codex
structured-code-reviewrohitg00/skillkitSkill1.6k6mo agoApache-2.0A112Claude Code, Codex
designmatchrandomittin/heimdallSkill53d agoMITA69Claude Code
self-improverandomittin/heimdallSkill53d agoMITA0Claude Code
system-healthrandomittin/heimdallSkill53d agoMITA102Claude Code
stacksrandomittin/heimdallSkill53d agoMITA85Claude Code