nanoresearch-experiment
Agent skill fromOpenRaiser/NanoResearch
Generate a Python code skeleton from an experiment blueprint
How to install nanoresearch-experiment
install nanoresearch-experiment
# install the NanoResearch pack with the skills CLI
npx skills add OpenRaiser/NanoResearch# or add only this skill to Claude Code: copy the folder
skills/nanoresearch-experiment/
# into
~/.claude/skills/nanoresearch-experiment/ (all projects)
.claude/skills/nanoresearch-experiment/ (one project)
1# Experiment Skill23## Purpose4Take the experiment blueprint and produce a runnable Python code skeleton that implements the proposed method, baselines, training loops, evaluation harness, and ablation configurations.56## Tools Required7None. This skill operates entirely through LLM code generation based on the experiment blueprint.89## Input10- `experiment_blueprint`: Path to `papers/experiment_blueprint.json` produced by the planning skill1112## Process131. Parse the experiment blueprint for datasets, baselines, metrics, and ablation groups142. Generate the project directory structure (data loaders, models, training, evaluation, configs)153. Produce data loading and preprocessing code for each specified dataset164. Implement model architecture stubs for the proposed method and each baseline175. Generate training loop with logging, checkpointing, and early stopping186. Implement the evaluation harness computing all specified metrics197. Create configuration files for each ablation group208. Add a main entry point that accepts a config and runs the full train-evaluate pipeline2122## Output23Produces `experiments/` directory containing:24- `data/`: Data loading and preprocessing modules25- `models/`: Model architecture implementations (proposed method and baselines)26- `training/`: Training loop and optimization utilities27- `evaluation/`: Metric computation and result aggregation28- `configs/`: YAML configuration files for each experiment and ablation variant29…
Excerpt shown under the repository's MIT license.
