code-review

code-review is a command for Claude Code from HigorAlves/orc. It costs 45 tokens per session (4,226 once invoked), scanned A, original, MIT.

A GitHub pull-request review for changes made by someone else. It checks the proposed code, shows a preview, and can publish a review with comments tied to specific lines.

In plain words
What is it for?
Use it to review one pull request or several linked pull requests, check them against a stated goal, and publish inline comments and an overall review on GitHub.
Why use it?
It helps you review changes consistently and avoid posting a verdict before checking the findings. It is intended for another person's pull request, not your own uncommitted work.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; names the AskUserQuestion tool.

Part of the orc plugin — 84 skills, 31 commands, 14 agents, 6 hooks shipped together

Good fit Use it to review one pull request or several linked pull requests, check them against a stated goal, and publish inline comments and an overall review on GitHub.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/higoralves/orc/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.

Clone the repo
git clone --depth 1 https://github.com/HigorAlves/orc

Made for: Claude Code.

Or install orc, the plugin that ships this one along with the rest of its 84 skills, 31 commands, 14 agents, 6 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-review

README.md
[![agentmods](https://agentmods.dev/badge/commands/higoralves/orc/code-review/github.svg)](https://agentmods.dev/commands/higoralves/orc/code-review)
Your own site
<a href="https://agentmods.dev/commands/higoralves/orc/code-review"><img src="https://agentmods.dev/badge/commands/higoralves/orc/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/commands/higoralves/orc/code-review"><img src="https://agentmods.dev/badge/commands/higoralves/orc/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,226 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.00045 $0.04226
Opus 5.5 $0.00018 $0.01690
Sonnet 5.5 $0.00009 $0.00845
Haiku 4.5 $0.00005 $0.00423

Measured 11d ago against content hash 1d4c59b3c022, 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 11d 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.

orc/commands/code-review.md · 277 lines

How it starts

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

/orc:code-review

Review a pull request authored by someone else. Default behavior: post a real GitHub PR review with inline comments anchored to the right files and lines, optional one-click suggestion blocks, and a review event determined mechanically from finding severities.

The agents (orc-pr-reviewer, orc-security-reviewer) return structured JSON findings. This command merges them, sanity-checks for verdict-vs-severity contradictions, shows a preview, and posts via gh api (or the GitHub MCP if available).

Arguments

  • <pr-number-or-url> — required (unless --prs is given). Either 123 (current repo), org/repo#123, or a full URL.
  • --prs a#1,b#2,... — workspace mode: review a set of linked PRs as one logical change. Each entry is repo#pr or full URL. Findings are tagged with [repo:<name>] and the merge order from the workspace plan is surfaced in the summary. Mutually exclusive with the positional <pr-number-or-url>.
  • --context <description> — optional. Describes what the PR is supposed to accomplish, used for requirements-alignment checks.
  • --summary-only — produce the legacy text-block markdown summary instead of posting inline. For when you want markdown to paste elsewhere or don't want to auto-post. Skips Phases 5–7.
  • --soft-tests — test-severity findings drop to COMMENT instead of forcing REQUEST_CHANGES. Use for repos with weak test culture or PRs you explicitly want to land despite test gaps.
  • --dry-run — runs through Phase 6 (preview) but never posts. The constructed payload is echoed as JSON for inspection. Useful for testing or for reviews you want to inspect locally before deciding.
  • --include-nits — keep nit-severity findings (default: drop them). Bumps comment count but doesn't change the event.
  • --audit — repo-wide security audit instead of a PR review. No PR ref required (and the diff-scoping phases are skipped). Dispatches orc-security-reviewer in audit scope — whole working tree via Glob/Grep, the "introduced by this change" rule suspended — plus a secret-scanning step. Nothing is posted to GitHub; output is a markdown summary. See "Audit mode" below.

Read the full file on GitHub · 277 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. 11d ago Changed 1d4c59b3c022
  2. 1mo ago First seen · 277 lines · 45 tokens per session scan A 9b9580c9ebf3

Subscribe to this mod's changes

code-review is a command published in the GitHub repository HigorAlves/orc (6 stars, last pushed 7d ago), licensed MIT. It adds 45 tokens to every session and 4,226 once invoked, about $0.0002 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-31.