/probabl-skills:review-ml-experimentfrom probabl-skills
Reviews ML experiment results by reading stored reports, writing idea files and Ideas rows per candidate. Triggers after evaluate or on review commands.
Ships in probabl-skills. 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.
Read when SKILL.md points to them.
Optional loop step after evaluate. Record-outcome stays with the caller. This skill writes idea files and their Ideas rows. The stem is whichever experiment was reviewed. Check results were stored with the report, so the audit reads them.
Details: setup-workspace references/human_facing_prose.md.
Idea files describe this report and the follow-up — not skill
ids, cells run, or the wrapper CLI.
python -m skore_skills status and
python -m skore_skills review consent --stem <stem>. Treat
JSON action as authoritative.
stop — no scratch/results/<stem>/report.html. Name that
file and stop. Do not audit. Do not record-outcome.audit — report exists, digest does not. Load
audit-ml-pipeline when installed. That skill runs
materialize.py once and does not execute the audit file.proceed — digest already on disk. Do not re-run
materialize.py unless the user asked to re-audit. A
re-audit loads audit-ml-pipeline; that skill runs
materialize.py once.
Otherwise refresh idea files from the existing digest.n/a — audit not run and write no idea files. Do not open
the Project or call report.* here.Issues: / Tips: line.
A methodological gap the design note named and this run did
not test is another candidate. A user idea or a literature
query is not a candidate here: after this skill returns,
shape-user-idea or search-ml-literature writes that file
and its Ideas row when the user asks. Load research-ml-practice only if
status.skills.research-ml-practice is true and an audit or
design candidate needs sources; otherwise one-line skip. Do
not invent papers, metrics, or a winner.journal/ideas/<stem>-<slug>.md with Experiment, Source
(audit:<stem>:checks.<code> or design:<stem>), Triage
open, Question, Why now, What changes, Open gaps. No
acceptance criteria. For a check candidate, read the
documentation URL on that line and apply that page's
recommendation in What changes. On a refresh, keep an existing file's
Triage value and the matching Ideas status. A new candidate
is open.## Ideas row per file in journal/JOURNAL.md.
If that table is missing, insert it between History and
Backlog. Columns: Question, Status, Experiment, Source.
Question is the file's Question as plain text, not a link.
Status is open, discarded, or aside, matching Triage.
A promoted file has no Ideas row. Experiment is this run's
stem. Source is copied verbatim. Edit only that table.finding from
python -m skore_skills audit finding --stem <stem>, the
locator from python -m skore_skills loop locator --stem <stem>,
and the idea paths.proceed, do not re-run materialize.py unless the user
asked to re-audit.JOURNAL.md edit.skore.evaluate or project.put.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub probabl-ai/skore-skills --plugin probabl-skills26 skills in this plugin
/add-python-packageAdd a dependency through the project env manager, or ask the user when the environment is user-managed. Trigger when a workflow needs a missing import, after choose-python-library picks a library, or for editable install of src/<pkg>/.
SKIP choosing between competing libraries (choose-python-library owns that). SKIP bootstrapping a missing manager directly (setup-python-env). When env.managed is null, load setup-ml-project if it is installed.
HOW TO USE: read status.policy.env.managed, env detect, and env route. Classify this turn first (editable | add-skore | named package). If managed is null, load setup-ml-project and stop. If managed, env add --execute (or --editable). If unmanaged, ask; default is the user handles it — do not wait. When setup-ml-project already chose user-managed this turn, name the package and the manager, then return. Do not ask and do not wait. Never --execute while managed is false.
/audit-ml-pipelineAudit a persisted skore report read-only and produce a reusable digest. Do not execute it. Run `materialize.py` once. Never call `skore.evaluate` or `project.put`.
TRIGGER when a completed run needs an audit, the user asks to audit, show, or re-audit an experiment, a re-run overwrote the same `put()` key, or they want a narrative of a past experiment without `journal/ideas/` files.
STOP when `status.setup.pending` is non-empty (load `setup-ml-project`), or when there is no approved design, no report, or no agent feature: explain and send the user to setup, `evaluate-ml-pipeline`, or `model-ml-pipeline`. Also stop for raw-data exploration or sourcing a future experiment.
HOW TO USE: confirm journal, experiment, smoke, and report; place the file from `templates/audit.py`; copy `templates/materialize.py` to scratch; execute once; derive G-AUDIT-FINDING; then the continue-or-close gate. Resolve skore symbols with `api get`.
/build-ml-pipelineDeclare a skrub DataOps graph from the data source to the predictor after framing is locked. Stateless steps use `.skb.apply_func`. Stateful steps use `.skb.apply`. After the graph exists, attach the locked splitter and any non-default score. No fit, tune, persistence, or `skore.evaluate`.
TRIGGER when writing or editing any link from data source to predictor (loaders, preprocessing, features, composition, the final estimator), including a pure-Python function on that path, a step added or reordered, a bare `sklearn.Pipeline` as the top-level, or a request to build a pipeline, classifier, or regressor.
HOW TO USE: before the first declarative line and on every structural edit. Read the stops and emit Pre-flight before code. Confirm new names with `python -m skore_skills api get`.
/choose-python-libraryResolve a library choice and add the selected dependency. Trigger for competing-library questions or an optional package not already fixed by the project stack — at first use (tabular exploration, pipeline, or eval extras), never during workspace setup.
/evaluate-ml-pipelineEvaluate one sklearn-compatible learner with the locked validation scheme and persist structured skore reports. The splitter and any non-default score are already on the DataOp from `build-ml-pipeline`. This skill writes the call without `splitter=`, persists the report, and records the locator. When the locked split is the training table and test table that shipped with the data, fit on the training table, then pass `splitter="prefit"` with only the test table. When `model-ml-pipeline` dispatched this turn, return the locator. A standalone turn owns the evaluate-stage close.
TRIGGER when code calls `cross_val_score`, `cross_validate`, `classification_report`, `.skb.cross_validate`, or a handwritten metric print, or the user asks to score, evaluate, or run CV on one learner. Narrative reads of a persisted report belong to `audit-ml-pipeline`.
HOW TO USE: before any evaluation call. Resolve G-SKORE-MODE, read the stops, and emit Pre-flight before code. Confirm symbols with `python -m skore_skills api get`.
/explore-ml-dataExplore the dataset before designing any model. Place `data_analysis/data_analysis.py` and do not execute it. Run `materialize.py` once, write `data_analysis.md` and JOURNAL § Data understanding. Never design the model, edit `src/<pkg>/`, or modify raw data files.
TRIGGER when the user asks to explore, profile, or understand the data; triage sent them here (`status.data_analysis` missing); a data source changed; they want to refresh a recorded EDA; or leakage or research arises on a recorded EDA.
STOP when `status.setup.pending` is non-empty (load `setup-ml-project`), when there is no data (send to triage), the request is not raw-data exploration, or EDA is recorded with no refresh and no methodology concern. Do not invent a package root or a root `JOURNAL.md` while setup is pending.
HOW TO USE: G-TABULAR via `add-python-package`, infer or ask the targets, load `plot-ml-figure` if installed, then ask the five-option continuation board, including Close.
Other plugins' skills for the same job