code-reviewer

code-reviewer is a skill for Claude Code from Joncik91/ucai. It costs 39 tokens per session (1,059 once invoked), scanned A, a copy of code-reviewer, MIT.

A code-review guide for examining pull requests and source code in several programming languages. A pull request is a proposed set of changes submitted for review before being added to a project.

In plain words
What is it for?
Use it to compare branches, detect issues such as exposed secrets or unsafe SQL, check code structure, and create review reports and checklists.
Why use it?
It helps reviewers find security risks, code-quality problems, and files that deserve attention before changes are merged.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/pr_analyzer.py /path/to/repo.

Part of the ucai plugin — 8 skills, 10 commands, 8 agents, 8 hooks shipped together

Good fit Use it to compare branches, detect issues such as exposed secrets or unsafe SQL, check code structure, and create review reports and checklists.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/Joncik91/ucai
agentmods
npx agentmods add skills/joncik91/ucai/code-reviewer

Made for: Claude Code.

Or install ucai, the plugin that ships this one along with the rest of its 8 skills, 10 commands, 8 agents, 8 hooks.

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/joncik91/ucai/code-reviewer/github.svg)](https://agentmods.dev/skills/joncik91/ucai/code-reviewer)
Your own site
<a href="https://agentmods.dev/skills/joncik91/ucai/code-reviewer"><img src="https://agentmods.dev/badge/skills/joncik91/ucai/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/joncik91/ucai/code-reviewer"><img src="https://agentmods.dev/badge/skills/joncik91/ucai/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,059 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 88% 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.00039 $0.01059
Opus 5.5 $0.00016 $0.00424
Sonnet 5.5 $0.00008 $0.00212
Haiku 4.5 $0.00004 $0.00106

Measured 3mo ago against content hash 2a88bd6effb8, 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.

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

88% identical to code-reviewer — 2 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.

skills/code-reviewer/SKILL.md · 178 lines

How it starts

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

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 · 178 lines

Files

What ships with it

3 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 · 178 lines · 39 tokens per session scan A 2a88bd6effb8

Subscribe to this mod's changes

code-reviewer is a skill published in the GitHub repository Joncik91/ucai (28 stars, last pushed 3mo ago), licensed MIT. It adds 39 tokens to every session and 1,059 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to code-reviewer, differing in 2 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-reviewerJoncik91/ucaiSkill283mo agoMITA39Claude Code
reviewlukaskellerstein/claude-my-marketplaceSkill311d agononeA0Claude Code
avi-pr-flowavi1234/claude-team-pluginsSkill59mo agoMITA15Claude Code
refactoring-patternswondelai/skillsSkill2.8k8d agoMITA125Claude Code, Codex
pr-reviewnitinjain999/platform-skillsSkill73todayApache-2.0A81Claude Code
team-reviewNikiforovAll/claude-code-rulesSkill14328d agoApache-2.0A65Claude Code
roslyn-queryNikiforovAll/claude-code-rulesSkill14328d agoApache-2.0A44Claude Code