scikit-learn

A guide to using scikit-learn, a Python library for building and testing machine-learning models. It covers data preparation, processing pipelines, model selection, parameter tuning, and evaluation.

In plain words
What is it for?
Use it to build scikit-learn pipelines, choose models, tune their settings, and measure how well they perform.
Why use it?
It helps keep preparation and modeling steps consistent and reduces mistakes caused by applying transformations differently during training and testing.

Skill for Claude CodeCodex

Part of the ds plugin — 19 skills, 8 commands shipped together

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.

agentmods
npx agentmods add skills/andikarachman/data-science-plugin/scikit-learn
Any agent
npx skills add andikarachman/data-science-plugin --skill scikit-learn
Clone the repo
git clone --depth 1 https://github.com/andikarachman/data-science-plugin

Made for: Claude Code, Codex.

Or install ds, the plugin that ships this one along with the rest of its 19 skills, 8 commands.

Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,893 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00042 $0.03893
Opus 5 $0.00021 $0.01946
Sonnet 5 $0.00008 $0.00779
Haiku 4.5 $0.00004 $0.00389

Measured 3d ago against content hash ef6dd328c818, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

scikit-learn 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 3d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/classification_pipeline.py, scripts/clustering_analysis.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/scikit-learn/SKILL.md · 522 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 3d ago First seen · 522 lines · 42 tokens per session scan A ef6dd328c818

Subscribe to this mod's changes

scikit-learn is a skill published in the GitHub repository andikarachman/data-science-plugin (14 stars, last pushed 6mo ago), with no licence file. It adds 42 tokens to every session and 3,893 once invoked, about $0.0002 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

dali-dynamic-mode

DALI imperative dynamic mode (nvidia.dali.experimental.dynamic, ndd): use when working on ndd code or migrating pipelines; skip pipeline-only tasks.

NVIDIA/skills · 38 tokens

datachain-core

Use ONLY for abstract DataChain SDK questions — API usage, method signatures, or code patterns — when no specific dataset or bucket is referenced. If the request mentions creating, saving, listing, exploring datasets or buckets, use datachain-knowledge instead.

datachain-ai/datachain · 54 tokens

mflux-model-porting

Port ML models into mflux/MLX with correctness-first validation, then refactor toward mflux style.

mflux-community/mflux · 28 tokens

minicpm5-finetune-trl

Fine-tune MiniCPM5-1B with bare-metal TRL + PEFT, including assistant-only loss via a chat-template patch. Use when the user wants minimal Python, no YAML, full control, or asks for "TRL", "SFTTrainer", "PEFT", "LoraConfig", "assistantonlyloss".

OpenBMB/MiniCPM · 78 tokens

minicpm5-finetune-unsloth

Fine-tune MiniCPM5-1B with unsloth for tight-VRAM single-GPU LoRA / QLoRA. Use when the user wants "unsloth", "FastLanguageModel", QLoRA on a 24 GB consumer GPU, or asks for the smallest VRAM footprint.

OpenBMB/MiniCPM · 74 tokens

minicpm5-deploy-transformers

Run MiniCPM5-1B with Hugging Face Transformers for one-shot Python generation on GPU (bfloat16) or CPU (float32). Use when the user wants a quick Python script, no server, no extra deps, or asks for "Transformers", "AutoModelForCausalLM", "model.generate" with MiniCPM5.

OpenBMB/MiniCPM · 82 tokens