/airas:analyze-resultsfrom airas
Analyzes experiment results and produces publication-ready figures. Reads imported metrics, authors analysis in Japanese, and builds verifiable Vega-Lite charts from metric references.
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 imported results under .research/results/ in a clone.
Produce the metrics mechanically with airas-eval. Metrics are never computed by hand: the template ships a Makefile wired to airas-eval, a trusted, versioned scoring layer that computes a fixed metric set per task type from the raw predictions — run
make evaluate RUN_ID=<run_id>
per imported run (the plan lives in .research/evaluation.json;
make list-tasks shows what each task type returns). On contract
errors, make validate-inputs RUN_ID=<run_id> pinpoints them
without scoring. The report includes metrics, curves, skipped
(uncomputable metrics with reasons — report these, never fill them
in yourself) and provenance. Commit the evaluation outputs.
Read the results: fetch_experiment_results with the clone as
local_path (after import_run_outputs and a pull) — per run its
metrics, evaluation report, figures and provenance entry.
Author the analysis yourself, against the hypothesis and the
design in the record: for each claim, what its metric shows and
whether the preregistered criterion is met, then what the numbers
show beyond the claims — including when they do not show what was
hoped. Read the experiment code in the clone before explaining a
result. Write it in Japanese. The analysis is evidence, not advocacy.
get_prompts(step="experiment_analysis", local_path=...) renders
the guide with each claim's criterion, predicted interval, observed
difference and verdict filled in from the clone; with a model at
hand, analyze_experiment(local_path, model) has the model answer
the same prompt. Either way the result is a draft to check against
the numbers, not the analysis itself.
Result charts: build a Vega-Lite spec and render_chart it
(pass the clone as local_path) to
.research/results/chart/<name>.png — PNG, not PDF. Data numbers
must be metric references ("metric:run_1.accuracy"), never
literals: the tool resolves them from .research/results/ itself,
so a plotted point cannot be invented. The tool appends the chart's
spec to .research/record.json as its declaration and commits both
in the same step — verification re-renders every chart from its
declared spec and fails on differences or undeclared chart files.
Bars, areas and rects are drawn from zero: when a scale.domain
excludes zero the tool declares them with clip: true (so what is
verified is what was drawn), but look at the PNG before citing it —
labels, ordering and axis ranges are yours. A chart that needs
changing gets a new path, or a superseding declaration via
append_to_record and a re-render; the old declaration stays.
Render charts before update_record, or re-run update_record
afterwards: the chart declaration is a new record commit, and
values.tex must be rendered against the latest one.
Method diagrams: write text notation (mermaid / graphviz / d2)
and render_diagram to .research/results/diagram/<name>.pdf.
Commit and push. Reference figures in LaTeX as images/<path> with
the full relative path you were given — two runs can each produce
accuracy.pdf, and only the full path resolves.
Output: an analysis written into the clone, and committed, verifiable figures.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub airas-org/airas --plugin airas9 skills in this plugin
/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)./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