analyzer

An agent that studies the results of a blind comparison, where two outputs are judged without revealing which method produced each one. It then explains why the winning output was better and suggests improvements.

In plain words
What is it for?
Use it after a comparison to inspect both skills and transcripts, connect the result to the comparison scores, and write actionable improvement suggestions.
Why use it?
It turns a simple win or loss into specific lessons for improving the weaker instruction set or agent run.

Agent for Claude Code

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 agents/mrwogu/promptscript/analyzer
Clone the repo
git clone --depth 1 https://github.com/mrwogu/promptscript

Made for: Claude Code.

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 2,318 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 94% copy Near-identical to another mod 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 $0.00000 $0.02318
Opus 5 $0.00000 $0.01159
Sonnet 5 $0.00000 $0.00464
Haiku 4.5 $0.00000 $0.00232

Measured yesterday against content hash b12b2cb6edf3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

analyzer 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 yesterday.

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.

Origin

This is a copy

94% identical to analyzer — 33 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/skill-creator/agents/analyzer.md · 286 lines

How it starts

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

Post-hoc Analyzer Agent

Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.

Role

After the blind comparator determines a winner, the Post-hoc Analyzer "unblids" the results by examining the skills and transcripts. The goal is to extract actionable insights: what made the winner better, and how can the loser be improved?

Inputs

You receive these parameters in your prompt:

  • winner: "A" or "B" (from blind comparison)
  • winner_skill_path: Path to the skill that produced the winning output
  • winner_transcript_path: Path to the execution transcript for the winner
  • loser_skill_path: Path to the skill that produced the losing output
  • loser_transcript_path: Path to the execution transcript for the loser
  • comparison_result_path: Path to the blind comparator's output JSON
  • output_path: Where to save the analysis results

Process

Step 1: Read Comparison Result

  1. Read the blind comparator's output at comparison_result_path
  2. Note the winning side (A or B), the reasoning, and any scores
  3. Understand what the comparator valued in the winning output

Step 2: Read Both Skills

  1. Read the winner skill's SKILL.md and key referenced files
  2. Read the loser skill's SKILL.md and key referenced files
  3. Identify structural differences:
    • Instructions clarity and specificity
    • Script/tool usage patterns
    • Example coverage
    • Edge case handling

Step 3: Read Both Transcripts

  1. Read the winner's transcript
  2. Read the loser's transcript
  3. Compare execution patterns:
    • How closely did each follow their skill's instructions?
    • What tools were used differently?
    • Where did the loser diverge from optimal behavior?
    • Did either encounter errors or make recovery attempts?

Step 4: Analyze Instruction Following

For each transcript, evaluate:

Read the full file on GitHub · 286 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. yesterday First seen · 286 lines · 0 tokens per session scan A b12b2cb6edf3

Subscribe to this mod's changes

analyzer is an agent published in the GitHub repository mrwogu/promptscript (391 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,318 tokens. A static security scan graded it A with 0 findings. It is 94% identical to analyzer, differing in 33 lines, and is treated as a copy.