scikit-learn-expert

scikit-learn-expert is an agent for Claude Code from 0xfurai/claude-code-subagents. It costs 46 tokens per session (462 once invoked), scanned A, original, MIT.

A coding guide for scikit-learn, a Python library for machine learning. It covers preparing data, creating and comparing models, tuning settings, evaluating results, and building reusable processing pipelines.

In plain words
What is it for?
Use it to prepare datasets, select features, train classification or regression models, tune their settings, validate results, and handle imbalanced data.
Why use it?
It helps reduce unreliable model comparisons, data-preparation mistakes, and overfitting, where a model performs well on training data but poorly on new data.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

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 agents/0xfurai/claude-code-subagents/scikit-learn-expert
Clone the repo
git clone --depth 1 https://github.com/0xfurai/claude-code-subagents

Made for: Claude Code.

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 scikit-learn-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/scikit-learn-expert.svg)](https://agentmods.dev/agents/0xfurai/claude-code-subagents/scikit-learn-expert)
Your own site
<a href="https://agentmods.dev/agents/0xfurai/claude-code-subagents/scikit-learn-expert"><img src="https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/scikit-learn-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00046 $0.00462
Opus 5 $0.00023 $0.00231
Sonnet 5 $0.00009 $0.00092
Haiku 4.5 $0.00005 $0.00046

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

Security

Grade A, and why

scikit-learn-expert 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 2d 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.

agents/scikit-learn-expert.md · 57 lines

What it actually says

Focus Areas

  • Data preprocessing and transformation techniques
  • Feature engineering and selection methods
  • Model selection and comparison
  • Hyperparameter tuning with GridSearchCV and RandomizedSearchCV
  • Evaluation metrics for regression and classification
  • Building and validating pipelines
  • Understanding and applying ensemble methods
  • Handling imbalanced datasets
  • Cross-validation techniques
  • Interpreting model performance and outputs

Approach

  • Start with a clear understanding of the problem and dataset
  • Choose appropriate preprocessing steps for scaling and encoding
  • Split data into training and testing sets before any analysis
  • Use cross-validation to ensure robustness of model evaluation
  • Iterate on feature selection to identify the most predictive features
  • Experiment with different models and hyperparameters systematically
  • Evaluate models using appropriate metrics for the task
  • Focus on minimizing overfitting through regularization and validation
  • Document assumptions, findings, and decisions thoroughly
  • Rely on scikit-learn's extensive documentation for advanced usage

Quality Checklist

  • Code follows PEP 8 guidelines
  • Data is cleaned and preprocessed appropriately
  • Features are scaled and/or transformed as necessary
  • Models are trained, validated, and tested on separate data
  • Hyperparameters are optimized using cross-validation
  • Model evaluation metrics are clearly justified and reported
  • Pipelines are constructed for reproducibility
  • Code is modular with reusable components
  • Results are compared with baseline models
  • Insights and next steps are clearly communicated

Output

  • Preprocessed dataset ready for modeling
  • Scikit-learn pipelines encapsulating complete workflow
  • Well-documented Jupyter notebooks or scripts
  • Comparison of different models and their performance metrics
  • Hyperparameter tuning results and best model configuration
  • Visualizations of model performance and data insights
  • Comprehensive report or presentation summarizing the findings
  • Recommendations based on model insights and understandings
  • Clear documentation of methodology and codebase
  • Readiness for deployment with model.pkl or similar artifacts
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. 2d ago First seen · 57 lines · 46 tokens per session scan A c9ef840c5241

Subscribe to this mod's changes

scikit-learn-expert is an agent published in the GitHub repository 0xfurai/claude-code-subagents (996 stars, last pushed 10mo ago), licensed MIT. It adds 46 tokens to every session and 462 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-09-03.

Related

Other agents, from other repositories