Skip to main content

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-level create 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:
  1. Run the same draft-package readiness checks as selftune create check
  2. Auto-generate missing evidence (evals, unit tests, replay, baseline) unless --no-auto-fix
  3. If the draft is ready, run the benchmark-style package report
  4. Recommend selftune publish when 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:
Use --no-auto-fix when:
  • You want to inspect exactly what is missing before generating anything
  • You are running verify in 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

When create 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 the next_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.
If you have reviewed the watch output and want to publish despite the gate block, pass --ignore-watch-alerts.