domino-experiment-setup

domino-experiment-setup is a command for Claude Code from dominodatalab/domino-claude-plugin. It costs 20 tokens per session (1,213 once invoked), scanned A, original, MIT.

A command that prepares MLflow experiment tracking for traditional machine-learning projects running in Domino. MLflow records runs, settings, and results so you can compare experiments.

In plain words
What is it for?
Use it to create experiment setup code, configure automatic logging for supported detected frameworks, add Domino tags, and generate an example training script.
Why use it?
It avoids manually setting up tracking and helps prevent name clashes between users and projects in Domino. It also adds Domino details to recorded runs.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the domino-claude-plugin plugin — 23 skills, 4 commands, 3 agents, 1 MCP server shipped together

Good fit Use it to create experiment setup code, configure automatic logging for supported detected frameworks, add Domino tags, and generate an example training script.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/dominodatalab/domino-claude-plugin/domino-experiment-setup
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/dominodatalab/domino-claude-plugin

Made for: Claude Code.

Or install domino-claude-plugin, the plugin that ships this one along with the rest of its 23 skills, 4 commands, 3 agents, 1 MCP server.

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 domino-experiment-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/dominodatalab/domino-claude-plugin/domino-experiment-setup/github.svg)](https://agentmods.dev/commands/dominodatalab/domino-claude-plugin/domino-experiment-setup)
Your own site
<a href="https://agentmods.dev/commands/dominodatalab/domino-claude-plugin/domino-experiment-setup"><img src="https://agentmods.dev/badge/commands/dominodatalab/domino-claude-plugin/domino-experiment-setup/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 domino-experiment-setup

Your own site · 80×15
<a href="https://agentmods.dev/commands/dominodatalab/domino-claude-plugin/domino-experiment-setup"><img src="https://agentmods.dev/badge/commands/dominodatalab/domino-claude-plugin/domino-experiment-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,213 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.00020 $0.01213
Opus 5 $0.00010 $0.00607
Sonnet 5 $0.00004 $0.00243
Haiku 4.5 $0.00002 $0.00121

Measured 11d ago against content hash 76e917df2b82, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

domino-experiment-setup 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 11d 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.

commands/domino-experiment-setup.md · 202 lines

How it starts

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

/domino-experiment-setup Command

Set up MLflow experiment tracking for traditional machine learning projects in Domino.

Usage

/domino-experiment-setup [experiment_name]

What This Command Does

  1. Creates experiment setup code with unique naming
  2. Configures auto-logging for detected frameworks
  3. Adds Domino context as MLflow tags
  4. Creates example training script with best practices

Output

experiment_setup.py

"""
Domino Experiment Tracking Setup
Generated by /domino-experiment-setup
"""

import mlflow
import os

def setup_experiment(base_name: str = "experiment"):
    """
    Set up a Domino-compatible MLflow experiment.

    IMPORTANT: Experiment names must be unique across the entire
    Domino deployment. This function appends username and project
    to ensure uniqueness.
    """
    username = os.environ.get('DOMINO_STARTING_USERNAME', 'unknown')
    project = os.environ.get('DOMINO_PROJECT_NAME', 'unknown')

    # Create unique experiment name
    experiment_name = f"{base_name}-{project}-{username}"

    mlflow.set_experiment(experiment_name)
    print(f"Experiment set: {experiment_name}")

    return experiment_name

def log_domino_context():
    """Log Domino environment information as tags."""
    mlflow.set_tags({
        "domino.user": os.environ.get('DOMINO_STARTING_USERNAME', 'unknown'),
        "domino.project": os.environ.get('DOMINO_PROJECT_NAME', 'unknown'),
        "domino.run_id": os.environ.get('DOMINO_RUN_ID', 'unknown'),
        "domino.hardware_tier": os.environ.get('DOMINO_HARDWARE_TIER_NAME', 'unknown'),
    })

# Auto-detect and enable framework logging
def setup_autolog():
    """Enable auto-logging for detected ML frameworks."""
    try:
        import sklearn
        mlflow.sklearn.autolog()
        print("Enabled sklearn auto-logging")
    except ImportError:
        pass

    try:
        import tensorflow
        mlflow.tensorflow.autolog()
        print("Enabled TensorFlow auto-logging")
    except ImportError:
        pass

    try:
        import torch
        mlflow.pytorch.autolog()
        print("Enabled PyTorch auto-logging")
    except ImportError:
        pass

    try:
        import xgboost
        mlflow.xgboost.autolog()
        print("Enabled XGBoost auto-logging")
    except ImportError:
        pass

    try:
        import lightgbm
        mlflow.lightgbm.autolog()
        print("Enabled LightGBM auto-logging")
    except ImportError:
        pass

Read the full file on GitHub · 202 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. 11d ago First seen · 202 lines · 20 tokens per session scan A 76e917df2b82

Subscribe to this mod's changes

domino-experiment-setup is a command published in the GitHub repository dominodatalab/domino-claude-plugin (6 stars, last pushed 2mo ago), licensed MIT. It adds 20 tokens to every session and 1,213 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-30.