agentleFS
magnus919magnus919/agent-skills/agent-evals-and-observability/SKILL.md

agent-evals-and-observability

Skill109 starsChanged 4 months agoMITView on GitHub

Design, run, review, or release framework- and vendor-neutral evaluations and observability for AI agents. Use when defining agent evals, datasets, graders, trajectory review, regression analysis, release gates, production traces, or privacy-aware telemetry. Covers task and trajectory contracts, statistical comparisons, and incident-to-case learning; route framework implementation to pydanticai or langgraph when needed. Do not use this skill for unrelated requests; route to the nearest named specialist.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create an immutable dataset version and manifest before comparing versions.

    line 24
  2. Distinctive:

    Run the candidate and baseline under comparable conditions.

    line 26
  3. Distinctive:

    Stop when the supported decision, evidence gaps, residual risks, and responsible owner are recorded.

    line 31
  4. Distinctive:

    Use templates/eval-plan.md, templates/interface-enrichment-comparison.md, templates/dataset-manifest.md,

    line 57
  5. Distinctive:

    Do not use a scalar score, keyword hit, schema validation, or repeated output as proof beyond the property it directly observes.

    line 61
  6. Distinctive:

    Do not capture prompts, outputs, tool arguments, intermediate reasoning, credentials, or personal data by default.

    line 62
  7. Distinctive:

    Do not treat human judgment as definitive truth.

    line 63
  8. Distinctive:

    Keep prevalence-oriented production samples separate from risk-enriched challenge cases.

    line 64

≈ “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

Agent Evals and Observability

Evaluation asks whether behavior meets a defined criterion on a declared dataset or production sample. Observability supplies traces, logs, metrics, correlations, and diagnostic context. Use both; neither proves what the other does.

Workflow

  1. Define the decision, risk, task contract, trajectory contract, and unacceptable outcomes. Select evidence by harm, reversibility, and deployment stage, not a staged completeness scale.
  2. Create an immutable dataset version and manifest before comparing versions. Declare provenance, rights/consent, slices, fixtures, expected side effects, contamination risk, limitations, retention, and changelog.
  3. Select complementary graders that observe the claimed property. Use deterministic checks for observable mechanics; use execution/environment checks for state and side effects; use human, model-judge, pairwise/ranking, domain, and safety review where appropriate.
  4. Run the candidate and baseline under comparable conditions. Preserve run configuration, stochastic repeats where variability affects the decision, failures/timeouts, and trajectory evidence.
  5. Report a multidimensional profile and uncertainty. Use paired comparisons where possible; inspect slices, missingness, base rates, confounders, effect sizes, and multiple comparisons. Non-significance is not equivalence.
  6. Apply a risk-tiered release gate: hard safety, privacy, authorization, and side-effect invariants cannot be averaged away. Record authority, insufficient-evidence outcomes, rollback, and follow-up. Load release-engineering when this evidence must be incorporated into artifact promotion, deployment, rollback, or a broader release train.
  7. Instrument production with minimized, redacted telemetry. Feed verified incidents and near misses into cases after consent, transformation, and contamination review.

Stop when the supported decision, evidence gaps, residual risks, and responsible owner are recorded. Escalate rather than infer a pass when required evidence is unavailable or conflicts.

Load By Need

NeedLoad
Compare task-relevant discovery, external artifacts, delegated consumption, or fresh-session recurrencereferences/agent-interface-enrichment.md
Choose evaluation evidence and contractsreferences/evaluation-design.md
Separate performance, diagnostic, and replay evidence; connect offline to online measuresreferences/evidence-modes-and-metric-mirrors.md
Build immutable cases, fixtures, and provenancereferences/datasets.md
Select or calibrate gradersreferences/graders.md
Validate judge stability, abstention, and escalationreferences/judge-stability.md
Evaluate grounded claims and attribute RAG failuresreferences/grounding-attribution.md
Define measures or compare runsreferences/metrics-and-statistics.md
Evaluate a bounded Choice/Score/Noul decision model or GLiNER classifier inside an agentsystem-one for its question contract, held-out labels, calibration where probabilities exist, and model-level latency; use this skill for the agent's end-to-end task and trajectory evidence
Review tools, state, recovery, or side effectsreferences/trajectory-review.md
Triage a regression or decide release readinessreferences/regression-and-release.md
Design traces, logs, metrics, or privacy controlsreferences/production-observability.md
Interoperate with OpenTelemetryreferences/opentelemetry-genai.md
Need framework-specific implementationreferences/framework-routing.md
Exercise the methodology with safe probesreferences/synthetic-scenarios.md
Benchmark an agent's Supabase task competence with the official harnesssupabase agent evals reference
Verify a source claim or statusreferences/source-index.md

Templates

Use templates/eval-plan.md, templates/interface-enrichment-comparison.md, templates/dataset-manifest.md, templates/grader-specification.md, templates/trace-review.md, templates/run-report.md, templates/release-gate.md, and templates/metric-mirror.md. They are decision records, not checklists that manufacture evidence.

Guardrails

  • Do not use a scalar score, keyword hit, schema validation, or repeated output as proof beyond the property it directly observes.
  • Do not capture prompts, outputs, tool arguments, intermediate reasoning, credentials, or personal data by default. Minimize before export, redact early, restrict access, set retention/deletion paths, and prepare incident response.
  • Do not treat human judgment as definitive truth. Human and model graders require explicit rubrics, calibration, disagreement analysis, and revalidation when conditions change.
  • Keep prevalence-oriented production samples separate from risk-enriched challenge cases. Do not silently reweight either into the other.

When Not To Use

Use systematic-debugging to investigate one active defect before proposing fixes. Use verification-methodology for general evidence-backed completion claims, secure-software-engineering to design preventive controls, and framework skills for SDK-specific code. To benchmark an agent's competence on Supabase tasks with the official scored scenarios, use the supabase agent evals reference — this skill covers methodology, not a named harness.

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.