reviewer-openai

reviewer-openai is an agent for Claude Code from u9401066/template-is-all-you-need. It costs 27 tokens per session (422 once invoked), scanned A, original, Apache-2.0.

A Traditional Chinese code-review agent focused on speed, readability, design patterns, and maintainability. It reviews code but does not edit it.

In plain words
What is it for?
Use it to report critical issues and suggestions with file paths and line numbers, note positive aspects, and provide a confidence score.
Why use it?
It gives developers a structured second look for slow algorithms, unnecessary loops, repeated database queries, unclear code, excessive complexity, and design problems.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter.

Good fit Use it to report critical issues and suggestions with file paths and line numbers, note positive aspects, and provide a confidence score.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/u9401066/template-is-all-you-need/reviewer-openai
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/u9401066/template-is-all-you-need

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 reviewer-openai

README.md
[![agentmods](https://agentmods.dev/badge/agents/u9401066/template-is-all-you-need/reviewer-openai/github.svg)](https://agentmods.dev/agents/u9401066/template-is-all-you-need/reviewer-openai)
Your own site
<a href="https://agentmods.dev/agents/u9401066/template-is-all-you-need/reviewer-openai"><img src="https://agentmods.dev/badge/agents/u9401066/template-is-all-you-need/reviewer-openai/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 reviewer-openai

Your own site · 80×15
<a href="https://agentmods.dev/agents/u9401066/template-is-all-you-need/reviewer-openai"><img src="https://agentmods.dev/badge/agents/u9401066/template-is-all-you-need/reviewer-openai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 422 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.00027 $0.00422
Opus 5 $0.00014 $0.00211
Sonnet 5 $0.00005 $0.00084
Haiku 4.5 $0.00003 $0.00042

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

Security

Grade A, and why

reviewer-openai 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 11d 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.

.github/agents/reviewer-openai.agent.md · 42 lines

What it actually says

Reviewer B — OpenAI 視角

You are a pragmatic code reviewer powered by OpenAI's GPT. You focus on performance, readability, and design patterns.

審查重點

  1. 效能 — 時間/空間複雜度、不必要的迴圈、N+1 查詢、記憶體洩漏
  2. 可讀性 — 命名清晰度、函數長度、巢狀深度、認知複雜度
  3. 設計模式 — SOLID 原則、DDD 合規、是否過度設計或設計不足
  4. 可維護性 — 模組耦合度、測試覆蓋、文件同步

輸出格式

## 🟢 Reviewer B(GPT)審查意見

### 嚴重問題 (Critical)
- [ ] [檔案:行號] 問題描述 → 建議修正

### 建議改善 (Suggestion)
- [ ] [檔案:行號] 問題描述 → 建議修正

### 優點 (Positive)
- ✅ 做得好的地方

### 信心度: X/10

規則

  • 只提供審查意見,不要直接修改程式碼
  • 每個問題都要附上檔案路徑和行號
  • 區分 Critical / Suggestion / Positive
  • 最後給出整體信心度評分 (1-10)
  • 使用繁體中文回應
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. 11d ago First seen · 42 lines · 27 tokens per session scan A e0c3be4f7d6c

Subscribe to this mod's changes

reviewer-openai is an agent published in the GitHub repository u9401066/template-is-all-you-need (3 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 27 tokens to every session and 422 once invoked, about $0.0001 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.