code-review

A code-review workflow that uses separate agents to examine a pull request for style, logic, and security issues. A pull request is a proposed set of changes awaiting review in a Git repository.

In plain words
What is it for?
Use it to review the current branch's pull request for style problems, logic errors, and security issues.
Why use it?
It separates different kinds of review and assigns confidence to findings, while using dismissed findings to reduce similar false alarms later. It requires an open, non-draft GitHub pull request and an authenticated GitHub CLI.

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/sliamh11/deus/code-review
Any agent
npx skills add sliamh11/Deus --skill code-review
Clone the repo
git clone --depth 1 https://github.com/sliamh11/Deus

Made for: Claude Code, Codex.

Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,265 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00033 $0.02265
Opus 5 $0.00016 $0.01132
Sonnet 5 $0.00007 $0.00453
Haiku 4.5 $0.00003 $0.00227

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

Security

Grade A, and why

code-review scanned grade A with 1 finding 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 2d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.run([sys.executable, 'evolution/cli.py', 'dismiss_review_finding', payload])
.claude/skills/code-review/SKILL.md · 296 lines

How it starts

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

Multi-Agent Code Review

Run a multi-agent code review on the current branch's PR. Three specialized agents (style, logic, security) review in parallel, findings are confidence-scored, and dismissed findings feed back into the evolution system as negative examples for future reviews.

Prerequisites

  • Git — must be in a git repository
  • GitHub CLIgh authenticated
  • Current branch must have an open PR

Instructions

When the user asks for a code review or triggers this skill:

Step 1: Validate environment

git rev-parse --is-inside-work-tree  # Must be in a repo
gh auth status                        # Must be authenticated

Get the current branch and find the open PR:

BRANCH=$(git branch --show-current)
gh pr list --head "$BRANCH" --state open --json number,title,baseRefName

If no PR exists, ask the user if they want to create one first. Do NOT proceed without a PR.

Step 2: Check eligibility

Skip review if:

  • PR is a draft (gh pr view <number> --json isDraft)
  • PR has zero code changes (only docs/config)
  • This exact commit SHA was already reviewed (check resources/review-history.log if it exists)

Step 3: Gather context

Collect all inputs the review agents will need:

# Get the unified diff
gh pr diff <number>

# Get file list and stats
gh pr view <number> --json files,additions,deletions

# Get PR description for intent context
gh pr view <number> --json body

Also load:

  1. CLAUDE.md files from the repo root AND from each modified directory (use Glob to find them)
  2. Review criteria from resources/review-criteria.md (repo-specific rules)
  3. Dismissed findings from resources/dismissed-log.md (negative examples — "do NOT flag X when Y")

Step 4: Parallel review — launch 3 agents

Launch three review agents in parallel using the Task tool. Each agent receives:

  • The PR diff
  • Relevant CLAUDE.md content
  • Review criteria for their domain
  • Negative examples from dismissed-log.md for their category
  • Instructions to output findings in a structured format

Read the full file on GitHub · 296 lines

Files

What ships with it

2 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. 2d ago First seen · 296 lines · 33 tokens per session scan A aeb32de3fa55

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository sliamh11/Deus (51 stars, last pushed 8d ago), licensed MIT. It adds 33 tokens to every session and 2,265 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). 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

memcord

Privacy-first, self-hosted chat memory for OpenClaw — save and recall conversation history across sessions without any cloud dependency.

ukkit/memcord · 28 tokens

mem9

Persistent cloud memory for OpenClaw agents. Use when users say: "install mem9" "setup memory" "add memory plugin" "openclaw memory" "mem9 onboarding" "memory not working" "import memories" "upload sessions".

unvulcanised-watercress762/mem9 · 63 tokens

mem9

Persistent cloud memory for OpenClaw agents. Use when users say: "install mem9" "setup memory" "add memory plugin" "openclaw memory" "mem9 onboarding" "memory not working" "import memories" "upload sessions".

unvulcanised-watercress762/mem9 · 63 tokens

workflow-builder

Design, build, and maintain autonomous OpenClaw workflows (stewards). Use when creating new workflow agents, improving existing ones, evaluating automation opportunities, or debugging workflow reliability. Triggers on "build a workflow", "create a steward", "automate this process", "workflow audit", "what should I…

TechNickAI/openclaw-config · 86 tokens

smart-delegation

Intelligent task delegation — route to think with deep reasoning for hard problems, or Grok for unfiltered takes. Teaches when to escalate, how to pack context into sub-agent spawns, and how to communicate delays transparently. Default: handle directly on chat (thinking off). Escalate only when the quality gain…

TechNickAI/openclaw-config · 80 tokens

claude-code

Route real repo work to Claude Code instead of editing by hand. Triggers on "claude code" or "cc", and on any request to edit, fix, refactor, or open a PR in a repo outside /.openclaw/workspace. Claude Code picks up the repo's CLAUDE.md / AGENTS.md, applies its standards, and knows the /ai-coding-config:multi-review…

TechNickAI/openclaw-config · 105 tokens