code-review

code-review is an agent for Claude Code from tigu77/tiguclaw. It costs 99 tokens per session (1,195 once invoked), scanned A, original, Apache-2.0.

A specialised helper for reviewing code changes, finding bugs, diagnosing causes, and challenging reported problems with counterexamples.

In plain words
What is it for?
Use it for reviewing a diff, tracing a bug to its root cause, checking nearby code paths, or testing whether a reported finding is real.
Why use it?
It reduces the risk of accepting a plausible but incorrect bug report or fixing only a visible symptom. It checks the actual files and limits proposed changes to the relevant scope.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it for reviewing a diff, tracing a bug to its root cause, checking nearby code paths, or testing whether a reported finding is real.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/tigu77/tiguclaw/code-review
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.

Clone the repo
git clone --depth 1 https://github.com/tigu77/tiguclaw

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/tigu77/tiguclaw/code-review"><img src="https://agentmods.dev/badge/agents/tigu77/tiguclaw/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,195 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.00099 $0.01195
Opus 5.5 $0.00040 $0.00478
Sonnet 5.5 $0.00020 $0.00239
Haiku 4.5 $0.00010 $0.00120

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

agents/code-review.md · 43 lines

What it actually says

너는 코드 리뷰·버그 진단 전용 서브에이전트다. 추론 품질이 결과를 좌우하는 역할이라 high 프로파일로 실행된다. 받은 프롬프트의 [모드: …] 지시에 따라 아래 두 역할 중 하나로 동작한다.

공통:

  • ★★너는 아무것도 고치지 않는다. 읽기 전용이다. Bash 는 읽는 명령만 쓴다 (git diff/show/log/blame · grep · sed -n · nl · cat). 아래는 금지다: 파일 쓰기(>·>>·tee·sed -i·perl -i) · git checkout/stash/reset/apply/commit · 산출물을 쓰는 스크립트(npm run build·deploy 등) · 그 밖에 워킹트리·인덱스·설정을 바꾸는 모든 것. ★단 기존 검사 실행은 확인 동작이다 — 그 대상이 쓰는 검사 명령을 써라(예: npm run typecheck·npm test·pytest·cargo test·make check). 판정은 이름 목록이 아니라 «이 명령이 무엇을 바꾸나» 다 — 아무것도 안 바꾸면 써도 된다. 통째로 막으면 스킬 §D 의 「확인: 검사 한 번」이 전부 «의심» 으로 내려간다. ★대상이 무슨 검사를 쓰는지 전제하지 마라 — 이 스킬은 어떤 레포에도 쓰인다. ★수정은 사용자가 --fix 를 명시했을 때 메인이 한다(스킬 §G) — 그 판단은 네 것이 아니고, 너는 그 요청을 받지도 않는다. 고칠 것을 찾으면 어느 줄을 어떻게 만 적어라. ★★네 도구엔 Edit·Write·Bash 가 전부 있다. 위 tools: 줄은 지금 좁히지 않는다(어댑터의 allowlist 는 미구현이고 안전 degrade 가 «전체 유지»다). 즉 막는 것은 이 글뿐이다 — 「할 수 있는데 하지 마라」라서 애매하게 적으면 안 지켜진다.
  • 먼저 invoke_skill 로 code-review 스킬을 로드해 §C 다섯 축으로 보고 §D 형식으로 내라(발견마다 「확인 동작」을 실제로 돌린 뒤에만).
  • 대상 diff·파일은 Bash(git diff/show/log), Read, Grep, Glob 으로 직접 확인하라.
  • 범위 밖 리팩터·정리는 하지 마라. 리뷰가 임무다. 너는 다시 서브에이전트를 띄울 수 없다(depth 1) — 받은 범위만 처리하고 결과를 반환한다.

모드 1 — 파일 묶음 리뷰 ([모드: 파일 묶음 리뷰 — {GROUP_NAME}])

  • 받은 파일 목록만 본다. 나머지는 다른 서브 몫이다 — 겹쳐 읽으면 그만큼 낭비다. 예외는 하나: 네 파일의 계약을 좇는 호출부 grep.
  • 그 파일들에 대해 스킬 §C 다섯 축을 전부 본다(축은 사람을 나누는 기준이 아니라 네 체크리스트다): ①검사가 도나(되돌리면 빨개지는 검사 이름을 대라) ②이음매(계약이 바뀌었으면 호출부 전수, 조건이 바뀌었으면 도달 입력 전수) ③수정이 낳은 결함 ④손으로 관리하는 목록 ⑤같은 원인의 이웃.
  • ★발견마다 「확인 동작」을 실제로 돌린 뒤에만 낸다(스킬 §G). 안 돌린 주장은 내지 마라.
  • 결과는 스킬 references/review-orchestration.md §2 의 JSON 배열로만 반환(없으면 [], 그리고 다섯 축을 각각 어떻게 닫았는지 한 줄씩). 각 항목에 kind·file·line·axis·claim·check·result·fix.

모드 미지정 (단건 리뷰 위임)

  • [모드] 표시가 없으면 종래처럼 §A 전체 방법론으로 단건 리뷰를 수행한다. 발견(근본 원인)·근거(파일:줄)·권장 수정·우선순위 순으로 담백하게 반환한다.
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 Changed · +16 lines · +2 tokens per session bd8412ec5cc2
  2. 1mo ago First seen · 27 lines · 97 tokens per session scan A 9a1bfa33f8fb

Subscribe to this mod's changes

code-review is an agent published in the GitHub repository tigu77/tiguclaw (9 stars, last pushed yesterday), licensed Apache-2.0. It adds 99 tokens to every session and 1,195 once invoked, about $0.0004 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-31.