code-review-correctness

code-review-correctness is a skill for Codex from eric-tramel/moraine. It costs 57 tokens per session (346 once invoked), scanned A, original, Apache-2.0.

A code-review guide focused on whether a change behaves correctly. It checks the implementation, tests, existing agreements, edge cases, errors, data handling, and regressions.

In plain words
What is it for?
Use it when reviewing a pull request or code change for behavioral correctness, including migrations, schemas, adapters, caching, concurrency, pagination, and test coverage.
Why use it?
It focuses review time on failures that could make software return wrong results, lose data, mishandle errors, or break an existing workflow. It also checks whether tests would catch important failures.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when reviewing a pull request or code change for behavioral correctness, including migrations, schemas, adapters, caching, concurrency, pagination, and test coverage.

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

Made for: 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-correctness

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/eric-tramel/moraine/code-review-correctness"><img src="https://agentmods.dev/badge/skills/eric-tramel/moraine/code-review-correctness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 346 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00057 $0.00346
Opus 5.5 $0.00023 $0.00138
Sonnet 5.5 $0.00011 $0.00069
Haiku 4.5 $0.00006 $0.00035

Measured 1mo ago against content hash 743e8db6c014, 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-correctness 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.

plugins/moraine-dev/skills/code-review-correctness/SKILL.md · 37 lines

What it actually says

CodeReviewCorrectness

Persona

Review for behavioral correctness. Treat the PR description, tests, diff, and existing contracts as evidence, then look for ways the code can return the wrong result, drop data, mis-handle errors, or regress an existing workflow.

Focus

  • Verify the new behavior matches the stated behavior.
  • Check edge cases that naturally arise from the changed code path.
  • Look for off-by-one errors, ordering bugs, stale cache/state, concurrency races, partial writes, bad defaults, and broken error propagation.
  • Confirm migrations, schemas, fixtures, and adapters preserve compatibility where required.
  • Check whether tests cover the failure mode and the success path.

Non-Goals

Do not spend review budget on style, architecture taste, or scope unless it creates a concrete correctness risk.

Output

Lead with findings that can cause incorrect behavior. Explain the failing scenario:

- [P1] Preserve events with identical timestamps
  `crates/example/src/repo.rs:133`
  The query now pages only by `updated_at > cursor`. Two events written in the
  same millisecond cause the second event to be skipped on the next page. Include
  the event id in the cursor or use a tuple comparison.

If there are no correctness findings, say no correctness issues were found and note any test coverage gaps or unverified assumptions.

Files

What ships with it

1 file 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. 1mo ago First seen · 37 lines · 57 tokens per session scan A 743e8db6c014

Subscribe to this mod's changes

code-review-correctness is a skill published in the GitHub repository eric-tramel/moraine (116 stars, last pushed 12d ago), licensed Apache-2.0. It adds 57 tokens to every session and 346 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-30.

Related

Other skills, from other repositories

sage-review

Deep, platform-neutral code review for PRs and CRs in ONE thorough single pass — design reasoning (Problem Worth Solving & Solution Fit) as one dimension alongside the 9 code-level dimensions, with chain-of-consequences, self-critique, and draft-only comments. The single app-owned source of truth.

kirodotdev/KiroCrew · 68 tokens

learn-from-sage

Detection-gap (miss) analysis for Code Review Sage. Learn from shipped fixes, acted-on human comments, and design outcomes to close reviewer blind spots. Inline during review stages a candidate; a human triggers a one-shot AI consolidation into the live ruleset.

kirodotdev/KiroCrew · 56 tokens

pr-review

Review a GitHub pull request using multiple expert personas. Takes a PR URL as input, analyzes the changes, and generates comprehensive review feedback from different perspectives (Merge Specialist, Frontend, Backend, Security, DevOps, AI/Agent, SRE, Chief Architect).

agentic-community/mcp-gateway-registry · 57 tokens

review-fix-signoff-loop

Use when writing Agent Relay or Ricky workflows that must loop review, fix, and validation with fresh agent context until independent signoff agents, typically Claude and Codex, both agree the work is comprehensively complete. Covers fresh-context iterations, repairable gates, dual reviewer verdict contracts…

AgentWorkforce/relay · 77 tokens

github-review-pr

Review GitHub pull requests with detailed, multi-perspective code analysis using parallel subagents. Use this skill whenever the user wants to review a PR, asks for code review on a pull request, mentions "review PR", "check this PR", "look at pull request", or references a PR number or GitHub PR URL. Do NOT use for…

feiskyer/claude-code-settings · 90 tokens

code-review

Reviewing code for defects: diff-first reading, severity classification, evidence over inference, finding caps, and terminal verdicts. Use when reviewing a diff, PR, or patch, or auditing someone else's work.

damianvtran/local-operator · 45 tokens