Skip to main content
The CLI is SelfTune’s operational API. The agent skill and Desktop app use the same runtime. Use it directly when you need repeatable automation, structured output, or an environment without a desktop session.

Run without a global install

Examples in the reference use selftune. Prefix them with npx selftune@latest when no executable is installed on PATH.

Start with intent-level commands

Use --json when a command supports it and another program or agent will consume the result. Treat low-level evolution, evaluation, and orchestration commands as debugging or expert surfaces rather than the default workflow.

Automation rules

  • Pin or record the SelfTune version used by CI.
  • Run previews before commands that can write a skill.
  • Separate local analysis from remote upload.
  • Preserve artifacts and exit output needed to reproduce a decision.
  • Do not store Cloud or Remote Library tokens in command history or source.
See the CLI reference for command-level documentation.