define-experiment
Define one concrete PyTorch Experiment with selected component paths, phases, configuration or custom phase code, and outputs, without executing it.
Skill by peoxin
Chalk Labs
Need help deploying define-experiment?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/peoxin-define-experiment
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, ml, research
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/define-experiment
What's inside
- Skill name
define-experiment- Description
- Define one concrete PyTorch Experiment with selected component paths, phases, configuration or custom phase code, and outputs, without executing it.
- License
- MIT
- Instructions
- 76 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# Define Experiment
Treat each Experiment as one concrete training, evaluation, or train-then-evaluate declaration. It selects reusable components and fixes the phase behavior, configuration, resources, checkpoint flow, and outputs for one run design. It does not define Model, Dataset, or Benchmark components and does not execute the Experiment.
## Workflow
1. Inspect the target project's instructions, selected component paths, training and evaluation entry points, framework conventions, configuration and implementation conventions, and dependency conventions.
2. Before defining or changing an Experiment, invoke the `grill-with-docs` skill. Resolve the question and comparison, component paths, environment configuration, declared phases, configuration, resources, checkpoint flow, outputs, and failure boundaries. Continue only after the design is explicit and confirmed. If it is unavailable, stop.
3. Create or update `EXPERIMENT.md` inside `experiments/<experiment-id>/`.
4. Implement the declared phases using the target project's existing configuration or code conventions. Create or update project-native configuration, custom phase code, or both as required. When the confirmed design uses a supported framework, use its optional integration skill if available or follow the project's established convention directly. Run a bounded lifecycle smoke test only when the Experiment contract requires it.
5. Implement the declared phases, then record the explicit Python file or directory scope containing the code created or modified by this invocation. Keep `EXPERIMENT.md`, configuration or phase code, and commands consistent. If the question, components, phases, configuration, implementation, resources, checkpoint flow, outputs, or failure boundaries change, pause and repeat the `grill-with-docs` skill before continuing.
6. After the implementation and Experiment contract agree, invoke `improve-python-documentation` with that explicit Python scope. Then invoke `fix-python-quality` with the same explicit scope. Do not let either utility infer scope from Git status or the diff.
7. List the changed files, documentation changes, quality commands and results, and unverified checks, then show the diff. Do not create a commit or execute the Experiment.
If a selected Model, Dataset derivation, or Benchmark must change, hand the work to the `define-model`, `define-dataset`, or `define-benchmark` skill.
## Experiment Directory
Use one directory for each concrete Experiment:
```text
experiments/
<experiment-id>/
EXPERIMENT.md
configs/
<configuration files>
<implementation files>
```
The optional `configs/` directory contains configuration consumed directly by the target project or framework. The Experiment may also contain custom phase implementation files when the target project does not provide the required training or evaluation entry point. Use existing project conventions; do not require a framework, schema, filename, or one configuration file per phase. Keep Experiment-specific training and evaluation configuration and code inside the Experiment directory; keep architecture and model-behavior configuration in the Model component.
## EXPERIMENT.md
`EXPERIMENT.md` is the human-readable contract for the Experiment. Keep it concise and consistent with its configuration and commands.
Use these sections:
### Description
Describe the research question, comparison, purpose, and explicit boundaries of the Experiment.
### Components
Identify the Model, Dataset derivations, Benchmark, and other inputs used by the declared phases. Record their logical identities, roles, repositories when external, and paths. Record external locators or digests when they are part of the Experiment's input contract. Version fixation and submission membership belong to `run-experiment`, not this specification.
A Train phase requires a Model and its training Dataset derivations. A Benchmark is optional unless training consumes its protocol. An Evaluate phase requires a Model, Benchmark, and checkpoint; the Benchmark identifies its Dataset derivations and evaluation inputs.
### Environment
Identify the environment configuration files or directory used by the Experiment, such as `pyproject.toml`, `requirements.txt`, `uv.lock`, `poetry.lock`, or `environment.yml`. Record the paths and use the target project's existing environment convention. Do not duplicate configuration content in `EXPERIMENT.md` or require a setup command here. The configuration files express the Python and package versions used by the Experiment; this section does not define CUDA or hardware requirements.
### Phases
Use `#### Train` and `#### Evaluate` subsections for the phases that apply. Declare at least one phase.
For Train, record the data inputs, command or entry point, configuration paths, seed, resources, checkpoint selection, and continuation or failure conditions. Validation used for early stopping, checkpoint selection, or training monitoring remains part of Train. When a framework-native checkpoint applies, identify how its learned weights map to the Model's canonical weight contract and distinguish model-weight loading from full training-state restoration.
For Evaluate, record the Benchmark inputs, command or entry point, configuration paths when needed, resources, checkpoint source, and failure conditions. An evaluation-only Experiment may consume an external checkpoint or a checkpoint from a prior Result. Record its locator, digest when available, provenance, and compatibility requirements. In a train-then-evaluate Experiment, reference the selected checkpoint produced by Train; the Result records its final path and digest.
Evaluation configuration controls execution parameters such as batch size, workers, precision, devices, checkpoint selection, and output locations. It may select a declared Benchmark input or an explicitly allowed metric subset, but it must not redefine the Benchmark's metrics, masking, reduction, aggregation, or visualizations. Omit evaluation configuration when the target project does not need it.
### Outputs
Describe the checkpoints, training metrics, Benchmark metrics, visualizations, reports, logs, and other outputs produced by the declared phases, including their expected locations or location rules.
### Implementation
Record the phase commands, configuration files, custom phase code, environment files, and implementation choices needed to run the Experiment. Keep optimizer, scheduler, learning rate, batch size, epochs, seed, trainer, precision, resources, and other run-specific settings in the Experiment configuration or implementation when the target project consumes them there.
The specification must remain consistent with the configuration and commands. If implementation changes the Experiment contract, stop and realign the design before continuing.
## Run Handoff
`define-experiment` finishes with a validated Experiment contract and reports its changed files and checks. It does not create commits, determine the submission set, or execute the Experiment. `run-experiment` owns version fixation immediately before execution, including the declared dependency closure, user-confirmed control commit, external immutable identities, and pre-run `HEAD` and worktree checks.From peoxin/skills, MIT.
More from peoxin/skills
- 0.524score
improve-python-documentation
peoxin
Improve docstrings and comments in an explicit Python file or directory scope after implementation is complete.
SkillBFreshness: BClaude Code +9 - 0.524score
fix-python-quality
peoxin
Fix Ruff formatting and lint errors in an explicit Python file or directory scope.
SkillBFreshness: BClaude Code +9 - 0.521score
define-benchmark
peoxin
Define a reusable Benchmark component that evaluates model behavior with selected Dataset derivations, quantitative metrics, and qualitative visualizations.
SkillBFreshness: BClaude Code +9 - 0.521score
define-dataset
peoxin
Define a self-contained, reusable Dataset component, including its source revision and the rules that derive usable inputs.
SkillBFreshness: BClaude Code +9 - 0.521score
add-references
peoxin
Acquire user-selected research materials from direct sources and create co-located Reference records with artifact provenance.
SkillBFreshness: BClaude Code +9 - 0.521score
analyze-references
peoxin
Analyze selected Reference records and their artifacts with evidence locators, implementation details, limitations, comparisons, and review-ready synthesis.
SkillBFreshness: BClaude Code +9 - 0.521score
search-references
peoxin
Search papers, code, datasets, documentation, and other research materials, then hand selected sources to add-references.
SkillBFreshness: BClaude Code +9 - 0.518score
initialize-python-project
peoxin
Initialize the current directory as a uv-managed Python project with the preferred configuration.
SkillBFreshness: BClaude Code +9 - 0.518score
write-report
peoxin
Draft an evidence-linked report or paper from Reference analyses and experiment results without submission workflows.
SkillBFreshness: BClaude Code +9 - 0.518score
integrate-pytorch-lightning
peoxin
Implement PyTorch Lightning within one already aligned Model or Experiment contract.
SkillBFreshness: BClaude Code +9 - 0.518score
define-model
peoxin
Define and implement a self-contained, reproducible PyTorch model component from an aligned model design.
SkillBFreshness: BClaude Code +9 - 0.510score
run-experiment
peoxin
Run the phases declared by a fixed Experiment.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 20, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/peoxin/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from peoxin
- 0.524score
improve-python-documentation
peoxin
Improve docstrings and comments in an explicit Python file or directory scope after implementation is complete.
SkillBFreshness: BClaude Code +9 - 0.524score
fix-python-quality
peoxin
Fix Ruff formatting and lint errors in an explicit Python file or directory scope.
SkillBFreshness: BClaude Code +9 - 0.521score
define-benchmark
peoxin
Define a reusable Benchmark component that evaluates model behavior with selected Dataset derivations, quantitative metrics, and qualitative visualizations.
SkillBFreshness: BClaude Code +9 - 0.521score
define-dataset
peoxin
Define a self-contained, reusable Dataset component, including its source revision and the rules that derive usable inputs.
SkillBFreshness: BClaude Code +9 - 0.521score
add-references
peoxin
Acquire user-selected research materials from direct sources and create co-located Reference records with artifact provenance.
SkillBFreshness: BClaude Code +9 - 0.521score
analyze-references
peoxin
Analyze selected Reference records and their artifacts with evidence locators, implementation details, limitations, comparisons, and review-ready synthesis.
SkillBFreshness: BClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get define-experiment running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
define-experiment skill. Agent Mart. https://agentmart.dev/skills/peoxin-define-experiment (last updated 2026-10-24)