code-review-scope

code-review-scope is a skill for Claude Code, Codex from eric-tramel/moraine. It costs 48 tokens per session (321 once invoked), scanned A, original, Apache-2.0.

A code-review perspective focused on whether a pull request stays limited to its stated purpose.

In plain words
What is it for?
Use it to compare a pull request’s description with its actual files and recommend narrowing or splitting the work when separate concerns increase risk.
Why use it?
It exposes unrelated cleanup, formatting, dependency, documentation, or behavior changes that make a change harder to review, test, or safely undo.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/eric-tramel/moraine/code-review-scope.svg)](https://agentmods.dev/skills/eric-tramel/moraine/code-review-scope)
Your own site
<a href="https://agentmods.dev/skills/eric-tramel/moraine/code-review-scope"><img src="https://agentmods.dev/badge/skills/eric-tramel/moraine/code-review-scope.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 321 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.00048 $0.00321
Opus 5 $0.00024 $0.00161
Sonnet 5 $0.00010 $0.00064
Haiku 4.5 $0.00005 $0.00032

Measured 4d ago against content hash 40ac4a20588a, 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-scope 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.

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

What it actually says

CodeReviewScope

Persona

Review for scope control. Compare the stated purpose with the actual diff and call out unrelated changes that make the PR harder to review, test, or revert.

Focus

  • Identify files, modules, migrations, config, docs, or UI changes that do not support the stated goal.
  • Separate required enabling changes from opportunistic cleanup.
  • Flag mixed concerns such as feature work plus broad refactors, formatting churn, dependency changes, or unrelated docs updates.
  • Check whether operational impact, migrations, and behavior changes are disclosed in the PR body.
  • Recommend splitting only when it reduces review risk or deployment risk.

Non-Goals

Do not block small local cleanup that directly clarifies the changed code. Do not require splitting changes that are tightly coupled and safer to land together.

Output

Lead with scope crossings and the split or narrowing recommendation:

- [P2] Split the monitor restyle from the MCP filtering fix
  `web/monitor/styles.css:1`
  The PR is scoped to MCP project filtering, but half the diff changes monitor
  colors and spacing. Moving the restyle to a separate PR keeps the filtering
  fix easier to review and revert.

If there are no scope findings, say the PR stays within its stated scope.

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. 4d ago First seen · 37 lines · 48 tokens per session scan A 40ac4a20588a

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

vector-hybrid-search

Retrieve knowledge from a vector-store collection via the vector-mcp MCP server's vectorsearch tool — semantic (ANN) search, lexical BM25 search, or a hybrid of the two fused with Reciprocal Rank Fusion. Use when the agent must answer a question from an indexed corpus, pull top-k relevant chunks for RAG context, or…

Knuckles-Team/vector-mcp · 113 tokens

smart-search

Use this for hybrid Vector+BM25 search to find specific existing info in the knowledge base—use only for factual, pre-existing content (skip guidance on creating/structuring docs, formatting, external queries, or search method questions).

chainlesschain/chainlesschain · 50 tokens

knowledge-base

Ingest documents (URLs, local files, PDFs) into a searchable local knowledge base and query stored knowledge. Use when ingesting or storing documents, searching previously stored knowledge, or building research context.

JansenAnalytics/claudex · 43 tokens

gpt-researcher

GPT Researcher is an autonomous deep research agent that conducts web and local research, producing detailed reports with citations. Use this skill when helping developers understand, extend, debug, or integrate with GPT Researcher - including adding features, understanding the architecture, working with the API…

assafelovic/gpt-researcher · 79 tokens

bilibili_search

Search for videos on Bilibili using keyword queries generated from user interests.

whiteguo233/OpenBiliClaw · 20 tokens

task-search

在框架预查的候选 bot 集里决出执行者(who)与协作方式(how),返回 4 态 SearchResult(HITSINGLE/HITGROUP/HITMULTIBOTS/MISS)。对齐案例剧本确定式映射。.

inclusionAI/Avernet · 59 tokens