code-review-triage

code-review-triage is a skill for Claude Code, Codex from AmineDjeghri/personal-os-setup. It costs 18 tokens per session (924 once invoked), scanned A, original, MIT.

A procedure for evaluating a review comment on code you wrote before changing the code. It checks whether the reported problem is real, how serious it is in the program's actual run conditions, and what patch is appropriate.

In plain words
What is it for?
Use it to check findings from a person, bot, or linter, assess missing error handling or timeouts, notice related defects, and offer a justified patch.
Why use it?
It prevents blindly applying suggestions that are incorrect, redundant, or aimed at the wrong failure. It also keeps the decision and severity clear before proposing a fix.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to check findings from a person, bot, or linter, assess missing error handling or timeouts, notice related defects, and offer a justified patch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aminedjeghri/personal-os-setup/code-review-triage
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 AmineDjeghri/personal-os-setup --skill code-review-triage
Clone the repo
git clone --depth 1 https://github.com/AmineDjeghri/personal-os-setup

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-triage

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aminedjeghri/personal-os-setup/code-review-triage"><img src="https://agentmods.dev/badge/skills/aminedjeghri/personal-os-setup/code-review-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 924 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.
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.00018 $0.00924
Opus 5.5 $0.00007 $0.00370
Sonnet 5.5 $0.00004 $0.00185
Haiku 4.5 $0.00002 $0.00092

Measured yesterday against content hash 7262b411ebb5, 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-triage 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 yesterday.

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.

src/personal_os_setup/config/chezmoi/dot_claude/skills/code-review-triage/SKILL.md · 69 lines

How it starts

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

Triaging a review finding on your own code

When to Use

  • A bot, linter or human flags <file>:<line> and proposes a fix, forwarded with "can you check this" / "want a quick patch adding X?".
  • You notice a defect in a sibling script while working on one the user flagged.

The job is not to apply the suggestion: decide whether the claim is true, how much it matters in this script's run context, and what the right patch is — then offer it. Reply order: verdict on the claim, priority, the defects the reviewer missed, then the patch. A patch offered before the verdict reads as agreement. (Reviewing someone else's PR: github-code-review.)

1. Verify the claim at the cited line

  • Confirm the line number, the actual call, and what already protects it. Findings routinely ask for protection that exists — a bare except Exception is not a "missing exception handler". Say so rather than adding a redundant layer.
  • An exception handler bounds a failure; a timeout bounds a hang. A bare except never bounds a hang and a missing timeout never raises. Check which one the claim is about.

2. Grade severity by run context, in one clause

  • Interactive, human-watched, one-shot script (a registration helper, a manual sync): a hang is low. The same defect in a pipeline, cron job or unattended script is high. The user decides whether to spend effort on "low".
  • "The claim is accurate" is not "the finding is right": if it is mis-prioritized or incomplete, lead with that.

3. Find the real unbounded wait before patching

  • The flagged line is rarely the worst. Scan the file for while, poll/retry loops and recursion: an unbounded poll for an external event (a button press, a device coming online) with no attempt cap strands the user, and a line-oriented reviewer can't see it.
  • Bound it three ways: an attempt cap whose comment states the wall-clock budget, the request exception caught inside the loop, and a distinct message for exhaustion (the same text as an explicit refusal makes the operator retry the wrong thing).

Read the full file on GitHub · 69 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. yesterday First seen · 69 lines · 18 tokens per session scan A 7262b411ebb5

Subscribe to this mod's changes

code-review-triage is a skill published in the GitHub repository AmineDjeghri/personal-os-setup (659 stars, last pushed today), licensed MIT. It adds 18 tokens to every session and 924 once invoked, about $0.0001 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-10-20.

Related

Other skills, from other repositories