/airas:hypothesize-and-designfrom airas
Reads fetched papers from .research/sources/, then authors a falsifiable research hypothesis and experimental design fixing run ids, metrics, models, datasets, and compute environment. Use to create or rework a hypothesis and its experimental design.
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.
Starts from the .research/sources/<id>/ that search-papers had CI fetch.
This is a loop, not a pass: read, hypothesize, notice what the
literature does not settle, go back to search-papers for it, and
refine until the hypothesis rests on passages you have actually read.
.research/sources/<id>/fulltext.txt,
with the search row in metadata.json) with your own tools — a paper
runs to 80k+ characters, so read in parts or search within the file.
Keep, per paper the research will rest on, its source id and the
passages that matter (page and verbatim quote): preregister_record
takes exactly these (passages get ids p1, p2, … within a source), so
note which passages the hypothesis answers (its gap) and which the
design follows; record both as quoted_passage_ids. A quote is
matched against the snapshot ignoring line breaks, end-of-line
hyphenation and ligatures, so copy it as the extracted text has it;
keep it to one passage on one page (pages are separated by form
feeds and a quote cannot span two).arch (x86_64/aarch64) — the design and later
the dependency lockfile depend on it.module.Class.method that carries it. A step the upstream cannot
carry unmodified is yours to write, and the map says so: which
upstream function was considered and why it cannot be used — a
deviation from the method, declared in the design's summary and
the hypothesis's notes. Use the upstream for every
step it can carry; a map that leaves most steps to you goes to the
user before any code is written. Then the knobs: from the repository
at the
commit you will pin, list
the keys of its config files, the keyword defaults of the entry
points you will call, its module constants, and the prompt or
resource files it reads (by reading the code until the inventory
tool lands). Classify each as varied (in params, on the grid),
fixed away from the upstream default (with the passage stating the
default and the reason), or kept at the default (with the reason);
a knob you decide not to consider is an assumption, not an omission.
Declare all of it in the record: the repository goes under its
paper's repositories (url, commit, files naming the whole
package, method_entry = the module.Class.method whose call runs
the method), and the design carries repository_integration
(repository_id, extension_points = upstream names your adapter
subclasses, overrides or replaces, written as the defining module's
module.Class — scigym.api.api.LLM, not the re-export
scigym.api.LLM — arguments = one module.Class.method.arg per
knob you set, fixed or on the grid alike: the argument of the
function that consumes the value — the upstream's, or a src/
function's for an own knob (seed, workers, a threshold); each is a
key of every run's params holding the value that reaches the
argument unchanged). The run hook records what every src/ function
and the upstream were called with, and the gate compares each run's
params with it.get_prompts(step="hypothesis_and_design") returns: it states what a hypothesis, a claim (statement, rationale,
criterion, predicted interval, cited passages), a design and a run
must contain, and ends in the exact literature and hypotheses
arguments preregister_record takes. retrieve_models /
retrieve_datasets list curated candidates; search_huggingface_hub
when they lack what the design needs. A gap the papers at hand cannot
confirm is a reason to go back to search-papers, not to assume.
Write the prose in the user's working language; metric names stay
English identifiers. The design's summary states every choice that
fixes the hypothesis space, what the method gets to see, how it
selects and how it is scored — enough to re-implement the run without
the code — and lists each departure from the paper's method as
paper: … / here: … / why: …. Depart only where the paper's form
cannot be run; declaring a departure does not excuse it..research/design.json — exactly the literature and
hypotheses arguments preregister_record will take — and commit
it.Output: hypothesis + experimental design, and the papers they rest
on by source id with their quoted passages, committed as
.research/design.json. Nothing is in the record yet:
write-experiment-code reads the draft next, and its platform sanity
run shows what the design missed (a value read, a function called, a
server started outside the platform) — fold that back into
design.json, then preregister-paper passes it to
preregister_record, which freezes it into the canonical
.research/record.json and removes the draft in the same commit, after
which revision is append-only. What the declarations cannot carry — the
gap in prose, why each margin and interval was chosen, the compute
target, the run-to-claim table — goes into the hypothesis's notes, so
it is frozen with the record and a fresh session reads it from the
clone.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub airas-org/airas --plugin airas9 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./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)./run-experimentsExecute committed experiment code on the chosen compute platform (GitHub Actions or Seyval) and bring the outputs back into the repository with provenance. Use to run, monitor, or re-run experiments in an AIRAS experiment repository./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.Other plugins' skills for the same job