/kapso:kapso-buildfrom kapso
Creates a Kapso campaign from a user's build request by silently discovering repository data, writing a brief with objective and metrics, getting evaluation approval, and launching the campaign.
Ships in kapso. 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.
Kapso runs experiments toward an objective and delivers the best solution: it is not a metric-improvement tool, and "improve the AUC" is one shape of objective among "build a pipeline that produces X and prove it" or "make this pass the benchmark". The objective is the user's; your job is to make it buildable and verifiable with as little talking as the repository allows: discover everything first, in silence, then speak once.
What the user wants to exist at the end, and how they would know it is done. Both may be vague ("a better churn model", "a working ingestion pipeline"): you propose the measurable form rather than asking for it. A wish that names no task ("build something useful here") gets the same one message as any other (section 4): the findings, a proposal line that says what will exist and what it does for the user, one alternative line, the brief, and the one approval question it ends on — within the same ten lines. The evaluation is built as the evaluation skill says: a repository with no data gets fixtures the proposal makes and an evaluation that scores against them, so the campaign starts the moment the user says go.
Read the repository: README and docs, data files and directories, notebooks and
their metric cells, test suites, scripts named like evaluators or benchmarks, CI,
dependencies. Infer the domain and the harness that fits (kapso harness list --config kapso-config.yaml; or confirm the one loaded), and read that harness's
setup page (instructions/setup.md): what a task statement in this domain must
record becomes questions to the repository, not to the user. Note which experience
sources exist (kapso experience list --config kapso-config.yaml: a bank with
cards, a Leeroopedia key, an ingested index).
Hand what you found to the kapso-evaluation skill (/kapso:kapso-evaluation),
which owns the one thing the product promise rests on: an evaluation Kapso can
protect. Its three branches: an evaluator found is audited against the contract and
run once for the baseline; a criterion without an evaluator gets one built from the
criterion and the data; neither gets candidate criteria proposed from the
repository with their evidence, one recommended. This happens before the user hears
anything, except the single approval it needs. When the user asks what the
candidates were, the comparison goes in one fenced block (a table of the criteria,
their evidence and figures), which the message's line budget exempts, and the prose
around it is at most three lines — the recommendation and why, ending there with no
question: the user asked to see, and the one approval was already asked.
What was found (data, evaluator, baseline, domain), with the evidence each rests on
("evaluate.py prints macro-F1 on data/dev.csv, 1,204 rows"); the brief as the
file kapso-brief.md; the evaluation's protocol for approval when one was built or
changed; and the single thing the user must confirm or edit. Short: the brief is the
message, and the prose around its fence is at most ten lines in all — one line for
each thing found (the data, the evaluator, the baseline, the domain), its evidence in
that same line; when an evaluation was built or changed, two lines, what it measures
and how it was checked; and the one line that asks the approval. The four findings
are the message's worth and are never dropped for brevity: the data with its rows and
label, the evaluator with what it prints on what, the baseline with the figure it
measured, the domain with the harness loaded — each a fact the user did not have, with
its figure or file. A baseline is a figure the evaluator printed in this session on the
shipped model, never a number a comment, a README or a generator reports: "unmeasured"
is a step skipped, not a finding. No headings, no sub-bullets, no paragraph, and never a
line that cites this skill's or another skill's rules to the user: a line each. The brief, one field per line, indented lines
continuing the field above:
Objective Raise the churn model's out-of-sample AUC above 0.85
without changing the prediction contract.
Measured by evaluation/evaluate.py, ROC AUC on the held-out rows
Baseline 0.797 (logistic regression, bootstrap SE 0.010)
Target 0.85
Rules
- the evaluator is never modified
- no fitting on the held-out rows
Budget minutes=60 experiments=10
Harness predictive-modelling
Experience mine, leeroopedia
Objective is required; whatever the user gives goes in verbatim, and the
whole brief reaches the judge, which stops the campaign only when the objective
reads as fully achieved and scores every experiment from what the evaluation
prints. So name the metric and a number, and the judge.Baseline is measured when that is cheap, else unknown. Target is the user's,
or proposed with headroom below any ceiling you can see and the reasoning in one
line; a target the data cannot reach ends in the inbox, not in a result.Harness names the domain layer (a bundled name, a directory, a git reference);
Experience names what the build is served, each source existing already
(kapso experience add makes one).The user edits a line or says go. A second round only when the edit changes the evaluation. Never ask twice; never say you cannot proceed.
kapso doctor build --json --config kapso-config.yaml
kapso build --brief kapso-brief.md --repo . --evaluation evaluation --data data --output ../churn-campaign --budget-minutes 60 --budget-experiments 10 --config kapso-config.yaml --detach
--evaluation only when an evaluator exists or was approved (it is copied and
protected); without one the campaign builds its own from Measured by.--output is an empty sibling directory, never inside the repository; --config kapso-config.yaml whenever the project root holds that file.kapso watch ../churn-campaign --follow --config kapso-config.yaml; and that WAITING ON YOU is a pause — kapso inbox ../churn-campaign shows the request, and once what its fix line names is in place
kapso inbox reply ../churn-campaign <id> "<note>" --detach answers it
(/kapso:inbox does both). The run outlives your tool call; do not poll it.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub leeroo-ai/kapso --plugin kapso6 skills in this plugin
/kapsoOperate Kapso (PyPI leeroo-kapso), the engine that runs experiments toward a measurable objective, deploys the best solution and learns from every run, from a coding session — launch a build and hand it off, follow it with kapso watch, answer a campaign that is WAITING ON YOU, tell a slow run from a dead one and stop or resume it, learn from a finished campaign into your bank, serve a build or this session the experience it should start from, deploy the winner, and run the harness and experience verbs. Use when the user mentions Kapso or kapso build, watch, inbox, resume, stop, learn, experience, harness, deploy or doctor, asks how a campaign is doing, or says a run died. Do not use for ordinary code edits, for writing the objective and its evaluation (kapso-build does that), for reading a finished run's result (kapso-review does that), or inside a Kapso campaign session, which never launches another campaign./kapso-evaluationGive a Kapso build an evaluation it can protect — audit the evaluator the repository has against the contract, or build one from the success criterion and the data, run the baseline, and get the protocol approved in one message. Use when kapso-build hands over the repository's findings before a launch; called by kapso-build, never from a menu. Do not use on its own, for a campaign already running, or inside a Kapso campaign session./kapso-harnessWrite a Kapso harness for a domain from what the repository already holds, or improve one from a finished run — read the repository in silence, propose the first harness in one message (the domain, the standing rules, the skills, servers and checks the repository evidences, the modules it says nothing about, the tree as it will be written), write it on confirmation, ask one question per silent module, get kapso harness check green, and offer the probe run; for a run, read the trace and propose the smallest edit in the cheapest form. Use when the user says write a harness for X, make a harness, the attempts keep doing Y, improve the harness from this run, or runs /kapso:harness new or improve. Do not use for the harness verbs check, list, add, update, remove and export on their own (the kapso skill), for stating a build's objective (kapso-build), or inside a Kapso campaign session./kapso-reviewRead a finished Kapso run and say what it did — the winning branch's diff in outline, the evaluation evidence with its version, the attempts that were voided and why, the ideas rejected, the reviewers' risks, the spend, and the next action in one line. Use when a campaign has finished and the user asks what happened, why this attempt won, what it changed, whether it is safe to merge, or runs /kapso:review; also for the material of a write-up. Do not use for a campaign still running (the kapso skill follows it), for writing a harness from the run (kapso-harness improve), or inside a Kapso campaign session./kapso-setupSet Kapso up on this machine from nothing to a green doctor, in one pass — detect what is there, install the leeroo-kapso package and the coding-agent CLIs it drives, run the logins, write the keys to .env, verify with kapso doctor, and orient the user on the harness and experience to start from. Use when the user says set up kapso, install kapso, get kapso working, runs /kapso:setup, or when any kapso command fails on a missing package, CLI, login or key. Do not use for a package problem unrelated to Kapso, or inside a Kapso campaign session.Other plugins' skills for the same job