test-ml-pipeline

test-ml-pipeline is a skill for Claude Code from probabl-ai/skills. It costs 401 tokens per session (2,576 once invoked), scanned A, original, BSD-3-Clause.

A test-workspace guide for machine-learning projects. It checks that each test is tied to an approved design note and its matching experiment, then sends the work to the right test category.

In plain words
What is it for?
Use it when adding or organizing smoke tests and other test categories in an ML workspace. It helps enforce the expected files and pairing between journal notes, experiment scripts, and tests.
Why use it?
It prevents tests from being created without the experiment and documented decision they belong to. It also keeps different kinds of ML tests under separate owners.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the skills plugin — 14 skills shipped together

Good fit Use it when adding or organizing smoke tests and other test categories in an ML workspace. It helps enforce the expected files and pairing between journal notes, experiment scripts, and tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/probabl-ai/skills/test-ml-pipeline
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add probabl-ai/skills --skill test-ml-pipeline
Clone the repo
git clone --depth 1 https://github.com/probabl-ai/skills

Made for: Claude Code.

Or install skills, the plugin that ships this one along with the rest of its 14 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for test-ml-pipeline

README.md
[![agentmods](https://agentmods.dev/badge/skills/probabl-ai/skills/test-ml-pipeline/github.svg)](https://agentmods.dev/skills/probabl-ai/skills/test-ml-pipeline)
Your own site
<a href="https://agentmods.dev/skills/probabl-ai/skills/test-ml-pipeline"><img src="https://agentmods.dev/badge/skills/probabl-ai/skills/test-ml-pipeline/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for test-ml-pipeline

Your own site · 80×15
<a href="https://agentmods.dev/skills/probabl-ai/skills/test-ml-pipeline"><img src="https://agentmods.dev/badge/skills/probabl-ai/skills/test-ml-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 401 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,576 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00401 $0.02576
Opus 5 $0.00200 $0.01288
Sonnet 5 $0.00080 $0.00515
Haiku 4.5 $0.00040 $0.00258

Measured 10d ago against content hash 8b18dd19268e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

test-ml-pipeline scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/test-ml-pipeline/SKILL.md · 218 lines

How it starts

The opening of the file, as written. The whole thing — 218 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Test ML Pipeline (router)

Where tests for an ML workspace live, what gets paired with what, and which subskill owns the body of each test category.

First action (every turn)

Before answering anything else:

  1. Confirm an approved design note exists for the test the user is asking about. The pairing rule is hard: tests/<category>/test_NN_<short_name>.py only exists if journal/NN_<short_name>.md is at least approved and experiments/NN_<short_name>.py is the matching script. If the design note doesn't exist, hand back to iterate-ml-experiment.
  2. Emit the Pre-flight checklist (below) as visible text in your response, with each box marked.
  3. Use the Dispatch table to pick the subskill that owns the test category, then hand off.

Pre-flight — emit this checklist as visible text before any test work

Pre-flight (test-ml-pipeline):
- [ ] `journal/NN_<short_name>.md` exists and is at least `approved`
      (or confirmed n/a — about to hand off to `iterate-ml-experiment`)
- [ ] `experiments/NN_<short_name>.py` exists with the matching stem
      (or confirmed n/a — about to hand off to `organize-ml-workspace`)
- [ ] Test category picked: smoke | regression | distribution | …
- [ ] Subskill dispatched: `smoke-test-ml-pipeline` | …
- [ ] Test file stem decided: `tests/<category>/test_NN_<short_name>.py`
- [ ] pytest is on the project's dependency manifest (per
      `data-science-python-stack` § Tier 1)

Stop conditions — read before anything else

  • No test without an approved design note. Never create tests/<category>/test_NN_*.py if the matching journal/NN_*.md isn't on disk and at least approved. The design note is the contract; the test asserts the contract holds. Reverse order is incoherent.
  • The stem rule is hard. Test file basename is test_NN_<short_name>.py (with the test_ prefix that pytest expects); the NN_<short_name> portion matches the experiment exactly. One experiment → one test file per category. No test_<NN>_v2.py, no test_NN_<short_name>_2.py. If a test needs to evolve, edit it in place; the pairing must stay 1:1.
  • One subskill per category. This skill only places the empty test file and hands off. Don't write assertion bodies, fixture construction, or test-specific logic in this skill — that belongs to the matching subskill (smoke-test-ml-pipeline, etc.).
  • pytest is the runner. Tests are pytest tests, not jupytext-style # %% scripts. The experiment scripts live in experiments/ and stay # %%-style for interactive iteration; the tests are binary pass/fail and benefit from pytest's reporting. Don't mix the two conventions.

Read the full file on GitHub · 218 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 218 lines · 401 tokens per session scan A 8b18dd19268e

Subscribe to this mod's changes

test-ml-pipeline is a skill published in the GitHub repository probabl-ai/skills (122 stars, last pushed 23d ago), licensed BSD-3-Clause. It adds 401 tokens to every session and 2,576 once invoked, about $0.0020 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

test-driven-development

Drives development with tests using the red-green-refactor loop. Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality.

addyosmani/agent-skills · 57 tokens

skillshare-implement-feature

Implement a feature from a spec file or description using TDD workflow. Use this skill whenever the user asks to: add a new CLI command, implement a feature from a spec, build new functionality, add a flag, create a new internal package, or write Go code for skillshare. This skill enforces test-first development…

runkids/skillshare · 114 tokens

create-custom-grader

Use when converting an existing benchmark, rubric, verifier, task YAML/JSON, or domain check into SkillEvaluator BYOG/BYOT custom evaluation.

NVIDIA/SkillEvaluator · 35 tokens

story-origin-check

Recover the first public timestamp and canonical major coverage for a newsjacking signal, then decide whether newer coverage is the same story, a different story, or a materially new development.

elvisun/newsjack · 40 tokens

prompt-proximity-architecture

Turn an approved measurement charter, ICPs, and buyer jobs into a budget-aware prompt coverage blueprint across proximity bands, aided status, information acts, journey states, roles, locales, evidence grades, partitions, and measurement lanes. Use before prompt wording to define required, optional, and prohibited…

elvisun/newsjack · 67 tokens

xdto-validate

A validator for XDTO packages in 1C:Enterprise. It checks the package model, its metadata object, and its connection to the configuration.

Nikolay-Shirokov/cc-1c-skills · 34 tokens