simon-code-review

simon-code-review is a skill for Claude Code, Codex from SW-in-beta/simon-skills. It costs 132 tokens per session (7,034 once invoked), scanned A, original, MIT.

A pull request review workflow for proposed code changes. A pull request is a request to merge a branch into a shared codebase; this workflow creates a draft, adds line-specific comments, watches automated checks, and handles feedback.

In plain words
What is it for?
Use it when you need a draft pull request, inline review comments, CI monitoring, and repeated changes based on reviewer feedback. CI means automated checks such as builds, tests, and linting.
Why use it?
It brings code review, automated checks, and follow-up edits into one process. It can work from an existing development workflow or analyze the current branch on its own.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Codex.

Good fit Use it when you need a draft pull request, inline review comments, CI monitoring, and repeated changes based on reviewer feedback. CI means automated checks such as builds, tests, and linting.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sw-in-beta/simon-skills/simon-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.

Any agent
npx skills add SW-in-beta/simon-skills --skill simon-code-review
Clone the repo
git clone --depth 1 https://github.com/SW-in-beta/simon-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/sw-in-beta/simon-skills/simon-code-review.svg)](https://agentmods.dev/skills/sw-in-beta/simon-skills/simon-code-review)
Your own site
<a href="https://agentmods.dev/skills/sw-in-beta/simon-skills/simon-code-review"><img src="https://agentmods.dev/badge/skills/sw-in-beta/simon-skills/simon-code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,034 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.00132 $0.07034
Opus 5 $0.00066 $0.03517
Sonnet 5 $0.00026 $0.01407
Haiku 4.5 $0.00013 $0.00703

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

Security

Grade A, and why

simon-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 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.

skills/simon-code-review/SKILL.md · 421 lines

How it starts

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

simon-code-review

PR 기반 코드 리뷰 스킬. Draft PR을 생성하고, 논리적 변경 단위별 인라인 코드 리뷰를 작성하며, CI 모니터링과 사용자 피드백 루프를 반복한다.

Mode Detection

스킬 시작 시 모드를 자동 감지한다:

  1. .claude/memory/review-sequence.md 존재 확인
  2. 존재 → CONNECTED 모드 (simon/grind에서 넘어온 것)
    • .claude/memory/branch-name.md 읽기
    • .claude/reports/{feature-name}-report.md 확인 → PR description에 활용
    • .claude/memory/plan-summary.md 확인 → 계획 매핑용
    • .claude/memory/pr-info.md 확인 → 이미 PR이 있으면 재사용
  3. 미존재 → STANDALONE 모드
    • git diff {base-branch}...HEAD로 변경사항 분석
    • Agent team으로 review-sequence.md 자체 생성
    • Report도 자체 생성
  4. 이후 워크플로는 양 모드 동일

Shared Protocols: ~/.claude/skills/_shared/preamble.md 읽기 — Session Isolation, Error Resilience, Forbidden Rules, Agent Teams, Cognitive Independence 공통 프로토콜 포함.

Session Isolation Protocol (확장)

SESSION_DIR 결정: CONNECTED 모드에서는 simon-dev이 전달한 {SESSION_DIR}을 사용한다. STANDALONE 모드에서는 현재 브랜치명으로 직접 결정한다 (preamble의 SESSION_DIR 결정 bash 참조).

Workflow

[Mode Detection]
     ↓
[STANDALONE only] → Step 0: Diff 분석 + review-sequence 생성
     ↓
Step 1: Draft PR 생성
     ↓
Step 2: 인라인 코드 리뷰 작성
     ↓
Step 3: CI Watch (background) + 사용자에게 리뷰 안내
     ↓
Step 4: 피드백 루프 ──────────────────────┐
  4-A: 사용자 피드백 수집 (PR 코멘트)      │
  4-B: [GATE] 전문가 검증 → 코드 수정      │
  4-C: 수정된 부분에 인라인 리뷰 재작성     │
  4-D: [GATE] CI Watch 재시작 (코드 변경 시 필수) │
  4-E: 사용자에게 수정 완료 안내            │
       ↓                                   │
  사용자 승인? ─── No ─────────────────────┘
       │
      Yes
       ↓
Step 5: 마무리

중단 복구 프로토콜

어떤 Step에서든 외부 요인(push 실패, API 오류, 사용자 개입 등)으로 흐름이 중단되었다가 재개될 때, 반드시 아래 체크리스트를 따른다:

  1. 현재 Step의 완료 여부 확인 — 부분 완료 상태면 미완료 하위 단계부터 재개
  2. 잔여 워크플로 전체를 확인 — 현재 Step 완료 후 남은 Step(특히 Step 2 인라인 리뷰)을 순서대로 실행
  3. "사용자에게 안내"는 흐름의 종료가 아니라 일시 정지 — 안내 후에도 대기 상태를 유지하고, 문제 해결 시 자동 재개

금지 패턴: push/PR 생성 등 하나의 하위 작업 해결 후 "완료"로 간주하고 후속 Step을 누락하는 것. 특히 Step 2(인라인 리뷰)는 이 스킬의 핵심 가치이므로 절대 누락해서는 안 된다.

Step 0: Standalone 분석 (STANDALONE 모드만)

STANDALONE 모드에서는 simon-dev의 Step 18-A/B에 해당하는 분석을 자체적으로 수행한다. simon-dev이 전문가 패널을 거쳐 생성하는 review-sequence와 동등한 품질을 위해 agent team을 구성한다.

Read the full file on GitHub · 421 lines

Files

What ships with it

4 files 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. 7d ago First seen · 421 lines · 132 tokens per session scan A 9a509b4f13be

Subscribe to this mod's changes

simon-code-review is a skill published in the GitHub repository SW-in-beta/simon-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 132 tokens to every session and 7,034 once invoked, about $0.0007 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-31.