Experiment Code
Iterative ML experiment code generator for research papers, covering generate, improve, debug, and plot actions.
- CCM score
- 43 of 100
- skills.sh installs
- 1.7K
- GitHub stars
- 483
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the generate, improve, debug, and plot actions for writing and refining training and evaluation pipelines
- Requires a planned list of runs, a mandatory
experiment.py,plot.py,notes.txt, and per-runfinal_info.jsonoutput - Enforces self-contained code with no placeholder stubs, real datasets, PyTorch or scikit-learn only, and seeded reproducibility
- Designed for research papers, with links to experiment-design, data-analysis, and code-debugging companion skills
Install
$ npx -y skills add lingzhi227/agent-research-skills --skill experiment-code -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Experiment Code
Generate and iteratively improve ML experiment code for research papers.
Input
$0— Task:generate,improve,debug,plot$1— Research plan, idea description, or error message
References
- Experiment prompts and patterns:
~/.claude/skills/experiment-code/references/experiment-prompts.md - Code patterns (error handling, repair, hill-climbing):
~/.claude/skills/experiment-code/references/code-patterns.md
Action: generate
Generate initial experiment code following this structure:
- Plan experiments first — List all runs needed (hyperparameter sweeps, ablations, baselines)
- Write self-contained code — All code in project directory, no external imports from reference repos
- Include proper logging — Save results to JSON, print intermediate metrics
- Generate figures — At minimum Figure_1.png and Figure_2.png
Mandatory Structure
project/
├── experiment.py # Main experiment script
├── plot.py # Visualization script
├── notes.txt # Experiment descriptions and results
├── run_1/ # Results from run 1
│ └── final_info.json
├── run_2/
└── ...
Details
- Repository
- github.com/lingzhi227/agent-research-skills
- Categories
- Data Science & Analytics, Research & Academic
- First seen
- Jun 3, 2026
More from lingzhi227/agent-research-skills
All 31- Paper To Code1.7K
- Paper Assembly1.7K
- Symbolic Equation1.6K
- Excalidraw Skill1.6K
- Literature Review4.1K
- Literature Search2.7K
- Figure Generation2.3K
- Latex Formatting2.3K
- Backward Traceability2.3K
- Math Reasoning2.3K
- Citation Management2.2K
- Data Analysis2.1K
- Deep Research2K
- Idea Generation1.9K
- Novelty Assessment1.9K
- Paper Writing Section1.9K
- Github Research1.9K
- Experiment Design1.9K
- Paper Revision1.9K
- Research Planning1.8K
- Survey Generation1.8K
- Algorithm Design1.8K
- Code Debugging1.7K
- Rebuttal Writing1.7K
Similar to Experiment Code
More Data Science & Analyticspaper-to-codelingzhi227/agent-research-skills1.7K installsConverts ML research papers into runnable code repositories through a planning, analysis, and dependency-ordered coding pipeline.
experiment-designlingzhi227/agent-research-skills1.9K installsProgressive four-stage experiment planner covering baselines, datasets, sweeps, and ablations for research papers.
analyze-resultswanshuiyin/auto-claude-code-research-in-sleep623 installsStructured workflow for analyzing ML experiment results: comparison tables, statistics, and written insights.
run-trainlllllllama/rigorpilot-skills365.2K installsStandardized training execution skill that runs a selected command conservatively and records evidence in train_outputs/.
experiment-craftevoscientist/evoskills392 installsStructured five-step diagnostic flow for debugging and iterating on existing experiments, with a standard experiment log template.
nemo-rl-auto-researchnvidia/skills1.9K installsAutonomous NeMo-RL experiment workflow that runs hypothesis-driven campaigns with git branches and TSV logs as the ledger.