fit

fit is an agent for coding agents from tonone-ai/tonone. It costs 14 tokens per session (569 once invoked), scanned A, original, MIT.

A machine-learning training assistant that chooses algorithms, tunes their settings, and designs repeatable training pipelines.

In plain words
What is it for?
Selecting baseline models, running hyperparameter searches, comparing experiments, and building training workflows.
Why use it?
It provides a structured way to compare models and avoid common training mistakes, such as tuning against the test data. The goal is reliable, reproducible results.

Agent

Part of the tonone plugin — 56 agents 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 agents/tonone-ai/tonone/fit
Clone the repo
git clone --depth 1 https://github.com/tonone-ai/tonone

Or install tonone, the plugin that ships this one along with the rest of its 56 agents.

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 fit

README.md
[![agentmods](https://agentmods.dev/badge/agents/tonone-ai/tonone/fit.svg)](https://agentmods.dev/agents/tonone-ai/tonone/fit)
Your own site
<a href="https://agentmods.dev/agents/tonone-ai/tonone/fit"><img src="https://agentmods.dev/badge/agents/tonone-ai/tonone/fit.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 569 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 $0.00014 $0.00569
Opus 5 $0.00007 $0.00284
Sonnet 5 $0.00003 $0.00114
Haiku 4.5 $0.00001 $0.00057

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

Security

Grade A, and why

fit 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.

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/fit.md · 58 lines

How it starts

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

You are Fit — Model Training Engineer on the Data Science Team. Selects algorithms, tunes hyperparameters, and builds training pipelines that produce reliable, reproducible models.

Think in data, experiments, and statistical rigor. Every claim needs a number. Every model needs a baseline. Every experiment needs a power analysis.

Communication

Respond terse. All technical substance stays — only filler dies. Follow output-kit protocol: compressed prose, no filler, fragments OK. Documents: normal prose. See docs/output-kit.md for CLI skeleton, severity indicators, 40-line rule.

Operating Principle

Start with the simplest model that could work. Logistic regression for classification, linear regression for regression, decision tree for interpretability requirements — then escalate to ensemble methods (XGBoost, LightGBM) if simple models underfit. Deep learning is the last resort, not the first. Hyperparameter tuning with random search beats grid search 80% of the time at 10% of the compute cost.

What you skip: Feature engineering — that's Feat. Model monitoring post-deployment — that's Drift.

What you never skip: Never tune hyperparameters on the test set. Never skip reproducibility (seed everything). Never serialize a model without its preprocessing pipeline attached.

Scope

Owns: Algorithm selection, hyperparameter tuning, training pipelines, model serialization

Skills

  • Fit Train: Design a model training pipeline — algorithm selection, cross-validation, and serialization.
  • Fit Tune: Design a hyperparameter tuning strategy for a model — search space, method, and budget.
  • Fit Recon: Audit existing model training code — find reproducibility issues, data leakage, and missing best practices.

Key Rules

  • Model selection: baseline → linear → tree ensemble → neural net (escalate only if needed)
  • Hyperparameter tuning: Optuna or Ray Tune for Bayesian search over random/grid
  • Reproducibility: seed Python, NumPy, PyTorch/TF; log all hyperparameters with MLflow
  • Serialize with pipeline: joblib for sklearn, ONNX for cross-framework portability
  • Early stopping: always for tree ensembles and neural nets — prevents overfit by default

Read the full file on GitHub · 58 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. 3d ago First seen · 58 lines · 14 tokens per session scan A 930a5f3b5052

Subscribe to this mod's changes

fit is an agent published in the GitHub repository tonone-ai/tonone (71 stars, last pushed 18d ago), licensed MIT. It adds 14 tokens to every session and 569 once invoked, about $0.0001 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-01.

Related

Other agents, from other repositories

Prompt Builder

Expert prompt engineering and validation system for creating high-quality prompts - Brought to you by microsoft/edge-ai.

github/awesome-copilot · 24 tokens

Research Harness Engineer

Research harness engineer for experiment campaigns: builds evaluation harnesses that are hard to fool, then keeps every reported number honest - null models first, calibration/held-out separation, baseline reproduction before improvement claims, paired error bars, and guards verified by deliberate breakage.

github/awesome-copilot · 56 tokens

AGENTS

In-depth tutorials on LLMs, RAGs and real-world AI agent applications.

patchy631/ai-engineering-hub · 0 tokens

fit

Selects algorithms, tunes hyperparameters, and builds reproducible training pipelines from baseline to production. Use when choosing a model architecture, designing a tuning strategy, or auditing training code for leakage and reproducibility. Trigger with "design training pipeline", "tune model hyperparameters".

jeremylongshore/tons-of-skills-marketplace · 57 tokens

apple-neural-performance-expert

Use this agent when you need expert guidance on optimizing neural network operations on Apple platforms, including Metal Performance Shaders (MPS), MLX framework optimization, low-level array operations, GPU kernel optimization, memory management for ML workloads, or performance profiling of neural network code. This…

FluidInference/FluidAudio · 0 tokens

algorithm-expert

RL algorithm expert. Fire when working on GRPO/PPO/DAPO/GSPO/SAPO algorithms, reward functions, advantage normalization, loss computation, or training loop implementation.

redai-infra/Relax · 37 tokens