Skip to content
Back to skills

Ml Experiment Tracking

ASecurity

Logs params, metrics, code version and artifacts so ML experiments can be reproduced and compared. Use it when results are hard to trace back to a run.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 15, 2026
ai-agentspythongit

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add workspace-templates/ai-agent-templates --skill ml-experiment-tracking --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ml Experiment Tracking?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ml Experiment Tracking
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/workspace-templates-ml-experiment-tracking/badge)](https://www.skillsdirectory.com/skills/workspace-templates-ml-experiment-tracking)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ml-experiment-tracking
description: Logs params, metrics, code version and artifacts so ML experiments can be reproduced and compared. Use it when results are hard to trace back to a run.
---

# ML experiment tracking

A run is reproducible only if its code, data, config and seed are all recorded.

## Steps

1. Find what is in use (`grep -rn "mlflow\|wandb\|tensorboard" .`). Use it. If nothing exists, write one JSON file per run under `runs/<run_id>/` rather than adding a service.
2. Collect all settings in a single config object (dataclass or YAML) so one call can log it. Remove hardcoded hyperparameters scattered through the script.
3. At run start, record: the config, the random seed, the git commit hash, whether the working tree is dirty (`git status --porcelain`), the package versions (`pip freeze` or key libraries), and the Python and hardware details.
4. Fingerprint the data: file path plus a content hash or row count, or the version tag from your data store. A path alone is not enough.
5. Log metrics with a step number, separate for train and validation, plus final test metrics once at the end. Name them consistently (`val/auc`, not `valAUC` in one run and `auc_val` in another).
6. Save artifacts: the best checkpoint, the metrics file, and key plots. Link them to the run.
7. Tag the run with a short human name and a one line purpose, such as "lr sweep, no augmentation".
8. Add a small script that lists runs sorted by a metric and prints the config differences between two runs.

## Rules

- Never log secrets or raw personal data in params.
- Log the failure state too: mark crashed runs as failed.

## Report

What is tracked per run, where it is stored, and the command to compare two runs.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.