一键导入
automil-setup
Set up autoMIL in an existing project. Scopes codebase, configures experiment framework, validates setup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Set up autoMIL in an existing project. Scopes codebase, configures experiment framework, validates setup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | automil-setup |
| description | Set up autoMIL in an existing project. Scopes codebase, configures experiment framework, validates setup. |
One-time setup that prepares a project for autonomous experimentation.
autoMIL overlays onto an existing git repo. Key concepts:
automil/config.yaml.files.editable, files.readonly, and uv run automil submit are
relative to the git repo root, not to where automil/ lives. This allows the
agent to edit files anywhere in the repo.Before doing anything, ask the user:
Navigate to the target directory and run init:
cd <target_directory>
uv run automil init
This creates automil/ with config.yaml, program.md, learnings.md, and
orchestrator directories. Works from any subdirectory of a git repo.
Read the project structure thoroughly. Identify:
autoMIL runs one experiment at a time — the agent makes a code change, submits it, and the orchestrator trains once to measure the effect.
The training command must:
result.json to the working directory before exitingIf the project only has a batch/grid runner, create a single-experiment entry point that calls the existing pipeline for one configuration and writes result.json.
Required result.json schema:
{
"status": "completed",
"metrics": {
"val_auc": 0.870,
"val_bacc": 0.810,
"test_auc": 0.872,
"test_bacc": 0.830
},
"composite": 0.851,
"elapsed_seconds": 4098,
"peak_vram_mb": 4500
}
Update every field. File paths in files.editable and files.readonly must
be relative to the git repo root:
run.command: full command to run one experiment (repo-root-relative paths)run.script: set to null when using run.commanddata.*: paths to features, splits, metadataencoders.*: available encoders and dimensionsbaseline.*: best existing performance metricsfiles.editable: repo-root-relative paths to files the agent may modifyfiles.readonly: repo-root-relative paths to files that must not changemetrics.*: what metrics to track and how composite is computedtraining.*: current hyperparameter values (for agent reference)uv run automil check
Fix any issues reported. All checks should pass before starting experiments.
If results already exist, populate the baseline from those metrics (no re-run needed). Otherwise, submit the unmodified code as the first experiment:
uv run automil submit --node node_0001 --desc "baseline" --files <editable_files>
uv run automil reconcile
uv run automil status
Setup is complete. Use /automil to start the experiment loop.
Run the autonomous MIL experiment loop. Requires setup first (use /automil-setup).
Smart granular commit workflow that groups changes into separate, logically-grouped commits by feature, functionality, or type. Never commits everything at once. No co-author line. Uses Conventional Commits. Use when user says commit, /commit, or commit my changes, or asks to save/checkpoint work, or at the end of a task when changes need to be committed.
Set up autoMIL in an existing project. Scopes codebase, configures experiment framework, validates setup.
Run the autonomous MIL experiment loop. Requires setup first (use /automil-setup).
Run the autonomous MIL experiment loop. Requires setup first (use /automil-setup).