builder

builder is an agent for Claude Code from topprismdata/cultivating-ml-agent. It costs 22 tokens per session (445 once invoked), scanned A, original, MIT.

An agent that builds a Kaggle or MLE-Bench competition submission by training models, trying controlled changes, and writing a submission.csv file.

In plain words
What is it for?
Use it to read prior competition notes, create a baseline, test one change at a time, validate the output file, and hand it to a grader.
Why use it?
It provides a repeatable process for moving from a first model to a checked submission while recording experiments.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to read prior competition notes, create a baseline, test one…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/topprismdata/cultivating-ml-agent/builder
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.

Clone the repo
git clone --depth 1 https://github.com/topprismdata/cultivating-ml-agent

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 builder

README.md
[![agentmods](https://agentmods.dev/badge/agents/topprismdata/cultivating-ml-agent/builder.svg)](https://agentmods.dev/agents/topprismdata/cultivating-ml-agent/builder)
Your own site
<a href="https://agentmods.dev/agents/topprismdata/cultivating-ml-agent/builder"><img src="https://agentmods.dev/badge/agents/topprismdata/cultivating-ml-agent/builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 445 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.00022 $0.00445
Opus 5 $0.00011 $0.00222
Sonnet 5 $0.00004 $0.00089
Haiku 4.5 $0.00002 $0.00044

Measured 6d ago against content hash 67963f01260d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

builder 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 6d 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.

ml-agent-code-template/.claude/agents/builder.md · 53 lines

What it actually says

Builder Agent

Role: Produces submissions/<competition>/submission.csv from a competition dataset. Stage: Hypothesis → Baseline → Iterate → Output Output: Always writes to submissions/<competition>/submission.csv Communicates with: Grader agent (validates the submission it produces)

Inputs

  • Competition slug (e.g., tps-may-2022, jigsaw-toxic-comment-classification-challenge)
  • Data path (default: ~/Library/Caches/mle-bench/data/<competition>/prepared/public/)
  • Submission path: submissions/<competition>/submission.csv

Responsibilities

  1. Read memory first: Check memory/competitions/<similar>.md and memory/feedback_no_recheck_confirmed_dead.md
  2. Build baseline: One simple model, get it producing output (don't optimize yet)
  3. Iterate per SOP: One variable per experiment, log to memory/experiments/
  4. Validate before output:
    • File exists and is non-empty
    • Header is correct
    • All rows have values
    • Submission size is reasonable
  5. Hand off to Grader: After producing submission.csv, defer to grader for validation

Forbidden Actions

  • ❌ Don't run mlebench grade directly — let Grader do it
  • ❌ Don't submit to leaderboard unless explicitly asked
  • ❌ Don't burn compute on hyperparameter tuning at stacking ceiling
  • ❌ Don't skip the experiment logging step

Communication Protocol

When finished, emit a structured handoff:

=== HANDOFF TO GRADER ===
Competition: <slug>
Submission: <path>
OOF Score: <metric>
OOF vs Baseline: <delta>
Hypothesis tested: <one sentence>
Risks/caveats: <any>
=== END HANDOFF ===

The Grader agent takes this and runs validation.

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. 6d ago First seen · 53 lines · 22 tokens per session scan A 67963f01260d

Subscribe to this mod's changes

builder is an agent published in the GitHub repository topprismdata/cultivating-ml-agent (5 stars, last pushed 9d ago), licensed MIT. It adds 22 tokens to every session and 445 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-08-31.

Related

Other agents, from other repositories

cortex

Designs and ships production AI features — LLM integration, prompt engineering, RAG pipelines, evals, and MLOps. Use when you need an AI architecture decision, a prompt-first vs RAG vs fine-tune call, or an eval harness for an existing feature. Trigger with "build this AI feature", "design the RAG pipeline".

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

research-assistant

Intelligent research agent that uses Agent Brain for knowledge retrieval with adaptive search modes.

SpillwaveSolutions/agent-brain · 19 tokens

mlops-engineer

ML operations agent for experiment tracking, model registry, feature stores, ML pipelines, model serving, drift monitoring, and AIOps.

pjt222/agent-almanac · 31 tokens

mlops-engineer

Build ML pipelines, experiment tracking, and model registries. Implements MLflow, Kubeflow, and automated retraining. Handles data versioning and reproducibility. Use proactively for ML infrastructure, experiment management, or pipeline automation.

NickCrew/Claude-Cortex · 53 tokens

ml-engineer

Implement ML pipelines, model serving, and feature engineering. Handles TensorFlow/PyTorch deployment, A/B testing, and monitoring. Use proactively for ML model integration or production deployment.

NickCrew/Claude-Cortex · 40 tokens

gsd-eval-auditor

Retroactive audit of an implemented AI phase's evaluation coverage. Checks implementation against the AI-SPEC.md evaluation plan. Scores each eval dimension as COVERED/PARTIAL/MISSING. Produces a scored EVAL-REVIEW.md with findings, gaps, and remediation guidance. Spawned by /gsd-eval-review orchestrator.

mrboups/xbrain · 75 tokens