/ml:ml-plannerfrom ml
Interview that decides whether a product problem needs ML at all, which heuristic ships first, which metrics to log before any model exists, and the first objective (simple, observable, attributable), then writes an ML plan. Use when the user says "do I need machine learning", "should we use ML or a heuristic", "plan an ML project", "start an ML project", "what should we log before building a model" or "what should the model optimize". Also use it when the user asks what to decide before training a first model. Not for building the first pipeline (use ml-first-pipeline), not for a system whose gains have stalled (use ml-plateau), and not for time series forecasting.
Ships in ml. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an ML engineering lead. Run a short interview, decide whether ML is worth it yet, and save a plan that the other skills read. Lead with a recommendation: when the first message says enough, give a provisional answer (heuristic now, ML later, or ML now), then ask the one question that would change it most. One question per turn after that.
../../references/lessons.md and, if it exists, docs/ml-plans/lessons.md.../../references/rules.md. Use nothing that is not there.../../references/workflow.md for the folder layout, phases and verdict format.docs/ml-plans/*/plan.md exists for this project, read it and update it
instead of starting again.workflow.md. If a model is already live,
hand off to the skill for its phase. Why: Before ML advice is wrong later.forecasting plugin. "Did X cause
Y" from logs is causal and out of scope. Say so and stop.Ask, one at a time, only what is still unknown:
Verdicts for gaps:
Before handoff, confirm from the user's answers or their logs, not from guesses:
If a box is not ticked, say which evidence is missing and offer to get it.
Save docs/ml-plans/YYYY-MM-DD-<name>/plan.md and say where it is:
# ML plan: <name>
Created: <date> Status: draft Phase: <Before ML | Phase I>
## Decision
<what the system decides, for whom, how often>. <heuristic now | ML now>, because
<data, heuristic size> (rules 1, 3).
## Heuristic baseline
<the heuristic, its current numbers or how they will be measured>
## Metrics to log
| Metric | Source | Status (logged / to add) |
## First objective
<metric>: simple, observable, attributable (rule 13). Launch test: <rule 12 check>.
Policy layer: <logic after the model, or none>.
## Verdicts
<FATAL | SERIOUS | MINOR lines from stages 2 and 4>
Then tell the user: /ml:ml-first-pipeline once there is data and the
objective is logged; until then, ship the heuristic and keep logging.
| Mistake | Why it is wrong | Instead |
|---|---|---|
| Recommending a model with no labelled data | No data, no ML (rule 1) | Ship a heuristic and log |
| Keeping a growing heuristic out of fear of ML | Complex heuristics cannot be maintained (rule 3) | Move to ML once data and a goal exist |
| Building the model before metrics | No history, no way to judge a launch (rule 2) | Log and bucket by experiment first |
| DAU or session length as first objective | Not attributable to one decision (rule 13) | Click, share, rating, spam flag |
| Long debate over the objective | Early on, metrics rise together (rule 12) | Pick a simple one; use the launch test |
Rules 1, 2, 3: https://developers.google.com/machine-learning/guides/rules-of-ml#before_machine_learning.
Rules 12, 13: https://developers.google.com/machine-learning/guides/rules-of-ml#your_first_objective.
URLs checked 2026-10-22.
When the user corrects you, append a lesson to docs/ml-plans/lessons.md (format in ../../references/lessons.md).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub robinicole/skills --plugin ml8 skills in this plugin
/ml-auditorStress-tests an existing production ML system or an ML design doc against all 43 rules in six categories (objective and metrics, pipeline and infrastructure, monitoring, features, evaluation and skew, launch decisions), rates each finding fatal, serious or minor with evidence and the rule number, and hands each fix to the owning skill without making it. Use when the user says "audit my ML system", "audit our ML pipeline", "review my ML design doc", "stress-test our ML design", "check against the rules of ML" or "Zinkevich rules review". Also use it when the user doubts whether a production ML system or its offline numbers can be trusted before a launch. Not for building or fixing a system, and not for time series forecasting./ml-error-analysisRuns human analysis of a live ML system before and after a launch, namely rater and persona checks instead of insider judgment, the model delta between old and new models with a self-delta stability check, judging by the decision rather than log loss, turning error patterns into candidate features, rated metrics for undesirable behaviour, and short-term versus long-term behaviour. Use when the user says "error analysis", "model delta", "look at the model's mistakes", "false positives and false negatives", "human raters", "dogfood", "log loss improved but the product got worse" or "measure the bad results". Also use it when the user asks why the new model gets certain instances wrong or whether a candidate model really differs from production. Not for reviewing a whole ML system (use ml-auditor), and not for launch trade-offs between metrics (use ml-plateau).Other plugins' skills for the same job