/peiraloop:run [--resume] [--new-evaluator] [--allow-underpowered]from peiraloop
Start or resume a peiraloop experiment run: an agent proposes one change per trial in an isolated, sandboxed worktree, the protected evaluator measures it against the current best, and code accepts, rejects or marks it inconclusive until a budget or stop rule ends the run. Use when the user invokes /peiraloop:run, or asks in their own words to run or resume a peiraloop experiment. Never use it for a request that does not mention peiraloop. Arguments: --resume to continue an interrupted run; --new-evaluator only after the user confirmed the evaluator change; --allow-underpowered only after the user accepted a noisy evaluator.
Ships in peiraloop. 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.
Run the experiment defined in .peiraloop/spec.json.
node ${CLAUDE_PLUGIN_ROOT}/core/cli.mjsCurrent state:
!node ${CLAUDE_PLUGIN_ROOT}/core/cli.mjs preflight
Steps:
/peiraloop:init and stop. If a run is already running, show its status and stop.run_in_background: true), because a run takes up to the time budget:
node ${CLAUDE_PLUGIN_ROOT}/core/cli.mjs run <ARGUMENTS>
Pass --new-evaluator or --allow-underpowered only when ARGUMENTS contains them. If the run refuses because the evaluator changed or is too noisy, explain why and ask the user before retrying with the flag.agent_error. In that case, ask the user to start the run from a terminal with peira run (see the README), and stop.status.report and summarize it for the user:
apply (a branch at the best commit, nothing merged) only if the confirmation passed. Do not run it unless the user asks.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub kiyeonjeon21/peiraloop --plugin peiraloop4 skills in this plugin
/initSet up a peiraloop experiment in this repository: turn the user's goal ("make X faster while tests pass, budget 1 hour and $5") into .peiraloop/spec.json with an objective, a trustworthy evaluator command, constraints, an editable scope, protected evaluator files and a budget, then validate it with a calibration run. Use when the user invokes /peiraloop:init, or asks in their own words to set up or define a peiraloop experiment. Never use it for a request that does not mention peiraloop./reportExplain the results of a peiraloop run from its evidence: the confirmed improvement against the baseline, every trial with its outcome and interval, cost and time; and help reproduce a result or create a branch at the best commit. Use when the user invokes /peiraloop:report or asks about the results of a peiraloop run. Never use it for a request that does not mention peiraloop./statusShow the progress of the current or latest peiraloop run: trials so far and their outcomes, the best verified value, time and estimated cost against the budget, and the trial in flight. Use when the user invokes /peiraloop:status or asks how a peiraloop run is going. Never use it for a request that does not mention peiraloop.