agentleFS
Galileo-Agent-LabsGalileo-Agent-Labs/eval-engineer/skills/eval-diagnose/SKILL.md

eval-diagnose

Skill42 starsChanged 6 months agoMITView on GitHub

Use when Galileo evidence is available and the user asks why a trace, session, log stream, experiment, metric, or AI app behavior failed, regressed, or became unsafe.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. malloydata/publisher★ 116same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository8 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill for evidence-backed RCA once a packet, URL-derived evidence, or trace/session/log-stream context is available.

    line 8
  2. Distinctive:

    Start from fetched evidence, not source-code guesses.

    line 20
  3. Distinctive:

    Write diagnosis and bounded fix plan only when evidence supports it.

    line 28
  4. Distinctive:

    Check that every RCA claim names supporting metric, trace, span, session, experiment, dataset, or log-stream evidence.

    line 51
  5. Very specific:

    If any claim lacks evidence, downgrade it to a hypothesis or route to /eval-fetch or /eval-measure.

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Eval Diagnose

Use this skill for evidence-backed RCA once a packet, URL-derived evidence, or trace/session/log-stream context is available.

Required Reference

Use skills/eval-engineer/references/rca-recipe.md, skills/eval-engineer/references/debug-packets.md, skills/eval-engineer/references/evidence-provenance.md, and skills/eval-engineer/assets/diagnosis-template.md.

Do

  • Start from fetched evidence, not source-code guesses.
  • Name the failing metric contract and what it proves.
  • Label hosted Galileo evidence separately from local deterministic packets before making metric or score claims.
  • Inspect traces, spans, sessions, tool calls, retrieval context, and scorer status to classify the fix surface.
  • Classify the fix surface: prompt, tool schema, adapter, retriever, ranker, guardrail, metric, dataset, or SDK wiring.
  • Write diagnosis and bounded fix plan only when evidence supports it.
  • Honor read-only requests. If the user says read-only, dry run, no edits, or "do not edit files", do not write .galileo/ artifacts. Return the RCA inline and include a short "Would write" list for any suggested artifact paths.

Gotchas

  • Fetched debug packets are the RCA source of truth when scorer jobs are still settling or runner output disagrees with fetched metrics.
  • A prompt diff, local score, or code diff is not proof of improvement without before/after Galileo evidence.
  • Bare correctness or factuality can be a smoke test only. Prefer the metric contract tied to the case risk.
  • Safe final wording is not enough for source-authority cases if unsafe or forbidden retrieved context entered the task surface.

Validation Loop

Before finalizing:

  1. Run python3 skills/eval-engineer/scripts/summarize_debug_packet.py <packet> unless a compact summary is already available.
  2. Check that every RCA claim names supporting metric, trace, span, session, experiment, dataset, or log-stream evidence.
  3. Confirm the fix surface is bounded and allowed by .galileo/config.yml.
  4. If any claim lacks evidence, downgrade it to a hypothesis or route to /eval-fetch or /eval-measure.

Output

Unless the request is read-only, produce .galileo/current/diagnosis.md and, when justified, .galileo/current/fix-plan.md. If evidence is insufficient, route to /eval-fetch or /eval-measure.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.