agent-glovebox: Skill for Claude Code

.claude/skills/peer-review/SKILL.md

peer-review is a skill for Claude Code from AlexanderMattTurner/agent-glovebox. It costs 100 tokens per session (834 once invoked), scanned A, original, Apache-2.0.

A workflow for getting an independent review of pending code changes. A separate read-only reviewer examines the diff and surrounding code, after which the findings are assessed and fixes are applied when needed.

In plain words
What is it for?
It helps review uncommitted work or branch changes, classify findings by importance, fix valid issues, and rerun relevant checks. A pull request is a proposed change submitted for review before merging.
Why use it?
The person who wrote a change may overlook problems because they know what they intended. A fresh review can identify defects before the changes are shipped or opened as a pull request.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is AlexanderMattTurner/agent-glovebox's own configuration. It tells Claude Code how to work on agent-glovebox itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-glovebox configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AlexanderMattTurner/agent-glovebox. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AlexanderMattTurner/agent-glovebox/main/.claude/skills/peer-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AlexanderMattTurner/agent-glovebox

Made for: Claude Code.

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 peer-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexandermattturner/agent-glovebox/peer-review"><img src="https://agentmods.dev/badge/skills/alexandermattturner/agent-glovebox/peer-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 834 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.00100 $0.00834
Opus 5 $0.00050 $0.00417
Sonnet 5 $0.00020 $0.00167
Haiku 4.5 $0.00010 $0.00083

Measured 7d ago against content hash abd28fd9a5c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

peer-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 7d 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/peer-review/SKILL.md · 68 lines

How it starts

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

Peer Review Skill

A separate read-only agent reviews the diff so the author’s intent does not color the review. Use this before shipping or whenever an unbiased look at pending changes is wanted.

Workflow

1. Capture the diff

Compute the review target and keep the text: the diff against the base branch (git diff "$CLAUDE_CODE_BASE_REF"...HEAD), or uncommitted work (git diff / git diff --cached). Get its changed paths, then capture git log -n 30 --no-merges --oneline -- <changed paths> so the review can distinguish a first defect from a repeated local repair.

2. Launch the reviewer

Invoke the code-reviewer subagent (.claude/agents/code-reviewer.md) via the Agent tool, passing the diff and path history from step 1 in the prompt — the agent is read-only (Read/Grep/Glob, model: opus) with no shell, so it cannot fetch either itself. It reads the surrounding files for context on its own.

3. Triage and fix

For each finding, assess validity first — the reviewer can be wrong. Then:

  • Blocker / Should-fix: fix it, re-running the project’s tests/lint as needed.
  • Nit: apply if cheap; otherwise note and move on.
  • Invalid: state why in one line and skip.

Do not weaken or delete tests to make a finding “go away” (see CLAUDE.md).

4. Re-review to a fixed point

After fixing, launch a fresh code-reviewer pass with the updated diff — fixes introduce their own bugs and the prior review is now stale. Stop when a full pass returns nothing actionable. The cap is at most three passes (.claude/rules/development-workflow.md § Self-critique); if findings persist there, summarize what is left in the report and proceed rather than looping silently.

5. Report

Summarize what the reviewer flagged, what you fixed, and anything deliberately deferred.

When NOT to use

  • Creating a PR end-to-end — use pr-creation (it already runs its own critique loop).
  • Trivial edits (typo fixes, single-line config tweaks) — say so and skip.

Read the full file on GitHub · 68 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. 7d ago Changed abd28fd9a5c5
  2. 12d ago First seen · 68 lines · 100 tokens per session scan A 2cf21d5e0f09

Subscribe to this mod's changes

peer-review is a skill published in the GitHub repository AlexanderMattTurner/agent-glovebox (63 stars, last pushed today), licensed Apache-2.0. It adds 100 tokens to every session and 834 once invoked, about $0.0005 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.