Agent skill · AI & Agents

autoresearch-ml

Autonomous LLM training optimization with GPU support. Runs 5-minute training experiments, measures val_bpb, keeps improvements or reverts — repeat forever. Use this skill when the user asks to "train a model autonomously", "optimize LLM training", "run ML experiments", "autoresearch with GPU", "optimize val_bpb", "autonomous ML training", "LLM pretraining loop", "setup ML autoresearch", "GPU training experiments", "pretrain from scratch", "speed up training", "lower my loss", "GPU optimization", "CUDA training", or mentions "train.py", "prepare.py", "bits per byte", "val_bpb", "NVIDIA GPU tra

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill autoresearch-ml --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 13 KB
Bundled scripts: none
Version: 0.2.0
Path: skills/ai-ml/autoresearch-ml/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Autoresearch ML: Autonomous LLM Training Optimization An autonomous experiment loop for single-GPU LLM pretraining. Edit `train.py` → commit → run 5-minute training → measure `val_bpb` → keep improvement or revert → **repeat forever**. This skill is self-contained — it includes everything needed to set up and run the loop. ## Setup Phase ### 1. Copy Template Assets Copy the bundled training template to the project directory: ```bash cp ${CLAUDE_SKILL_DIR}/assets/prepare.py . cp ${CLAUDE_SKILL_DIR}/assets/train.py . cp ${CLAUDE_SKILL_DIR}/assets/pyproject.toml . cp ${CLAUDE_SKILL_DIR}/assets/program.md . ``` ### 2. Install and Prepare ```bash uv sync # Install dependencies uv run prepare.py # Download data shards, train tokenizer (~2 min) ``` ### 3. Verify GPU ```bash nvidia-smi python -c "import torch; print(f'CUDA: {torch.cuda.is_available()}, Device: {torch.cuda.get_device_name()}, VRAM: {torch.cuda.get_device_properties(0).total_mem / 1e9:.1f} GB')" ``` ### 4. Initialize the Experiment Session 1. Create a branch: `git checkout -b autoresearch/<tag>-<date>` 2. Ensure session files are gitignored (critical — `git revert` will fail if tracked): ```bash echo -e "autoresearch.jsonl

What's inside
Steps it walks through
  1. Setup Phase
  2. 1. Copy Template Assets
  3. 2. Install and Prepare
  4. 3. Verify GPU
  5. 4. Initialize the Experiment Session
  6. The Experiment Loop
  7. Decision Rules
  8. Simplicity Criterion
  9. Constraints
  10. Don't Thrash
  11. Handling User Messages
  12. Logging to autoresearch.jsonl
  13. ASI (Actionable Side Information)
  14. Resuming After Context Reset
Ships with 1 file
  • metadata.json
Commands it runs
cp ${CLAUDE_SKILL_DIR}/assets/prepare.py .
cp ${CLAUDE_SKILL_DIR}/assets/train.py .
cp ${CLAUDE_SKILL_DIR}/assets/pyproject.toml .
cp ${CLAUDE_SKILL_DIR}/assets/program.md .
uv sync                    # Install dependencies
uv run prepare.py          # Download data shards, train tokenizer (~2 min)
nvidia-smi
echo -e "autoresearch.jsonl\nrun.log" >> .gitignore
git add .gitignore && git commit -m "autoresearch: add session files to gitignore"
bash ${CLAUDE_SKILL_DIR}/scripts/log-experiment.sh \
More from claude-skill-registry
All skills →
About this skill
What does the autoresearch-ml skill do?

Autonomous LLM training optimization with GPU support. Runs 5-minute training experiments, measures val_bpb, keeps improvements or reverts — repeat forever. Use this skill when the user asks to "train a model autonomously", "optimize LLM training", "run ML experiments", "autoresearch with GPU", "optimize val_bpb", "autonomous ML training", "LLM pretraining loop", "setup ML autoresearch", "GPU training experiments", "pretrain from scratch", "speed up training", "lower my loss", "GPU optimization", "CUDA training", or mentions "train.py", "prepare.py", "bits per byte", "val_bpb", "NVIDIA GPU tra

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill autoresearch-ml --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going