Skip to content
cccskills
FreePublished on GitHub

ml-failure-audit

General workflow for auditing ML CI failures, experiment regressions, training run failures, golden metric failures, and telemetry-backed ML work-product claims from local repositories, logs, metrics, configs, and artifacts. Use when Codex needs to decide whether an ML failure is a model/convergence issue, correctness bug, data/config issue, infrastructure/runtime issue, evaluation/gating policy issue, or unsupported claim, and produce structured evidence-backed outputs.

The English summary is being prepared. Showing the original description.

See how to install

Files included (5)

  • SKILL.md3.7 KB
  • agents/openai.yaml217 B
  • references/output_guidance.md1.4 KB
  • references/workflow.md2.7 KB
  • scripts/collect_failure_evidence.py3.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

ML Failure Audit

Purpose

Audit ML failures from supplied artifacts without assuming the headline explanation is true. Use this skill when the user provides a repo, logs, W&B/MLflow/TensorBoard exports, CI artifacts, config files, or reports and asks for a diagnosis, go/no-go decision, or structured output.

Core Workflow

  1. Locate evidence

    • Find the repo root, log files, metric exports, configs, test definitions, golden values, and any requested output schema.
    • Treat raw logs, raw telemetry, configs, and source code as higher-trust than reports, PR text, summaries, or generated JSONs.
  2. Classify the failure

    • Separate model/convergence signals from correctness, data, config, runtime, infra, and metric-policy signals.
    • Do not label a failure as model/convergence regression when only a performance, timeout, logging, or tolerance gate failed and correctness/loss checks passed.
  3. Recompute key facts

    • Extract the failing metric/test, passed checks, final run state, key training counters, and relevant metric values.
    • Recompute numeric claims directly from raw artifacts when possible.
    • Record formulas for derived values such as throughput, relative error, finish rate, loss deltas, or token counts.
  4. Trace code paths

    • Identify how the repo selects metrics/tests and how comparisons are made.
    • Cite exact source files and, when useful, function names or line snippets.
  5. Make a decision

    • State whether this is a true ML regression, system correctness bug, infra/runtime issue, data/config issue, metric-policy issue, or unsupported claim.
    • Recommend the minimal policy or engineering action that protects correctness without over-blocking valid runs.
  6. Write outputs

    • Follow the task's requested schema exactly.
    • If no schema is given, write a concise report with: evidence, classification, calculations, recommendation, and validation checks.

Guardrails

  • Do not run expensive GPU training unless the user explicitly requests it.
  • Do not clone remote repos when a local checkout is supplied.
  • Do not trust prose summaries until verified against raw artifacts.
  • Do not infer OOM, convergence, stability, or success from missing logs alone.
  • If the task asks for a file output, create the file; do not only answer in chat.

Helper Script

Use scripts/collect_failure_evidence.py for a quick first pass over a repo and logs:

python3 <skill_dir>/scripts/collect_failure_evidence.py \
  --repo <repo-root> \
  --logs <log1> <log2> \
  --out <output.json>

The script is intentionally generic. It extracts failure lines, pass lines, metric-looking lines, config/source candidates, and nearby context windows. Use it to accelerate evidence gathering, not as the final diagnosis.

References

  • Read references/workflow.md for the detailed audit checklist and failure taxonomy.
  • Read references/output_guidance.md when the user asks for structured JSON or a file deliverable.

Short Prompt Pattern

Use a short realistic task prompt like:

Use $ml-failure-audit to audit this ML CI failure from the provided repo and logs. Decide whether it is a real training regression or a gate/policy issue, and produce the requested output files.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Design, analyze, and document A/B tests for conversion, onboarding, pricing, lifecycle, and product experiments. Use when the user asks for `/ab-test-setup`, experiment design, sample size, statistical significance, A/B test analysis, ICE-scored test backlogs, or avoiding common testing mistakes.

The English summary is being prepared. Showing the original description.

eigent-ai/agent-skills24Updated Oct 14, 2026

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

The English summary is being prepared. Showing the original description.

eigent-ai/agent-skills24Updated Oct 14, 2026

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

The English summary is being prepared. Showing the original description.

eigent-ai/agent-skills24Updated Oct 14, 2026

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

The English summary is being prepared. Showing the original description.

eigent-ai/agent-skills24Updated Oct 14, 2026

Transform git commit history into polished user-facing changelogs and release notes. Use when the user wants a CHANGELOG.md from a version tag or date range, weekly product updates, app store release notes, or Keep a Changelog formatted output with internal noise filtered out.

The English summary is being prepared. Showing the original description.

eigent-ai/agent-skills24Updated Oct 14, 2026

Full legal plugin suite for commercial contract review, privacy/DPA analysis, and AI governance vendor reviews. Use when the user invokes /commercial-legal:review, /privacy-legal:dpa-review, /ai-governance-legal:vendor-ai-review, renewal tracking, DSAR responses, or EU AI Act triage.

The English summary is being prepared. Showing the original description.

eigent-ai/agent-skills24Updated Oct 14, 2026

See all skills by eigent-ai

Report a problem with this skill