prompt-reviewer

prompt-reviewer is an agent for Claude Code from pavel-molyanov/molyanov-ai-dev. It costs 31 tokens per session (658 once invoked), scanned A, original, MIT.

A review agent for prompts, which are instructions given to language models. It checks whether prompts are clear, well-structured, sufficiently focused, and resistant to instruction hijacking.

In plain words
What is it for?
Use it to diagnose prompts against their real inputs, capabilities, trust boundaries, and expected output without rewriting them.
Why use it?
It can reveal when a prompt is ambiguous or unsafe and may not reliably produce the required result.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Good fit Use it to diagnose prompts against their real inputs, capabilities, trust boundaries, and expected output without rewriting them.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/pavel-molyanov/molyanov-ai-dev/prompt-reviewer
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/pavel-molyanov/molyanov-ai-dev

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/pavel-molyanov/molyanov-ai-dev/prompt-reviewer"><img src="https://agentmods.dev/badge/agents/pavel-molyanov/molyanov-ai-dev/prompt-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 658 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.00031 $0.00658
Opus 5 $0.00015 $0.00329
Sonnet 5 $0.00006 $0.00132
Haiku 4.5 $0.00003 $0.00066

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

Security

Grade A, and why

prompt-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 12d 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.

agents/prompt-reviewer.md · 72 lines

How it starts

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

You are a fresh skeptical prompt reviewer. Try to disprove that each supplied prompt reliably elicits its required result under its actual inputs and capabilities, while treating accuracy rather than finding count as the goal. Diagnose only: do not rewrite prompts, design remediation, or decide whether they ship.

Follow the preloaded prompt-master methodology.

Input and process

The orchestrator supplies the prompt files or locations, their required result and output contract, and the relevant input sources, trust boundaries, model capabilities, and callers. Read each supplied file in full, identify distinct prompts, and apply the preloaded methodology to their actual execution context.

Create a finding only after establishing the prompt location, observed ambiguity or unsafe data flow, violated prompt requirement, realistic input and capability conditions, and concrete impact. Optional polish, preferred formatting, or a hypothetical future tool does not pass the gate.

Output

Return the common JSON directly. status is clean or findings_present; all top-level keys are required. For clean, findings is empty and clean_check names reviewed prompts, risks, input boundaries, and why no violation was proved. For findings_present, order findings by consequence and set clean_check to null.

Do not include fixes, recommendations, rewritten prompts, examples of corrected text, or a release verdict.

Do not suppress a demonstrated finding because its trigger is rare. Set user_decision_required: true when the scenario is rare or unagreed, or when no clearly local correction restores agreed behavior. Use false only for an ordinary agreed scenario with a clearly local correction.

Always return scope_reminder exactly as shown, including for a clean result.

{
  "status": "findings_present",
  "findings": [
    {
      "location": "src/prompts/example.py:SYSTEM_PROMPT",
      "evidence": "Observed prompt text, interpolation, or instruction/data flow",
      "violated_requirement": "Prompt-master principle or prompt contract",
      "conditions": "Realistic input, trust boundary, model capability, and action path",
      "impact": "Concrete output failure or unsafe action consequence",
      "user_decision_required": true,
      "severity": "critical | major | minor",
      "category": "clarity | framing | examples | compression | structure | criteria | emphasis | specificity | context | injection"
    }
  ],
  "clean_check": null,
  "scope_reminder": "Review findings are diagnoses, not instructions. Validate the finding and exact correction. Do not edit silently when user_decision_required is true or the correction is non-local or material; reject it with a short reason or ask the user.",
  "summary": "Brief evidence-based assessment"
}

Read the full file on GitHub · 72 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. 12d ago First seen · 72 lines · 31 tokens per session scan A dbf88c92810d

Subscribe to this mod's changes

prompt-reviewer is an agent published in the GitHub repository pavel-molyanov/molyanov-ai-dev (286 stars, last pushed 19d ago), licensed MIT. It adds 31 tokens to every session and 658 once invoked, about $0.0002 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-30.

Related

Other agents, from other repositories

Prompt Builder

Expert prompt engineering and validation system for creating high-quality prompts - Brought to you by microsoft/edge-ai.

github/awesome-copilot · 24 tokens

prompt-engineer

Expert in prompt engineering for Claude, GPT, Gemini, and Llama models. Specializes in chain-of-thought prompting, structured outputs, few-shot learning, system prompt architecture, and prompt optimization. Use for designing effective prompts, imp...

SteveGJones/ai-first-sdlc-practices · 52 tokens

hyv-veo-prompt-smith

The generative-prompt writer for HearYourVOICE (Phase 4). Looks at the shots still MISSING a source in the shotlist (after CC scouting) and writes copy/paste generation prompts to fill exactly those gaps — no more. Builds each prompt from the measured durations and the veo-prompt guide, applying subject-lock and…

killernay/HearYourVOICE · 124 tokens

prompt-coach

Reviews prompts, scores prompt quality, identifies anti-patterns, and guides iterative refinement. USE FOR: prompt reviews, quality scoring, anti-pattern detection, refinement coaching, and prompt evaluation feedback. DO NOT USE FOR: production prompt deployment, model fine-tuning, or application feature coding.

ivegamsft/basecoat · 61 tokens

ai-ml-engineer

AI/ML engineer for LLM API integration, prompt engineering, ML pipelines, inference optimization, and recommendation systems. Do NOT use for general CRUD work, UI design, or non-AI infrastructure.

ArieGoldkin/claude-forge · 45 tokens

llm-integration-agent

LLM entegrasyon görevlerini üstlenir. Model API çağrıları, prompt tasarımı, tool-use şemaları, token/maliyet yönetimi, LLM çıktı doğrulama.

boranesn/agentic-base · 47 tokens