/ds:experiment-trackingfrom ds
Logs ML experiments with a structured format including hypothesis, config, results, and environment capture. Use when running experiments to maintain reproducible records.
Ships in ds. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Standard format for logging ML experiments. Every experiment gets a plan and a result document.
## Experiment: [Short descriptive name]
**Date:** YYYY-MM-DD
**Author:** [Name]
**Status:** [planned | running | complete | abandoned]
### Hypothesis
[What you expect to happen and why]
### Configuration
- **Model:** [algorithm and key settings]
- **Features:** [feature set identifier or description]
- **Data:** [dataset version, date range, row count]
- **Data hash:** [SHA-256 of the dataset file or query fingerprint]
- **Split:** [strategy, ratios, seed]
- **Hyperparameters:** [key hyperparameters]
### Environment
- **Python:** [version]
- **Key libraries:** [e.g., sklearn 1.4.0, xgboost 2.1.0, pandas 2.2.0]
- **Hardware:** [CPU/GPU, memory]
- **Git commit:** [SHA of the code at experiment time]
- **Compute cost:** [wall time, GPU hours if applicable]
### Results
| Metric | Train | Validation | Test | Baseline |
|---|---|---|---|---|
| [primary] | | | | |
| [secondary] | | | | |
### Key Observations
- [What worked, what didn't, surprises]
### Decision
[Ship | Iterate | Abandon] -- [Reasoning]
### Next Steps
- [What to try next based on findings]
### Series
- **Parent experiment:** [link to prior experiment this builds on, if any]
- **Child experiments:** [links to follow-up experiments, if any]
Every experiment log must include:
| Field | Why |
|---|---|
| Hypothesis | Forces clear thinking about what you expect |
| Data hash | Reproducibility -- exact data version |
| Split + seed | Reproducibility -- exact train/test split |
| Environment | Reproducibility -- library versions matter |
| Git commit | Reproducibility -- exact code version |
| Baseline comparison | Context -- improvement means nothing without a reference |
| Decision | Accountability -- forces a clear outcome |
| Series linkage | Continuity -- prevents orphaned experiment chains |
Experiment files follow this pattern:
docs/ds/experiments/YYYY-MM-DD-<experiment-name>-plan.md
docs/ds/experiments/YYYY-MM-DD-<experiment-name>-result.md
Use lowercase, hyphens, and descriptive names: 2026-02-24-churn-xgb-recency-features-plan.md
import sys
import pkg_resources
import subprocess
def capture_environment():
"""Capture current environment for experiment logging."""
env = {
"python": sys.version.split()[0],
"libraries": {},
"git_commit": subprocess.getoutput("git rev-parse HEAD").strip(),
}
for pkg in ['pandas', 'numpy', 'sklearn', 'xgboost', 'lightgbm', 'torch']:
try:
env["libraries"][pkg] = pkg_resources.get_distribution(pkg).version
except pkg_resources.DistributionNotFound:
pass
return env
import hashlib
def hash_file(path, algorithm='sha256'):
"""Compute hash of a data file for version tracking."""
h = hashlib.new(algorithm)
with open(path, 'rb') as f:
for chunk in iter(lambda: f.read(8192), b''):
h.update(chunk)
return h.hexdigest()
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
19 skills in this plugin
/aeonAeon API patterns for time series machine learning -- classification, regression, clustering, anomaly detection, segmentation, and similarity search. Use when /ds:experiment needs time-series-specific ML algorithms (ROCKET, InceptionTime, DTW classifiers), or /ds:eda needs temporal feature extraction (Catch22, ROCKET features) or change point detection. For classical statistical forecasting (ARIMA/SARIMAX) use statsmodels; for tabular ML pipelines use scikit-learn; for visualization use matplotlib./data-preprocessingPre-model data preparation pipelines for cleaning, validation, transformation, and ETL orchestration. Use when raw data needs deduplication, schema validation, format conversion, or quality assurance before EDA or modeling./data-quality-frameworksData quality validation with Great Expectations, dbt tests, and data contracts. Use when building formal validation rules, expectation suites, or data contracts for repeatable quality gates./eda-checklistSystematic exploratory data analysis checklist covering structure, quality, distributions, relationships, and target analysis. Use when starting EDA on any dataset./exploratory-data-analysisDetect file types and perform format-specific EDA across 200+ scientific data formats. Use when /ds:eda encounters non-tabular or unfamiliar data files, or when format-specific analysis guidance is needed./matplotlibMatplotlib API patterns for creating publication-quality visualizations. Use when /ds:eda needs distribution plots, correlation heatmaps, or relationship visualizations, or when /ds:experiment needs result plots (learning curves, confusion matrices, forecast visualizations). For standard ML diagnostic plots use scikit-learn display utilities; for statsmodels diagnostic plots use statsmodels built-in plotting; for quick statistical plots prefer seaborn.Generated from the plugin's indexed repository (andikarachman/data-science-plugin) — no native marketplace selected
npx claudepluginhub p/andikarachman-dsOther plugins' skills for the same job