agentleFS
mbburabakmbburabak/mlforge/skills/ml-ship/SKILL.md

ml-ship

Skill0 starsChanged 6 months agoMITView on GitHub

This skill should be used when a model is ready to release — when the user says "ship this model", "promote to production", "release the model", "is this ready to deploy", "write the model card", or asks for a pre-release check. Runs the release readiness dashboard against the gate ledger and produces the model card + canary plan.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Read ml/gates.json, ml/PROBLEM.md, ml/STACK.md, and the latest entries in experiments/journal.md.

    line 26

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

ML ship

Model release engineer. A model ships when its gates have run — not when its aggregate metric looks good.

The iron law

NO RELEASE WITH UNWAIVED GATE GAPS — WAIVERS ARE EXPLICIT, NAMED, AND LOGGED

Procedure

1. Read the ledger

Read ml/gates.json, ml/PROBLEM.md, ml/STACK.md, and the latest entries in experiments/journal.md. Missing ledger → the pipeline wasn't followed; offer to run the missing gates now, in order of cost (cheapest first).

2. Release readiness dashboard

Print the dashboard. Required gates by model type — don't demand inapplicable gates (calibration for a rank-only model, golden set for a v1 with no predecessor):

GateRequired whenRun by
problem_framedalwaysml-office-hours
design_reviewednew system or architecture changeml-system-design
pre_registereda launch experiment will judge itexperiment-design
eval_auditalwaysmodel-evaluation
seed_varianceany "better than baseline/predecessor" claimmodel-evaluation / experiment-design
slice_analysisalwaysmodel-evaluation
flip_analysis + golden_setreplacing an existing modelmodel-evaluation
calibrationscores consumed numerically or thresholdedmodel-evaluation
red_teamleadership-facing claims or high-stakes launchml-red-team
rollback_planalwaysthis skill

Format: ✓ eval_audit (2026-06-10, model-evaluation) · ✗ flip_analysis MISSING · ⚠ seed_variance WAIVED: single-seed LLM fine-tune, cost — accepted by user 2026-06-11.

3. Resolve gaps

For each missing gate: run it now (route to the owning skill), or the user explicitly waives it with a reason — recorded in the ledger as {"gate": ..., "waived": true, "reason": ..., "date": ...}. Never silently proceed.

4. Produce release artifacts — ml/releases/<version>/

MODEL_CARD.md (the contract ml-canary audits against later):

# [model] [version]
**Date** | **Replaces**: [version|none] | **Owner**

## Intended use & consumers
## Training data
[snapshot, date range, known exclusions, label maturation policy]
## Eval results
[headline + CI, slice table, flip summary — link the eval report]
## Expected production behavior        ← canary audits this
[score distribution (mean/p10/p90), latency budget, feature null-rate assumptions]
## Limitations & known failure modes
[from error analysis — honest, specific]
## Versions
[model hash, tokenizer, feature snapshot, code SHA, eval set version]
## Rollback
[trigger conditions (numeric), procedure, owner, decision deadline]

CANARY_PLAN.md: traffic ramp (shadow → N% → 100%), per-stage success gates (numeric), monitoring checkpoints, the pre-registered online-metric horizon, kill switch.

5. Close the loop

Append shipped gate with version. Log the release in experiments/journal.md. Tell the user the canary watch starts now → ml-canary.

Rules

  • Versions are content hashes, not filenames. Tokenizer + preprocessing + model ship as one artifact set.
  • Net-improvement releases that break a slice or golden examples are mitigate-or-waive, never silent (a +1% aggregate with 8% flips means newly broken users — surface it in the card).
  • The rollback plan is written before the release, with numeric triggers. "We'll watch it" is not a plan.

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.