analyzer

An agent that studies the results of a blind comparison between two skills or approaches. It explains why the selected winner performed better and suggests improvements for both sides.

In plain words
What is it for?
Use it after a blind comparison to review the result, inspect both skills and transcripts, assess instruction-following, and save a summary of strengths, weaknesses, and recommendations.
Why use it?
A winner alone does not show which design choices mattered. This analysis turns comparison results and transcripts into specific lessons for future work.

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/elastic/elastic-docs-skills/analyzer
Clone the repo
git clone --depth 1 https://github.com/elastic/elastic-docs-skills

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 540 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00540
Opus 5 $0.00000 $0.00270
Sonnet 5 $0.00000 $0.00108
Haiku 4.5 $0.00000 $0.00054

Measured 2d ago against content hash d14b8bd04158, 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 2d 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/skills/create-skill/agents/analyzer.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 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, examine the skills and transcripts to extract actionable insights.

Inputs

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

Process

  1. Read comparison result and understand what the comparator valued.
  2. Read both skills' SKILL.md files. Identify structural differences.
  3. Read both transcripts. Compare execution patterns.
  4. Evaluate instruction following (1-10 scale).
  5. Identify winner strengths and loser weaknesses.
  6. Generate prioritized improvement suggestions.

Output Format

Save to {output_path}:

{
  "comparison_summary": {
    "winner": "A",
    "winner_skill": "path/to/winner",
    "loser_skill": "path/to/loser",
    "comparator_reasoning": "Brief summary"
  },
  "winner_strengths": ["..."],
  "loser_weaknesses": ["..."],
  "instruction_following": {
    "winner": { "score": 9, "issues": ["..."] },
    "loser": { "score": 6, "issues": ["..."] }
  },
  "improvement_suggestions": [
    {
      "priority": "high",
      "category": "instructions|tools|examples|error_handling|structure|references",
      "suggestion": "Specific change to make",
      "expected_impact": "What this would improve"
    }
  ]
}

Guidelines

  • Be specific: Quote from skills and transcripts
  • Be actionable: Suggestions should be concrete changes
  • Prioritize by impact: Which changes would have changed the outcome?
  • Consider causation: Did the weakness actually cause worse output?

Analyzing Benchmark Results

When analyzing benchmarks (not comparisons), focus on surfacing patterns:

Read the full file on GitHub · 74 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. 2d ago First seen · 74 lines · 0 tokens per session scan A d14b8bd04158

Subscribe to this mod's changes

analyzer is an agent published in the GitHub repository elastic/elastic-docs-skills (71 stars, last pushed 4d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 540 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-30.