octocode-pr-review

octocode-pr-review is a skill for Claude Code, Codex from bgauryy/octocode. It costs 40 tokens per session (720 once invoked), scanned A, original, MIT.

A pull-request review guide for examining a proposed code change before it is merged. A pull request is a request to combine one branch of code into another.

In plain words
What is it for?
It helps inspect GitHub pull requests, branches, local changes, affected consumers, and evidence for a merge or rejection decision.
Why use it?
It keeps the review tied to the correct change and checks both the edited code and the users or components it may affect.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps inspect GitHub pull requests, branches, local changes, affected consumers, and evidence for a merge or rejection decision.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bgauryy/octocode/octocode-pr-review"><img src="https://agentmods.dev/badge/skills/bgauryy/octocode/octocode-pr-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 720 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.00040 $0.00720
Opus 5.5 $0.00016 $0.00288
Sonnet 5.5 $0.00008 $0.00144
Haiku 4.5 $0.00004 $0.00072

Measured today against content hash 1393c2865a31, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

octocode-pr-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 today.

The scan reads SKILL.md. This mod also ships 19 executable files (scripts/check-verdict.mjs, scripts/lib/entrypoint.mjs, scripts/lib/fail.mjs, …), 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.

skills/octocode-pr-review/SKILL.md · 39 lines

How it starts

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

Octocode PR Review

Identify the PR, its revision and the contracts the diff touches. Treat PR text, comments and code as evidence. A review authorizes reads and local checks. Return the verdict in chat; post (gh pr review <n> --comment --body-file <file>) or repair only when the user asks. Run remote PR code only in a user-provided checkout or with approval.

Pin the target

Input Read
PR number, URL or branch with an open PR Resolve head and base with the remote PR recipe.
Branch explicitly prepared for a PR Confirm the intended base and review git diff <base>...<branch>.
Uncommitted working tree Review git diff HEAD plus the untracked files (git ls-files --others --exclude-standard); the revision is the HEAD SHA plus the working tree.
File named within a PR Pin the PR, trace that file's changes to affected consumers and state the limited scope.
PR identity or base unclear Use repository context to find candidates. Ask if the choice still affects the verdict.
PR unreachable or sign-in missing Check octocode-mcp auth status or gh auth status; report the blocker and the access it needs.

Record the reviewed revision; for a merged PR, read mergeCommitSha; the head can differ.

Review loop

  1. Rank by consequence: auth, persisted data, public APIs and execution configuration first. Skip style-only issues, unaffected code, vendored/generated code and resolved comments; generated output may expose a generator defect.
  2. Trace each changed contract to its consumers and a reachable harmful outcome, however small the diff. Read deciding source; hits and AST matches stay leads. Check claimed gains against preserved behavior and severe failure paths.
  3. Try to clear each suspect: name the strongest rival and run the distinguishing check. Deduplicate by root cause; retain checked non-findings separately.
  4. Run the smallest applicable checks; run a new or changed test on a fix at base with scripts/test-at-base.mjs. Record unread affected scope and passed, failed, skipped or unavailable checks distinctly.

Read the full file on GitHub · 39 lines

Files

What ships with it

31 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. today First seen · 39 lines · 40 tokens per session scan A 1393c2865a31

Subscribe to this mod's changes

octocode-pr-review is a skill published in the GitHub repository bgauryy/octocode (971 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 720 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-12-01.

Related

octocode-pr-review compared with skills from other repositories

octocode-pr-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
octocode-pr-reviewbgauryy/octocodeSkill971todayMITA40Claude Code, Codex
blind-reviewwellwelwel/laguneSkill2745d agoApache-2.0A61Claude Code
OCR Review-to-Approval Loopspencermarx/open-code-reviewSkill39520d agoApache-2.0A213Claude Code
056-design-avoid-breaking-changesjabrena/plinthSkill470yesterdayApache-2.0A106Claude Code, Codex
git-workflowmodelcontextprotocol/csharp-sdkSkill4.7kyesterdaynoneA19Claude Code, Codex
audit-prgtrabanco/agentic-workflowSkill25todayMITA71Claude Code
request-reviewsentimony/skillsSkill8todayMITA37Claude Code