Usage
init creates a blank draft package. scaffold creates the same package shape
from a discovered multi-skill workflow in SQLite telemetry. check runs spec
validation plus selftune’s package-readiness checks to tell you the next
draft-lifecycle step. replay, baseline, report, and publish complete the
package validation and handoff path. create report renders the same measured
package evaluator used by publish as one benchmark-style artifact. create publish re-runs package replay and package baseline before it hands the draft
into watch, rather than jumping straight into description-only evolve.
If you want the smaller lifecycle surface, use selftune verify as the
trust-building front door and selftune publish as the shipping front door.
verify runs the same readiness contract as create check, then emits the
benchmark-style report once the draft is ready. publish delegates to
create publish and starts watch by default unless you pass --no-watch.
create subcommand flags
The low-levelcreate surfaces keep their full expert flag set even when you
mostly use the smaller verify / publish lifecycle commands.
selftune verify lifecycle
selftune verify runs through the following steps:
- Run the same draft-package readiness checks as
selftune create check - Auto-generate missing evidence (evals, unit tests, replay, baseline) unless
--no-auto-fix - If the draft is ready, run the benchmark-style package report
- Recommend
selftune publishwhen verification passes
Auto-fix behavior
By default,verify attempts to repair a failing readiness check automatically
before reporting failure. When a check identifies a gap — missing evals, unit
tests, routing replay data, or a baseline — verify runs the appropriate
sub-command on your behalf and re-evaluates readiness. It will attempt up to
four sequential fixes before stopping.
This means running verify on a fresh draft will often produce a passing result
in a single command rather than requiring you to manually run each remediation
step in sequence.
To skip automatic evidence generation and receive the raw readiness result, pass
--no-auto-fix:
--no-auto-fix when:
- You want to inspect exactly what is missing before generating anything
- You are running
verifyin CI and prefer explicit control over each step - A previous auto-fix attempt produced unexpected output that you want to review
verify flags
Watch gate
Whencreate publish starts watch, it evaluates the resulting watch signal
through a watch gate. If the gate fails, publish is blocked: the skill is
not written to the registry and published is returned as false.
The JSON result includes:
When the gate blocks, the formatted output includes the line:
Recovering from a blocked publish
Run thenext_command returned in the result — it will be a selftune watch
invocation for the skill. Once watch accumulates enough passing signal to
satisfy the gate, re-run create publish.
--ignore-watch-alerts.