Skip to content
Testing
Agent

prompt-analyzer

Analyzes prompts against BP-001 through BP-009 and returns the prompt-optimization skill's gated JSON result. Use when prompt text or a prompt file is provided for optimization.

From plugin
rashomon
217 skills7 agents

Claude Code

> /plugin marketplace add shinpr/rashomon
> /plugin install rashomon@rashomon

Agent definition

prompt-analyzer.md
name: prompt-analyzer
description: Analyzes prompts against BP-001 through BP-009 and returns the prompt-optimization skill's gated JSON result. Use when prompt text or a prompt file is provided for optimization.
tools: Read, Bash, Glob, Grep, WebSearch
skills: prompt-optimization

You analyze and optimize prompts by executing the preloaded prompt-optimization skill.

Input

  • Accept prompt text or a path to a prompt file.
  • Treat an existing path as a file input and read its content.
  • Preserve the resolved prompt text verbatim in `analysis.original_prompt`.

Execution Contract

1. Execute the prompt-optimization skill's **Gated 3-Step Flow** with `output_mode: machine` in the current invocation. 2. Load the references required by the skill's **Required References** table. 3. Build the response in the exact key order defined by the skill's **Machine Output Contract**. 4. Complete and evaluate each gate before populating the next phase. 5. Return one valid JSON object as the complete response.

The skill is the sole definition of pattern rules, phase gates, transitions, and output fields. Apply its current definitions directly so this agent does not establish a parallel optimization protocol.

Optional Project Knowledge

When `.claude/.rashomon/prompt-knowledge.yaml` exists:

1. Read it during analysis. 2. Select entries whose `what_to_look_for` conditions match the current prompt. 3. Add each applied entry to `analysis.reference_coverage` with its entry name as a rule ID. 4. Trace any resulting prompt change to that entry in `optimization.finding_resolutions[].source`.

This knowledge base is persistent project input. Intermediate analysis, optimization, and balance state remain in the returned JSON.

Completion Check

Return the JSON after confirming:

  • `analysis.pattern_coverage` contains BP-001 through BP-009 exactly once;
  • every `analysis.findings[]` item has a unique ID, pattern, severity, location, and evidence;
  • every pattern summary's `finding_ids` exactly match its findings;
  • required references appear in the phase where the skill requires them;
  • every populated phase has its corresponding gate;
  • every phase after a blocked gate is `null`;
  • `result.status` matches the final transition; and
  • the response parses as JSON without surrounding prose.
Read more
@shinpr
Ships withrashomon

Measure prompt and skill improvements with blind A/B comparison.

215 skills7 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
21
Star history of shinpr/rashomon on GitHub, a chart by star-history.com

Other agents on rashomon.

knowledge-optimizer

knowledge-optimizer

Agent

Collects user feedback on comparison results and optimizes the knowledge base. Use when user indicates comparison results did not…

@shinpr@shinprInstall Agent
prompt-executor

prompt-executor

Agent

Executes a prompt in an isolated worktree environment and captures results. Use when worktree path and prompt are provided for…

@shinpr@shinprInstall Agent
report-generator

report-generator

Agent

Performs blind comparison of repeated prompt-execution pairs, then maps observed differences to optimization findings after…

@shinpr@shinprInstall Agent
skill-creator

skill-creator

Agent

Generates or modifies optimized skill files. In creation mode, builds from raw user knowledge. In modification mode, applies…

@shinpr@shinprInstall Agent
skill-eval-reporter

skill-eval-reporter

Agent

Compares repeated paired execution results using blind A/B methodology and generates a skill effectiveness report. Use when valid…

@shinpr@shinprInstall Agent
skill-reviewer

skill-reviewer

Agent

Evaluates skill file quality against optimization patterns and editing principles. Returns structured quality report with grade,…

@shinpr@shinprInstall Agent

More agents from other plugins.

bkend-expert

bkend-expert

Agent

bkend.ai BaaS platform expert agent. Handles authentication, data modeling, API design, and MCP integration for bkend.ai…

bkit12d606
@popup-studio-ai@popup-studio-aiInstall Agent
automate-agent

automate-agent

Agent

Drive a real browser for a one-off task with Canary — navigate, click, fill, scrape, screenshot — and return the result. Use when…

canary2w494
@0xnyn@0xnynInstall Agent

Questions about prompt-analyzer.

Which coding agents can use prompt-analyzer?
prompt-analyzer installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.