ai-workflow-kit: Agent for Claude Code

.claude/agents/pr-reviewer.md

pr-reviewer is an agent for Claude Code from silver2dream/ai-workflow-kit. It costs 0 tokens per session (3,301 once invoked), scanned A, original, Apache-2.0.

An automated reviewer for pull requests, which are proposed code changes awaiting review. It checks the implementation, tests, and the task's acceptance criteria before reporting the result.

In plain words
What is it for?
Use it to prepare a review, inspect changed code, run the specified tests, and submit a review outcome.
Why use it?
It organizes the review process and helps ensure that every requested behavior is checked against the code and tests.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is silver2dream/ai-workflow-kit's own configuration. It tells Claude Code how to work on ai-workflow-kit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-workflow-kit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to silver2dream/ai-workflow-kit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/silver2dream/ai-workflow-kit/main/.claude/agents/pr-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/silver2dream/ai-workflow-kit

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/silver2dream/ai-workflow-kit/pr-reviewer/github.svg)](https://agentmods.dev/agents/silver2dream/ai-workflow-kit/pr-reviewer)
Your own site
<a href="https://agentmods.dev/agents/silver2dream/ai-workflow-kit/pr-reviewer"><img src="https://agentmods.dev/badge/agents/silver2dream/ai-workflow-kit/pr-reviewer/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 pr-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/silver2dream/ai-workflow-kit/pr-reviewer"><img src="https://agentmods.dev/badge/agents/silver2dream/ai-workflow-kit/pr-reviewer.svg" alt="Reviewed on agentmods" width="80" 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 3,301 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.00000 $0.03301
Opus 5.5 $0.00000 $0.01320
Sonnet 5.5 $0.00000 $0.00660
Haiku 4.5 $0.00000 $0.00330

Measured 2mo ago against content hash 85c29a905073, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-reviewer 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 2mo 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.

.claude/agents/pr-reviewer.md · 336 lines

How it starts

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

You are the AWK PR Review Expert. You are responsible for executing the complete review flow.

Input

You will receive PR number and Issue number.

Execution Flow

Step 1: Prepare Review Context

awkit prepare-review --pr $PR_NUMBER --issue $ISSUE_NUMBER

CRITICAL ERROR HANDLING:

  • If this command fails (returns error), IMMEDIATELY return review_blocked to Principal with the error message
  • Common failure: "worktree not found" - this means the worktree doesn't exist and review cannot proceed
  • DO NOT attempt to retry or work around the error

If successful, record the output:

  • CI_STATUS: passed or failed
  • WORKTREE_PATH: worktree path
  • TEST_COMMAND: command to run tests
  • TICKET: Issue body with acceptance criteria

Step 2: Extract Acceptance Criteria

From the TICKET output, identify all acceptance criteria (lines like - [ ] criteria).

These criteria are the foundation of your review. Each criterion MUST be addressed.

IMPORTANT: Acceptance Criteria describe INTENT (expected behavior), NOT specific test function names. When reviewing:

  • Find tests that COVER the described behavior, regardless of their naming
  • Do NOT expect test names to match criterion text exactly
  • Verify the behavior is tested, not that a specific function name exists

Step 3: Switch to Worktree and Review Implementation

cd $WORKTREE_PATH

CRITICAL: You MUST actually review the implementation code.

For EACH acceptance criterion:

  1. Find the implementation - Use Grep/Read to locate the actual code that implements this criterion
  2. Understand the logic - Read the code and understand how it works
  3. Write implementation description - Describe the implementation in your own words (minimum 20 characters), including:
    • Which function/method implements this
    • What the key logic is
    • How it satisfies the criterion

PROHIBITIONS:

  • DO NOT copy criterion text as implementation description
  • DO NOT assume code structure from ticket requirements
  • DO NOT write generic descriptions like "implemented as expected"
  • DO NOT skip reading actual code

Read the full file on GitHub · 336 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. 2mo ago First seen · 336 lines · 0 tokens per session scan A 85c29a905073

Subscribe to this mod's changes

pr-reviewer is an agent published in the GitHub repository silver2dream/ai-workflow-kit (2 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 3,301 tokens. 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.

Related

Other agents, from other repositories

skeptic

Verifies factual claims in tech-spec or tasks against actual codebase. Detects mirages: non-existent files, functions, dependencies, patterns, name mismatches. Orchestrator specifies feature path. Agent reads documents and checks every claim in code. Use during tech-spec validation (phase 2, step 5) and task…

stepanenkoviktor0110-boop/ai-dev-methodology-codex · 95 tokens

code-reviewer

Review code quality after implementation. Use after completing code tasks to verify quality standards. Proactive: invoke automatically after any code implementation.

stepanenkoviktor0110-boop/ai-dev-methodology-codex · 30 tokens

karimo-documenter-opus

Creates complex documentation (complexity 5+). Writes comprehensive API docs, architectural documentation. Use for documentation requiring deep technical analysis and multi-file coordination.

opensesh/KARIMO · 37 tokens

karimo-implementer

Executes coding tasks (complexity 1-4) from KARIMO PRDs. Writes production code, follows existing patterns, validates before committing. Use for straightforward feature implementation, refactoring, and bug fixes.

opensesh/KARIMO · 49 tokens

karimo-investigator

Scans codebases for patterns, affected files, and architectural context. Supports three modes: task-scan (PRD interview), context-scan (first run auto-detection), and drift-check (subsequent runs).

opensesh/KARIMO · 0 tokens

karimo-review-architect

Code-level integration and merge quality agent — validates task PRs, resolves merge conflicts, performs feature reconciliation. Use when PM Agent needs integration validation or conflict resolution.

opensesh/KARIMO · 38 tokens