ml-pipeline

ml-pipeline is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 110 tokens per session (1,356 once invoked), scanned A, original, Apache-2.0.

A machine-learning workflow for tabular CSV data, where rows contain features and a target label. It trains and compares Random Forest, Gradient Boosting, or Logistic Regression models, then reports accuracy, F1, ROC-AUC, and cross-validation results.

In plain words
What is it for?
Use it when features and labels are already prepared to train a model, compare these supported algorithms, evaluate predictions, and save a report or model output.
Why use it?
It packages the repeated steps of splitting data, training models, evaluating them, and tuning settings. This makes model comparisons more consistent without requiring a separate script for each experiment.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/ml_pipeline.py --data data/clean.csv --target label --model random_forest --cv 5.

Good fit Use it when features and labels are already prepared to train a model, compare these supported algorithms, evaluate predictions, and save a report or model output.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit
agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/ml-pipeline

Made for: Claude Code, Codex.

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 ml-pipeline

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/ml-pipeline/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/ml-pipeline)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/ml-pipeline"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/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 ml-pipeline

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/ml-pipeline"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/ml-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,356 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.
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.00110 $0.01356
Opus 5.5 $0.00044 $0.00542
Sonnet 5.5 $0.00022 $0.00271
Haiku 4.5 $0.00011 $0.00136

Measured 2mo ago against content hash 2eeefdba3a6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 2mo 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.

site/skills/programming/ml/ml-pipeline/SKILL.md · 126 lines

How it starts

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

ML Pipeline

Train → evaluate → tune → save the model.

Input Checklist

Input Required Description Default
data Yes Path to training data (CSV, with feature and label columns) —
target No Label column name label
model No random_forest / gradient_boosting / logistic random_forest
cv No Number of cross-validation folds 5
output No Write the report to a file stdout

When missing, ask for all at once: "Please provide: (1) data (a CSV path with features and labels). I'll run target/model/cv/output on defaults."

Pre-flight Checks

python3 --version
python3 -c "import sklearn, pandas, numpy; print('deps OK')"
test -f scripts/ml_pipeline.py && echo "OK script present"
  • Expected: a version number; deps OK prints; the script exists.
  • On failure: missing dependencies → pip install scikit-learn pandas numpy; the script is missing → STOP and report.

Workflow

Step 1: Load and split the data

  • Action: Read the CSV and split into train/test sets at 80/20.
python3 scripts/ml_pipeline.py --data data/clean.csv --target label --model random_forest --cv 5
  • Expected: the script loads the data, completes the split, and proceeds to training.
  • On failure: FileNotFoundError → wrong data path; KeyError → the target column doesn't exist.

Step 2: Train and cross-validate

  • Action: Train with --model and run --cv-fold cross-validation.
  • Expected: training completes and outputs cv_mean / cv_std.
  • On failure: data is empty or all-identical values → check the features; class imbalance → consider logistic or weighting.

Step 3: Evaluate and compare

Model Best for Speed
random_forest Tabular, mixed types Medium
gradient_boosting Tabular, accuracy-first Slow
logistic Binary classification, interpretable Fast
  • Action: Output test metrics (accuracy / F1 / ROC-AUC); when multiple models are used, compare them side by side.
  • Expected: the report contains train_accuracy / test_accuracy / f1 / cv_mean / cv_std.
  • On failure: metrics are suspiciously low → check for data leakage or feature quality; see metrics-explained.md.

Read the full file on GitHub · 126 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. 2mo ago Changed · -175 tokens per session 2eeefdba3a6e
  2. 2mo ago First seen · 126 lines · 285 tokens per session scan A 49de1f500fe9

Subscribe to this mod's changes

ml-pipeline is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 110 tokens to every session and 1,356 once invoked, about $0.0004 per session on Opus 5.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-09-19.

Related

ml-pipeline compared with skills from other repositories

ml-pipeline next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ml-pipelineMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A110Claude Code, Codex
flash-attentionNousResearch/hermes-agentSkill267ktodayMITA14Claude Code, Codex
open-sourcebrowser-use/browser-useSkill122ktodayMITA101Claude Code
simpoNousResearch/hermes-agentSkill267ktodayMITA13Claude Code, Codex
mle-workflowaffaan-m/ECCSkill313k7d agoMITA44Claude Code, Codex
ai-engineering-toolkitsickn33/agentic-awesome-skillsSkill51kyesterdayMITA47Claude Code
sglang-diffusion-cache-ditsgl-project/sglangSkill39ktodayApache-2.0A161Claude Code