Skip to content
Automation
Skill

/nanoresearch-experiment

Generate a Python code skeleton from an experiment blueprint

From plugin
nanoresearch
1.4k16 skills9 commands
Install
$ npx -y skills add OpenRaiser/NanoResearch --skill nanoresearch-experiment --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/nanoresearch-experiment

Context preview

The summary Claude sees to decide when to auto-load this skill.

Generate a Python code skeleton from an experiment blueprint

SKILL.md

nanoresearch-experiment.SKILL.md
name: nanoresearch-experiment
description: Generate a Python code skeleton from an experiment blueprint
version: 0.1.0

Experiment Skill

Purpose

Take the experiment blueprint and produce a runnable Python code skeleton that implements the proposed method, baselines, training loops, evaluation harness, and ablation configurations.

Tools Required

None. This skill operates entirely through LLM code generation based on the experiment blueprint.

Input

  • `experiment_blueprint`: Path to `papers/experiment_blueprint.json` produced by the planning skill

Process

1. Parse the experiment blueprint for datasets, baselines, metrics, and ablation groups 2. Generate the project directory structure (data loaders, models, training, evaluation, configs) 3. Produce data loading and preprocessing code for each specified dataset 4. Implement model architecture stubs for the proposed method and each baseline 5. Generate training loop with logging, checkpointing, and early stopping 6. Implement the evaluation harness computing all specified metrics 7. Create configuration files for each ablation group 8. Add a main entry point that accepts a config and runs the full train-evaluate pipeline

Output

Produces `experiments/` directory containing:

  • `data/`: Data loading and preprocessing modules
  • `models/`: Model architecture implementations (proposed method and baselines)
  • `training/`: Training loop and optimization utilities
  • `evaluation/`: Metric computation and result aggregation
  • `configs/`: YAML configuration files for each experiment and ablation variant
  • `run.py`: Main entry point for launching experiments
  • `requirements.txt`: Python dependencies
Read more
Ships withnanoresearch

端到端自主 AI 科研引擎 — 从研究想法到完整论文,全程自动化 快速开始 · 效果展示 · 流水线 · Claude Code · 飞书机器人 🔬 NanoResearch 真正运行计算实验——它不仅生成代码,还能将代码提交到 GPU 集群执行训练,收集真实实验结果,生成论文配图,最终输出一篇有实验数据支撑的完整 LaTeX 论文。论文中的每一个数据、表格、图表都来自实际运行的实验结果,而非 LLM 编造。

Get the whole plugin

Other skills on nanoresearch.