branch-code-review

branch-code-review is a skill for Claude Code, Codex from paulbreuler/limps. It costs 30 tokens per session (656 once invoked), scanned A, original, MIT.

A code-review guide for comparing the changes on your current Git branch with a main or master branch. It checks how the code is designed, how easy it is to maintain, and whether it works correctly.

In plain words
What is it for?
Use it to review a branch, selected files, a range of commits, or a pull request against its base branch.
Why use it?
It helps find design problems, unclear responsibilities, duplicated logic, and correctness issues before changes are merged.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/paulbreuler/limps/branch-code-review
Any agent
npx skills add paulbreuler/limps --skill branch-code-review
Clone the repo
git clone --depth 1 https://github.com/paulbreuler/limps

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/paulbreuler/limps/branch-code-review.svg)](https://agentmods.dev/skills/paulbreuler/limps/branch-code-review)
Your own site
<a href="https://agentmods.dev/skills/paulbreuler/limps/branch-code-review"><img src="https://agentmods.dev/badge/skills/paulbreuler/limps/branch-code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 656 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00030 $0.00656
Opus 5 $0.00015 $0.00328
Sonnet 5 $0.00006 $0.00131
Haiku 4.5 $0.00003 $0.00066

Measured 4d ago against content hash a4d40e7d6e6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

branch-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 4d 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.

.claude/skills/branch-code-review/SKILL.md · 73 lines

How it starts

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

Branch Code Review (General)

Purpose

Perform a general code review on the current branch compared to the base branch (main by default), focusing on architecture, maintainability, and correctness.

Scope

  • If $ARGUMENTS is provided, treat it as a scope (paths, diff range, or PR number).
  • If no arguments are provided, review base...HEAD where base is detected (origin/mainorigin/master fallback).

Workflow

  1. Determine diff target
    • Detect base branch:
      • git symbolic-ref refs/remotes/origin/HEAD → extract main or master.
      • If not available, try origin/main, then origin/master.
  2. Enumerate change surface
    • git diff --name-status base...HEAD
    • git log --oneline base...HEAD
    • Read the diff before diving into code.
  3. Architecture pass
    • Evaluate loose coupling, high cohesion, extensibility, and DRY.
    • Check module boundaries and whether responsibilities are clearly separated.
  4. Maintainability pass
    • Keep files under ~500 lines unless necessary.
    • Names are descriptive; public names are concise; internal names can be verbose.
    • Comments explain why for non-obvious logic; remove redundant comments.
    • Documentation is updated for behavior, usage, or interface changes.
  5. Correctness and safety
    • Validate logic, edge cases, and error handling.
    • Look for regressions, config mismatches, or hidden coupling.
  6. Tests
    • Ensure tests exist and are meaningful for the change surface.
    • Prefer tests that would fail on broken behavior.

Best-Practice Signals (from authoritative guidance)

  • Review design and interactions first; validate overall intent. (Google Eng Practices)
  • Read every changed line in logical sequence; expand context if needed. (Google + Microsoft)
  • Focus on correctness, readability/maintainability, and test quality. (Microsoft)
  • Use structured checklists to avoid missing issues. (Atlassian)

Repo-Specific Context

This repo is evolving toward extensible planning/content management. Favor:

  • Clear interfaces for future content types beyond plans.
  • Minimal cross-package coupling.
  • Extensible, composable APIs (avoid one-off branching).
  • Config/format stability to support long-lived plans and migrations.

Read the full file on GitHub · 73 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. 4d ago First seen · 73 lines · 30 tokens per session scan A a4d40e7d6e6a

Subscribe to this mod's changes

branch-code-review is a skill published in the GitHub repository paulbreuler/limps (10 stars, last pushed 6mo ago), licensed MIT. It adds 30 tokens to every session and 656 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

spec-init

面向新项目或现有项目的文档驱动开发 skill。Use when the user wants to create, 补齐, 更新, or refine project specs, run a Spec Kit-inspired workflow loop, maintain workflow/knowledge/change docs, analyze consistency, converge implementation back into docs, or update README/AGENTS for a real project.

legeling/PromptHub · 73 tokens

release-sync

PromptHub release update skill. Use for /update-readme, version bumps, changelog updates, website sync, GUI screenshot/doc refresh, and multilingual release/documentation alignment.

legeling/PromptHub · 38 tokens

codex-build

Orchestrate Codex to BUILD code in the background while this Claude Code session (typically Opus) plans and reviews — never babysitting. The session composes the implementation plan, kicks the dev-review runner detached via a background Bash task with --preset codex-build, ENDS ITS TURN, and is woken on exit to run a…

alanshurafa/co-evolution · 181 tokens

co-evolution

General-purpose co-evolution for questions, ideas, drafts, plans, specs, arguments, and markdown documents. Composes or bounces content between agents using [CONTESTED]/[CLARIFY] markers until it converges. Triggers on "co-evolution", "co-evolve", "co evolve", "bounce", "bounce document", "agent bouncer", "refine with…

alanshurafa/co-evolution · 118 tokens

dev-review

Code-focused plan-bounce-execute workflow between Claude Code (Opus) and Codex CLI. Use when the user wants repo files changed, a bug fixed, a feature implemented, or a code plan verified before execution. One AI composes a plan, it bounces between agents with [CONTESTED]/[CLARIFY] markers until refined, then the…

alanshurafa/co-evolution · 176 tokens

earn-hunter

Automatically monitors OKX Flash Earn, Fixed Earn and Flexible Earn opportunities, sends push notifications, and guides subscription. 自动监控 OKX 闪赚、定期和活期赚币机会,推送通知并引导申购。Use when user says: 有闪赚通知我, 监控赚币, monitor earn, notify me about earn, 定时检查理财, 执行 earn-hunter 扫描, earn-hunter scan, 活期年化高了通知我, 监控活期.

okx/agent-skills · 114 tokens