code-review

code-review is a skill for Claude Code, Codex from Miosa-osa/OSA. It costs 31 tokens per session (2,234 once invoked), scanned A, original, Apache-2.0.

A pull-request and code-difference reviewer. A pull request is a proposed code change for review before it is merged into a project.

In plain words
What is it for?
Use it to review pull requests and diffs, check test coverage, and produce structured feedback with specific actions.
Why use it?
It helps find problems that can be missed during manual review, including bugs, security risks, slow code, style issues, and missing tests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to review pull requests and diffs, check test coverage, and produce structured feedback with specific actions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/miosa-osa/osa/code-review
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 Miosa-osa/OSA --skill code-review
Clone the repo
git clone --depth 1 https://github.com/Miosa-osa/OSA

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-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/miosa-osa/osa/code-review"><img src="https://agentmods.dev/badge/skills/miosa-osa/osa/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,234 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.00031 $0.02234
Opus 5.5 $0.00012 $0.00894
Sonnet 5.5 $0.00006 $0.00447
Haiku 4.5 $0.00003 $0.00223

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

Security

Grade A, and why

code-review 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.

examples/skills/code-review/SKILL.md · 222 lines

How it starts

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

Instructions

You are a code review assistant. You analyze pull requests, diffs, and individual files to find real problems — bugs, security holes, performance issues, and maintainability concerns — and deliver feedback in a clear, severity-ranked format that helps the author improve the code rather than just comply with requests.

Core Capabilities

1. PR and Diff Analysis Workflow

When given a PR or set of changed files:

  1. Establish context — Read the PR description, linked ticket, or stated intent. Understand what the change is supposed to do before criticizing how it does it.
  2. Scan changed files — Use file_read to read each modified file and its surrounding context where relevant.
  3. Check for architectural impact — Does this change affect contracts, data models, or shared utilities? Flag these separately.
  4. Produce a structured review — Use the output format defined below.
  5. Save findings — Use file_write to output the review to ~/.osa/reviews/review-YYYY-MM-DD-HHMMSS.md.
2. Bug Detection Patterns

Check for these categories of bugs in every review:

Null / nil / undefined handling

  • Dereferencing pointers without nil checks (Go, C)
  • Accessing properties on potentially-null objects without guards
  • Array index access without bounds checking
  • Map / dictionary access without existence checks

Error handling

  • Errors that are ignored or swallowed silently
  • Generic catch blocks that hide the root cause
  • Missing error propagation (especially in async code)
  • Functions that can fail but have no return error path

Edge cases

  • Off-by-one errors in loops and slice operations
  • Empty input not handled (empty string, empty list, zero value)
  • Integer overflow / underflow in arithmetic
  • Timezone assumptions (always store/compare in UTC)
  • Floating-point equality comparisons

Concurrency

  • Shared state accessed without synchronization
  • Goroutine / thread leaks (goroutines that never exit)
  • Deadlock potential (nested locks, inconsistent lock ordering)
  • Race conditions in async flows

Read the full file on GitHub · 222 lines

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 · 222 lines · 31 tokens per session scan A ddb6822db009

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository Miosa-osa/OSA (78 stars, last pushed 11d ago), licensed Apache-2.0. It adds 31 tokens to every session and 2,234 once invoked, about $0.0001 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

code-review

Reviews code changes for quality, security, and best practices.

agentjido/jido_ai · 15 tokens

meta-codereview-current-diff

Read the current uncommitted diff, run three independent reviewers (safety + tests-coverage + style) in parallel, then arbitrate a single BLOCK / BLOCKWITHOVERRIDE / PASSWITHNOTES verdict. Use before commit when you want a multi-perspective second-opinion instead of a single-reviewer agent loop.

opensquilla/opensquilla · 73 tokens

compliance-checker

Check affiliate content for FTC compliance and platform rules. Triggers on: "check my content for compliance", "FTC disclosure check", "is this legal", "review for compliance", "check affiliate disclosure", "am I FTC compliant", "audit my content", "compliance review", "legal check", "platform rules check", "check…

Affitor/affiliate-skills · 87 tokens

review-pr

Review a pull request for code quality and security issues. Use when the user wants to review a PR, check PR code changes, or audit a pull request. Triggers on: "review PR", "review pull request", "check this PR", "the review-pr skill".

dyoshikawa/rulesync · 61 tokens

factory-gitlab-rereview

Re-review a GitLab merge request after new commits and reconcile the previous review.

mastra-ai/mastra · 23 tokens

spawn-reviewers

Spawn and collect the reviewer fleet at stage20spawnreviewers. Consumes spawn.json.spec (the authoritative spawn spec from derive-spawn-spec / derive-static-spec), resolves CODEINTELALLOWED and CODEINTELREQUIREROOTARG, builds per-agent prompts from the per-agent template + role suffixes (Bug Hunter A/B, Unified…

closedloop-ai/claude-plugins · 191 tokens