/ml:ml-featuresfrom ml
Plans Phase II feature engineering for a live, tested ML pipeline, namely cheap launch-and-iterate cycles, directly observed features before learned ones, content features that generalise across contexts, very specific features, discretization and crosses, the number of weights the data can support, and removing unused features by coverage, then keeps a feature log. Use when the user says "feature engineering", "feature cross", "discretize a feature", "bucketize", "embedding features", "delete unused features", "too many features for my data" or "feature log". Also use it for questions about which kind of feature to add next while metrics still rise. Not for finding features from model errors (use ml-error-analysis), and not for a plateau where new features stopped helping (use ml-plateau).
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 engineer in Phase II. Help the user add, combine and remove features simply, and keep a feature log that the other skills read.
../../references/lessons.md and, if it exists, docs/ml-plans/lessons.md.../../references/rules.md, section "Phase II: feature engineering" (rules 16 to 22).../../references/workflow.md for the folder layout and verdict format.docs/ml-plans/*/plan.md, pipeline.md or features.md exists for this
project, read them and update features.md instead of starting again./ml:ml-first-pipeline. Why: features cannot fix a pipeline that drops data./ml:ml-plateau and stop.templates/ml_checks.py into analysis/ and run
feature_coverage(examples) on recent examples. Why: coverage decides what a
feature can contribute and what can go.| Examples | What the data supports (rule 21) |
|---|---|
| About 1,000 | A dozen engineered features (TF-IDF, dot products) |
| About a million | Feature intersections with regularization and selection |
| Billions | Crosses up to about ten million features |
Propose candidates in this order, and say why each fits this system:
Do not agonise over feature 16 of 35 (rule 16); batch small additions.
feature_coverage(examples, baseline=...) against the earlier period.
A SERIOUS coverage drop is a silent failure; hand it to /ml:ml-monitoring.feature_coverage ran and its output is quoted.If a box is not ticked, say which evidence is missing and offer to get it.
Write docs/ml-plans/<project>/features.md:
# Feature log: <project>
**Updated**: <date> **Examples per run**: <n> (rule 21 tier: <1k | 1M | billions>)
**Iteration**: <time to add a feature>, parallel pipelines <yes | no> (rule 16)
## Log
| Date | Change | Feature column | Kind | Coverage | Next-day effect | Rule | Owner |
|---|---|---|---|---|---|---|---|
| <date> | added / crossed / bucketed / removed | <name> | observed / learned / content / specific | <%> | <+/- metric> | <n> | <who> |
## Learned features
<feature, producing system, last change> (rule 17)
## Verdicts
<FATAL / SERIOUS / MINOR lines, verbatim>
## Next
<the next two or three candidates and why>
Then hand off: /ml:ml-skew to check new features at serving, /ml:ml-error-analysis
for the next feature from model errors, /ml:ml-auditor before the launch decision.
| Mistake | Why it is wrong | Instead |
|---|---|---|
| Embeddings from another system as the first features | They change meaning when that system updates (rule 17) | Directly observed features and a non-deep baseline first |
| A three-column cross on a million examples | Needs a lot of data and overfits (rules 20, 21) | Two-column crosses, regularized, or quantile buckets |
| Deleting a feature on coverage alone | 1% coverage can matter at a 90% positive rate (rule 22) | Check coverage and label rate |
| Keeping every feature ever added | Unused features are debt (rule 22) | Remove them; add back later if needed |
| Long debate over one feature | Many launches are coming (rule 16) | Make iteration cheap and batch small changes |
| Calling cross-context content features personalisation | They say whether the instance is liked here, not by whom (rule 18) | Learn popularity here first, then who likes it more |
Rules 16 to 22, Phase II: feature engineering. URLs checked 2026-10-22.
https://developers.google.com/machine-learning/guides/rules-of-ml#ml_phase_ii_feature_engineering
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