/probabl-skills:manage-ml-backlogfrom probabl-skills
Records experiment outcomes and triages idea files in an ML backlog. Moves promoted ideas from Ideas to Backlog, records experiment outcomes in History, and supports model-entry selection mode for consuming backlog rows into proposals.
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.
Replace iterate-as-cadence. Do not own setup, exploratory data analysis, build, smoke, evaluate, or audit methodology.
Details: setup-workspace references/human_facing_prose.md.
JOURNAL rows, design-note Status / Results, and # comments
describe this experiment's outcome — not the skills framework,
the CLI, or the command that produced an output. Questions and
replies use the same data-science language — not skill ids, G-*
names, or the wrapper CLI. <!-- results-embed: … --> is a site
marker. Authoring hints stay in this skill. style is ruff only.
The CLI writes JOURNAL with sections in order: Status, Data
understanding, Modeling decisions, History, Ideas, Backlog.
History, Ideas, and Backlog start as header-only tables. Column
contracts stay here (Stem, Intent, Status, Headline result,
Report, Design note; Question, Status, Experiment, Source; #,
Item, Source). Do not put those contracts back into HTML comments
in the file.
When model-ml-pipeline calls with the backlog array from
python -m skore_skills model choices:
B<N>, present exactly those
rows in their returned order and AskUserQuestion for one pick.
One row, or a message that already names a B<N>, is the
pick: do not ask again. Carry each row's Item and Source as
the option context, and say in 2–4 lines what the pick
authorizes (a design note to approve) and what it does not
(no model code yet). A file link is an addition, never the
context. Do not rescan into a different menu and do not add
an idea.model-ml-pipeline. Do not ask to
confirm it. After the model stage creates and populates the
design note, remove only the selected Backlog row and add the
planned History row. Preserve every other stable B index.This mode does not require a report/audit digest and does not run
the outcome-recording procedure below. Empty Backlog is a routing
error: return to model-ml-pipeline; do not fabricate B1.
This mode is only a dispatch from model-ml-pipeline,
evaluate-ml-pipeline, or audit-ml-pipeline at that caller's
end of turn. A user saying the run finished, or "record it", is
a direct Procedure turn: record the outcome, then End of turn
(site build --if-stale when site policy is true, then
git end-turn --stage backlog). Do not treat that user request
as this mode.
When model-ml-pipeline, evaluate-ml-pipeline, or
audit-ml-pipeline calls at end of turn with the normalized
G-REPORT-LOCATOR, optional headline, and G-AUDIT-FINDING. This is
the only path that records an outcome without a full backlog turn.
Audit may have been skipped; the locator remains required and the
finding becomes n/a — audit not run. If the caller omitted the
locator, run python -m skore_skills loop locator --stem <stem>
and paste JSON locator. If it omitted the finding, run
python -m skore_skills audit finding --stem <stem> (stop →
n/a — audit not run / n/a — audit digest unavailable). Do not
rephrase either string.
Run Procedure steps 1-3 and nothing else:
python -m skore_skills status; require an approved
stem.journal/JOURNAL.md; scaffold the index if it is
missing.State or Approved by user on. Also refresh the journal/JOURNAL.md Status rows
Last experiment and Last result. Insert or replace
## Results between Status and Notebooks from digest text, not
HTML. ### Metrics is a heading only.Then return to the caller. Do not read journal/ideas/, do not
edit the Ideas table, and do not open the idea-triage menu — the
caller did not ask what to try next.
Do not dispatch audit-ml-pipeline in this mode; the digest is
already in hand and dispatching would bounce back here. Do not run
this skill's End of turn either: the caller owns convert / site /
git end-turn and the User-facing close. This mode writes
History; it does not replace the caller's chat close.
The Procedure guards still bind. Never mark done while smoke is
red, and never invent a metric — no digest and no user-supplied
value means use n/a, not a guess. Never construct a missing
backend URL. Record n/a — backend did not expose a locator in
both markdown destinations when the digest has no authoritative
locator.
python -m skore_skills status. When recording a done
outcome, run
python -m skore_skills design consent --stem <stem>.
ask / stop → do not mark done. Also require green smoke
evidence and a normalized report locator. An audit digest is
optional. G-AUDIT-FINDING is required as one of: the value
returned by audit, n/a — audit not run, or
n/a — audit digest unavailable.journal/JOURNAL.md History and Backlog. If the index is
missing, run python -m skore_skills scaffold --journal. Do
not write or paste the file. The CLI writes sections in order:
Status, Data understanding, Modeling decisions, History, Ideas,
and Backlog. If that command cannot run this turn, name it and
stop. After the file exists, edit the existing History and
Backlog tables (columns: Stem, Intent, Status, Headline result,
Report, Design note; and #, Item, Source). Ideas columns are
Question, Status, Experiment, Source; triage owns that table.
A planned History row uses n/a in Report. Stable B<N>
indices. Do not renumber on removal. Record-outcome does not
edit Ideas.done with
headline n/a. Update the
matching History row (planned → done only if smoke passed
and a headline result exists).
Headline metric remains the source for History and Last result;
never substitute G-AUDIT-FINDING for performance. Copy the
digest's persisted-report locator into the History Report
cell and the design note's Persisted report Status line.
Paste that string verbatim; do not paraphrase it as
"normalized" or rewrite the Hub URL. If
the digest has none, write
n/a — backend did not expose a locator in both places; do not
derive or guess a URL. Copy G-AUDIT-FINDING verbatim into the
design note's Audit findings line. Audit skipped →
n/a — audit not run; missing/errored digest →
n/a — audit digest unavailable. The Status update copies
Headline result, Persisted report, and Audit findings. Do not
change State or Approved by user on. Then insert or replace
## Results in the design note, between ## Status and
## Notebooks. Summarize from the audit digest — its cell
outputs carry repr(report), ## Checks summary, and
## Metrics summary as text. With no audit this turn, fall back
to scratch/results/<stem>/report.txt, which evaluate writes.
Write ### Report overview from the report text, then
### Checks when that section exists. ### Metrics is a heading
only when ## Metrics summary exists: do not transcribe the
metric table or its values. The site embeds
scratch/results/<stem>/metrics.html under that heading. History
and Last result still get the single headline metric.
Evaluation-only (audit skipped): Report overview only — do not
invent Checks or Metrics subsections. After Metrics, add one
### subsection per extra Display cell the audit appended, using
a human title and a <!-- results-embed: <slug> --> comment with
the accessor name as <slug> so site build can inject the
viewer. Report overview, Checks, and each extra subsection are
2–4 sentences from that cell's output. Do not copy
G-AUDIT-FINDING, do not parse *.html, and do not paste iframes
(site build injects those). Do not add
<!-- results-embed: audit -->. The audit notebook viewer is
audit/<stem>.nb.html, which site build places under
## Notebooks. If no subsection has a source, skip the Results
section.journal/ideas/*.md and the Ideas table. If ## Ideas is
missing, insert that header-only table between History and
Backlog. Do not rewrite the other sections. A file's
Triage line is open, promoted, discarded, or
aside. A missing line is open. An open file whose
Question and Source already match one Backlog row is set to
promoted without asking, its Ideas row is removed, and no
duplicate row is appended. Match both fields so two user
ideas do not collapse. An open file with no Ideas row gets
one: Question as plain text, Status open, Experiment from
the file, Source copied verbatim. Ask the other open
files: promote / discard / set aside. Write that value on
the Triage line and keep the file. Promote removes that
Ideas row and appends a stable B<N> row (Item from
Question, Source copied verbatim) and sets promoted.
Discard sets discarded on the file and the Ideas row and
adds no Backlog row. Set aside sets aside on the file and
the Ideas row and adds no Backlog row. A promoted idea is
absent from Ideas. promoted, discarded, and aside
leave the default queue; a later pass does not ask about
them. Do not create a design note here. Do not delete an
idea file. Changing Triage does not remove or renumber a
Backlog row. An empty folder is a one-line skip: there are
no idea files to triage, and it does not fabricate B1.
When no file is open and tagged files remain, say in one
line how many are promoted, discarded, and set aside, and
offer to revisit. Do not retag until the user picks a file.
On revisit, the same three choices apply. Promoting then
appends B<N> only when that Question and Source are not
already a row, and removes the Ideas row. The only other
follow-up is offering to shape an
idea or search the literature when those skills are
installed. Do not load either skill, and do not start
a search or a shaping menu, until the user picks one. Missing
skill → one-line skip; do not invent that skill's search or
shaping steps. After the user picks, that skill writes the idea
file and returns here; triage the new file in this same mode.
When the user picks an existing B<N> to draft, return that
row to model-ml-pipeline, which can create its design-note
shell with
python -m skore_skills scaffold --journal --stem <NN_short_name>.
Do not draft that template in this backlog turn.model-ml-pipeline is required.
Do not ask Yes / No on that proposal.State or Approved by user on.
Record-outcome copies Headline result, Persisted report, and
Audit findings.scratch/results/<stem>/*.html when writing
## Results. Summarize Report overview and Checks from the
digest, or from report.txt on the evaluation-only path.
### Metrics is a heading only.JOURNAL.md body or recreate the index from
memory.done while smoke is red.Triage line
and moves or updates its Ideas row.model-ml-pipeline; this skill only
returns a proposal or selected Backlog row.Direct turns reach here, including a user request to record a finished run. Dispatched record-outcome mode returns before this section.
If policy.site is true, export-ml-site is installed, run
python -m skore_skills site build --if-stale. Do not run
notebook convert. Skip
in one line otherwise. If site build errors with
mkdocs-material is required, load add-python-package for
mkdocs-material (agent) and build once more. Do not
pixi add / uv add. If that skill is missing, or the retry
still fails, name the error in one line. Name a build error;
do not fail the backlog turn.
Run python -m skore_skills git end-turn --stage backlog. If JSON
action is invoke, load persist-ml-git only if
status.skills.persist-ml-git is true and stop; that skill
returns to triage. If persist is missing, name the pending
staged paths and stop. Otherwise load triage-ml-task only if
status.skills.triage-ml-task is true; else stop. Do not run
git commit in this skill.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
26 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`.
npx claudepluginhub probabl-ai/skore-skills --plugin probabl-skillsOther plugins' skills for the same job