/airas:run-experimentsfrom airas
Executes committed experiment code on GitHub Actions or Seyval, bringing outputs back with provenance. Use to run, monitor, or re-run experiments in an AIRAS experiment repository.
Ships in airas. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Needs a clone with committed experiment code that passes local sanity
(built to the write-experiment-code contract, uv.lock committed). A
sanity run needs no declaration — its outputs are never imported — and
is how write-experiment-code checks the code on the platform before
the freeze. Every pilot or full run you dispatch must already be
declared in .research/record.json in a commit the run will
execute — results for an undeclared run_id fail verification, and a
claim is verified once every run under it has results — but declare
before you dispatch: the record cannot yet tell a preregistered claim
from a post-hoc one. Declare late additions with append_to_record
(it commits the append itself) and push before dispatching.
Resolve the platform. It should already be settled — the code was written against its architecture and environment constraints. Read its reference in full; it is the procedure for steps 2-3. This file states only what every platform must deliver, so a platform is added by adding a reference that answers the same three questions — how the contract CLI is launched, how the run's identifier and commit are obtained, and how its outputs reach the repository.
| Platform | Reference |
|---|---|
| GitHub Actions | _shared/references/github-actions.md |
| Seyval | _shared/references/seyval.md |
Run it by the reference's procedure, then fix, commit on top and re-run as needed. However the run starts, record two things when it ends: the platform's run identifier and the commit hash it executed. Step 3 cannot be done without them.
Make the run produce what verification reads. Every run starts
through the repository's one entry point, make run RUN_ID=<run_id> MODE=<stage> — both platforms call it, and dispatch_experiment
builds it for you. The Makefile reads the run's kind from
config/run/<run_id>.yaml:
kind): the contract CLI (src.main) writes
only eval_inputs/ — the raw predictions. The numbers the record is
checked against live in metrics.json, which the evaluation step
writes, and provenance byte-compares that file against the
platform's stored copy. So make run carries the chain through to
the end — src.main, make evaluate, src.evaluate — and a
command_args of your own must too. Keep eval_inputs/ in the
results: it is what the metrics can be re-derived from, and the
record anchors it by hash. make evaluate scores the task types
named by tasks: in the run config, else every task type in
.research/evaluation.json; a run that writes inputs for only some
of them (a small and a large split, say) must name its own.kind: lean): lake build of the named module, then
lake exe airas-report writes lean.json — the file the record is
checked against. Stages are sanity (the statement type-checks,
sorry allowed) and full (a sorry-free proof); there is no pilot.
See _shared/references/lean.md.On a platform that gives each run a fresh working directory, a later
run cannot see an earlier one's output, so either chain the steps in
one dispatch or stage the earlier runs into it (Seyval:
inputs_from_runs).
Bring the results back under .research/results/, committed,
with .research/results/.provenance.json declaring per results
directory the execution_id and commit_hash from step 2.
verify_paper_values pins its provenance cross-check to that file and
treats a missing declaration as a mismatch, so results that arrive any
other way fail verification. If the same experiment ran more than
once, declare the run that should be reported and tell the user the
others exist (the selection is reviewable at verification).
Output: committed results under .research/results/ — eval_inputs/,
metrics.json and the evaluation report for an experiment, lean.json and
the build log for a proof — with their provenance manifest.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/analyze-resultsRead imported experiment results, author the analysis, and produce the figures (verifiable charts and method diagrams). Use to analyze experiment outputs or make the paper's figures./auto-researchEnd-to-end automated research with the AIRAS integrity flow — the paper is preregistered (claims, criteria and expected results frozen in git, on top of the experiment code) before any pilot or full run, and every reported number is realized and verified from run outputs afterwards. This skill holds only the ordering and the rules that span steps; each step's contract lives in its own skill. Use when the user wants to run an AIRAS research project start to finish, or asks where in the flow they are or what comes next./hypothesize-and-designRead the fetched papers in .research/sources/, then author a falsifiable research hypothesis and an experimental design that fixes run ids, metrics, models, datasets and the compute environment. Use to create or rework a hypothesis and its experimental design./preregister-paperWrite the preregistration paper (prereg main.tex) for a research repository whose hypothesis, experimental design and experiment code already exist, before any pilot or full run. Hypothesis, predictions and design are written in full as numbered claims with criteria and predicted intervals; Results and Discussion stay stubs until experiments fill them, and every experimental number is an \airasval placeholder. Use when the user wants the paper declared before experiments (the AIRAS integrity flow), asks for a prereg PDF, or says 事前登録 / preregister / "write the paper first"./publish-paperTake a frozen AIRAS paper from experiment results to the paper of record — realize every stated number from declared values, compile and verify locally until green, then push and let CI re-run the verification, handing the user the CI-built PDF artifact and report. Use after experiments to fill, check, and publish the paper, or just to check whether the numbers hold up (stop before pushing)./search-papersSearch for literature or fetch specific papers by arXiv ID or DOI through the repository's CI into .research/sources/. Use to bring literature on a topic to hand; reading and distilling it happens in hypothesize-and-design, which returns here whenever it needs more.npx claudepluginhub airas-org/airas --plugin airasOther plugins' skills for the same job