evaluate

evaluate is a command for Claude Code from KaimingWan/oh-my-kiro. It costs 0 tokens per session (1,514 once invoked), scanned A, original, MIT.

A code-review command that gathers a project plan and Git changes, then asks four reviewers to check alignment, correctness, robustness, and other risks.

In plain words
What is it for?
Use it to evaluate work in the project root or a selected worktree before merging changes.
Why use it?
It brings several focused reviews together and requires each reviewer to give a clear pass-or-fail result, reducing missed problems in a change.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions subagents.

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.

agentmods
npx agentmods add commands/kaimingwan/oh-my-kiro/evaluate
Clone the repo
git clone --depth 1 https://github.com/KaimingWan/oh-my-kiro

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 evaluate

README.md
[![agentmods](https://agentmods.dev/badge/commands/kaimingwan/oh-my-kiro/evaluate.svg)](https://agentmods.dev/commands/kaimingwan/oh-my-kiro/evaluate)
Your own site
<a href="https://agentmods.dev/commands/kaimingwan/oh-my-kiro/evaluate"><img src="https://agentmods.dev/badge/commands/kaimingwan/oh-my-kiro/evaluate.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 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,514 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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.00000 $0.01514
Opus 5 $0.00000 $0.00757
Sonnet 5 $0.00000 $0.00303
Haiku 4.5 $0.00000 $0.00151

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

Security

Grade A, and why

evaluate scanned grade A with 1 finding 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 6d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

grep -rn 'subprocess\|eval\|exec\|open(\|os.system' <modified files>
commands/evaluate.md · 169 lines

How it starts

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

Step 1: Resolve evaluation target

  1. If the user specifies a path after @evaluate (e.g., @evaluate worktrees/omk-foo), use that path.
  2. Otherwise, check .active-submodule:
if [ -f .active-submodule ]; then
  jq -r '.worktree // empty' .active-submodule
fi
  1. If a worktree path is found, use it. Otherwise, use project root.

Set the resolved path as EVAL_DIR.

Step 2: Gather context

cd "$EVAL_DIR"
PLAN=$(cat docs/plans/*.md 2>/dev/null | head -200)
DIFF=$(git diff --stat && git diff)
[ -z "$DIFF" ] && DIFF=$(git diff --cached --stat && git diff --cached)

Step 3: Dispatch 4 parallel evaluator subagents

Dispatch ALL 4 subagents in parallel (one use_subagent call with 4 entries). Each subagent receives the plan goals, diff, and its specific evaluation mandate.

Every subagent MUST:

  • Fill ALL mandatory tables — empty or missing table rows = REJECTED, re-dispatch
  • Answer its Canary question (proves source code was actually read)
  • Classify each finding: CRITICAL / HIGH / MEDIUM / LOW
  • End with exactly: Verdict: PASS or Verdict: FAIL
  • Missing verdict = malformed → REJECTED, re-dispatch

Subagent #1: "Refactoring Expert" — Simplicity + Maintainability

Persona: A senior engineer who believes the best code is code that doesn't exist. Your job is to find things to delete or simplify.

Read all modified files in EVAL_DIR. Then fill EVERY table below — empty table = REJECTED.

Table A — Long functions (>50 lines):

Function File:Line Lines Can split? Split plan Reason if not

If no functions >50 lines, write one row: "None found — all functions ≤50 lines."

Table B — Exception handling:

Location (file:line) Catches what Necessary? What if removed

If no try/except blocks, write one row: "No exception handlers found."

Table C — Abstraction layers:

Read the full file on GitHub · 169 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. 6d ago First seen · 169 lines · 0 tokens per session scan A 66a22586d9de

Subscribe to this mod's changes

evaluate is a command published in the GitHub repository KaimingWan/oh-my-kiro (103 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,514 tokens. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.