Implements a single hypothesis from a vibesys optimize brief: makes the smallest measurable change, commits it, measures via vibesys-cli, and hands off results.
Ships in vibesys. 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.
Read when SKILL.md points to them.
You own one hypothesis (a plan) in one worktree. You never write the plan; you submit jobs linked to it. Your brief names the claim, the pass criteria, the parent commit, the scope, the CLI context flags and your budget. Details of the steps and the handoff are in handoff.md.
Which CLI. Where this skill writes vibesys-cli, run "$VIBESYS_CLI", never the one on
PATH: your shell's PATH may hold another build than the one this run means to use. A run
started by the orchestrator sets it. If it is unset or empty, stop and say VIBESYS_CLI is not set; export it as the absolute path of the vibesys-cli to use.
OBJECTIVE.md in the task directory. Its rules bind you, whatever a measurement says.vibesys:commit, vibesys:measure and the domain skills the brief names.vibesys:commit says: often, with wip checkpoints as you go, and the
candidate as a full commit with Checks: pass. A cheap check on a commit that needs no number:
vibesys-cli submit check <sha> --wait --plan <n>. For the number, follow your brief: if it
grants a budget, vibesys-cli submit measure <sha> --plan <n> and wait for it
(vibesys:measure; a measure without --plan <n> is refused), otherwise return the SHA as
ready for measurement. Then
vibesys-cli compare <sha>, and add --against <sha> when you built on a candidate, to see the
gain over your parent.When your brief has Evidence: and Device jobs: lines (a simulator-led run), climb that ladder
in order instead of measuring: stop at the first rung that fails and hand back its evidence. Submit
only the device jobs the brief lists, each with its --note "Question: <...>. Predicts: <...>.".
The lead cancels any other device job, and its result counts for nothing.
When your brief has Phase contract: and Phase evidence: lines (a megakernel divide-and-conquer run), you
own one phase of a program whose phases share one launch. Change only the code your Scope:
names. Keep the contract: the phase computes exactly what it hands on, in the same layouts, between
the same syncs, within its resource budget. A gain that needs more than that is a boundary
proposal: describe it in your handoff and do not make it. Climb the ladder of Phase evidence: in
order instead of measuring, and stop at the first rung that fails. The window rung compares every
phase's window, not only yours: a cut that reappears in another phase is no gain.
GPUs: stay inside the task's GPU budget. When your change touches how the server launches,
places or shards work, or claims a throughput gain, check per-device use under load and report how
many budgeted devices were busy (GPUs). Your own check and
command jobs take --gpus N: the fewest the step needs.
Any run that drives load, including a short sanity or tuning run, is a vibesys-cli submit command <sha> --image harness -- <argv...> job on a committed wip checkpoint (vibesys:measure says
which image; on a task with [candidate] the harness command runs beside the candidate's server,
and on another task --service and --probe start a server). Do not run benchmarks or servers in your own shell (unit tests and the in-process
microbenchmarks of Work step 2 are the exception), and do not queue more jobs than your
budget allows. While a job is queued, do not poll or stop: wait in the background and go on to your
next step. A job runs the commit it was submitted with and the CLI cannot change it. When a newer
commit of yours makes your own queued job's result useless, cancel that job and submit the newer
commit, or, on a placement with a standing allocation, submit it into the allocation. Leave other
agents' jobs alone (reading the queue).
Keep the host quiet while a measure runs on it. Before any host-heavy local work (a build, a test
suite, a container), run vibesys-cli jobs --state running: while a measure job runs on a
placement on this machine, its samples share the CPUs with your shell, so only read and edit
until it ends. Any local docker run takes --rm --init --user "$(id -u):$(id -g)" and a time
limit inside the container (docker run ... <image> timeout 20m <cmd>), never only an outer
timeout docker run: that kills the docker client and leaves the container running, and a
container running as root leaves root-owned files in your worktree.
.vibesys/, the task's checker or its benchmark.vibesys:commit).OBJECTIVE.md.vibesys-cli did not print.Every turn ends the same way, in this order, and no turn ends any other way:
vibesys-cli submit measure <sha> --plan <n>, wait for it, and run
vibesys-cli compare <sha> (vibesys:measure). A job you submitted is yours to wait for to
the end: a wait that times out (exit 3) is waited on again, never left behind. Only when the
brief says to hand the wait back do you end the turn with it unfinished; then the handoff names
each such job id and what the lead does on each outcome (better, within_noise or worse, a
failed job). A commit you did not measure is ready for measurement, and your handoff says
so. Prose about how fast it should be is not a measurement.compare output), what you learned, and the step you would take next. If you
made no candidate: the blocker and the narrower step.post_handoff, call it with the handoff; your session closes when your
turn ends and no mail waits for you, so a summary written as plain text reaches nobody. Where
there is no such tool, the handoff is your final message.Never end a turn with a prose summary in place of the handoff, with a measurement still to take, with a job you submitted still queued or running (unless the brief says to hand the wait back), or with the handoff written and not delivered. Before you stop, ask whether step 1 was done or excused in the handoff, and whether step 3 was done.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
vibesys, hypothesis-implementation, measurement, optimization
/vibesys:implement-hypothesisfrom vibesys
npx claudepluginhub uw-syfi/vibesys --plugin vibesys14 skills in this plugin
/allocationsUse when jobs of a vibesys optimization wait long in a cluster queue, or before a long stretch of jobs on a placement that queues. Says when to hold a standing allocation with vibesys-cli, how to start one, how to judge renewal from `placement capacity`, how to end it, and how to read `alloc show` honestly. The CLI provides the commands; you decide when to ask, renew and stop./combine-candidatesUse when a vibesys optimize brief asks you to combine several candidates' changes into one new commit on a given base, to merge judged winners for promotion, or to integrate several accepted plans into one measured candidate. Applies each candidate's own change in the stated order, resolves conflicts as the brief says, runs the checks, measures the result with vibesys:measure, bisects a failed check down to the plan at fault, and hands back the commit and anything that could not be applied./commitUse when you commit work in a vibesys optimization: at every working step, before any measurement, and before ending a turn. Defines when to commit, what a commit holds, the enforced message schema (Conventional Commits plus Checks and Plan trailers, with cheap wip checkpoints), and which commits may be measured or promoted. Never touch .vibesys/, the task's checker or its benchmark./create-taskUse when a user describes in their own words what they want to optimize in a repository (the code, the workload, the number that should move, what must stay correct) and there is no `.vibesys/tasks/<task>/` for it yet, or an existing task needs to be made runnable. Turns that description into a task vibesys-cli accepts: a manifest, an objective, a checker and a benchmark, then proves it with real jobs (the base passes, broken code fails, the number is stable) before anyone optimizes against it./judge-candidateUse when a vibesys optimize brief asks you to independently review a candidate commit that claims a gain, before the lead treats it as a win. Read-only: compares the diff with its parent against the claim, checks that the change is on the measured path, looks for gaming of the check or benchmark, and returns pass, fail, unmeasured, or a code-review pass pending a better verdict, with reasons./measureUse when you must measure a commit for a vibesys optimization, compare it with another commit, or read the current best number. Submits check, measure and command jobs to vibesys-cli, which builds and runs the exact commit in a clean checkout and owns the queue, the cache, the verdict and the saved results. Says how to wait for a job, what each wait exit code means, and how to read what came back.Other plugins' skills for the same job