review-agent

review-agent is a command for Claude Code from sarkarsaurabh27/agent-loop-learning. It costs 0 tokens per session (737 once invoked), scanned A, original, MIT.

A review command that examines an AI agent’s design and reports findings without changing files. It compares the code with nine reference guides covering areas such as tools, prompts, security, testing, and performance.

In plain words
What is it for?
Use it to inspect an agent implementation, score its design areas, and identify specific gaps with supporting locations.
Why use it?
It provides a structured assessment of weaknesses while leaving decisions and fixes to you.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Gemini CLI.

Good fit Use it to inspect an agent implementation, score its design areas, and identify specific gaps with supporting locations.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sarkarsaurabh27/agent-loop-learning/review-agent
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/sarkarsaurabh27/agent-loop-learning

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/sarkarsaurabh27/agent-loop-learning/review-agent/github.svg)](https://agentmods.dev/commands/sarkarsaurabh27/agent-loop-learning/review-agent)
Your own site
<a href="https://agentmods.dev/commands/sarkarsaurabh27/agent-loop-learning/review-agent"><img src="https://agentmods.dev/badge/commands/sarkarsaurabh27/agent-loop-learning/review-agent/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 review-agent

Your own site · 80×15
<a href="https://agentmods.dev/commands/sarkarsaurabh27/agent-loop-learning/review-agent"><img src="https://agentmods.dev/badge/commands/sarkarsaurabh27/agent-loop-learning/review-agent.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 737 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.00737
Opus 5.5 $0.00000 $0.00295
Sonnet 5.5 $0.00000 $0.00147
Haiku 4.5 $0.00000 $0.00074

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

Security

Grade A, and why

review-agent 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.

.claude/commands/review-agent.md · 69 lines

How it starts

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

/review-agent

Goal: review and show only. Audit an agent design against the best-practice reference docs and surface findings. Do not modify any files, write code, or execute fixes. The user (or /improve-agent) decides what to do with the findings.

Works for any LLM agent framework — LangChain, LangGraph, AutoGen, CrewAI, OpenAI Agents SDK, custom loops, etc. The practices are framework-agnostic.

Instructions

  1. Explore the current repo first — do not ask the user for anything yet. Look for agent-related code by searching for common patterns:

    • Files matching *agent*, *tool*, *prompt*, *chain*, *workflow* in src/, lib/, app/, root
    • Imports of agent frameworks: langchain, langgraph, openai, anthropic, autogen, crewai, pydantic
    • System prompt definitions, tool definitions, agent loop logic
    • CLAUDE.md, AGENTS.md, GEMINI.md, or any README describing the agent architecture

    Read the most relevant files to understand the agent design. Only ask the user if you genuinely cannot find any agent-related code after exploring.

  2. Read all 9 best-practice docs from best-practices/ in this repo.

  3. Produce a structured gap analysis using the format below. This is the output — do not edit any project files, do not write fixes, do not run shell commands beyond what's needed to explore the repo.


Agent Review: [agent name or "Unnamed Agent"]

Summary (2–3 sentences on the overall design)


Dimension-by-dimension audit

For each of the 9 dimensions below, score the design:

  • ✅ Solid — clearly covered
  • ⚠️ Partial — present but missing something important
  • ❌ Gap — not addressed or actively violating the practice
# Dimension Score Finding
01 Multi-agent orchestration
02 Worker prompting
03 Context & memory
04 Tool design
05 Verification & testing
06 Security & permissions
07 Prompt engineering
08 Performance & startup

Read the full file on GitHub · 69 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. 1mo ago First seen · 69 lines · 0 tokens per session scan A 638f916d488b

Subscribe to this mod's changes

review-agent is a command published in the GitHub repository sarkarsaurabh27/agent-loop-learning (3 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 737 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.