| 1 | # klaus guide |
| 2 | |
| 3 | This guide walks the everyday journeys: setting klaus up, launching agent runs, following them, and |
| 4 | seeing their work through GitHub or a valley. Every command, flag and key is in the |
| 5 | [reference](./reference.md); how the pieces fit is in the [design](./design.md). |
| 6 | |
| 7 | ## Setup |
| 8 | |
| 9 | 1. Install klaus ([README](../README.md#install)) and the programs it runs |
| 10 | ([prerequisites](../README.md#runtime-prerequisites)). Authenticate each agent CLI you select on |
| 11 | every machine that runs it, sandbox hosts included. |
| 12 | 2. Optionally run `klaus init`: in a repository it writes `.klaus/config.json` and the worker prompt |
| 13 | template `.klaus/prompt.md`; elsewhere it writes the host config `~/.klaus/config.json`. klaus |
| 14 | works without either. The host config holds what a repository must not choose (self-update, |
| 15 | forbidden terms); a repository's `.klaus/config.json` overrides the rest |
| 16 | ([configuration](./reference.md#configuration)). |
| 17 | 3. Register the repositories you work on, so runs and consults can name them: |
| 18 | |
| 19 | ```bash |
| 20 | klaus project add acme/widget # clone into the projects directory and register |
| 21 | klaus project add acme/site --path . # register an existing checkout |
| 22 | klaus project set-dir ~/src # where project add clones |
| 23 | klaus sync # fetch and fast-forward every registered project |
| 24 | ``` |
| 25 | |
| 26 | 4. If you keep rules that hold across all your projects, point `house_rules` at the file in a |
| 27 | registered project's repository; klaus adds it to every worker's brief and to the reviews and |
| 28 | consults it runs ([`house_rules`](./reference.md#prompts-and-house-rules)). |
| 29 | |
| 30 | ## Coordinator sessions |
| 31 | |
| 32 | Run `klaus` inside tmux. It resumes the most recent coordinator session, or starts one; `klaus new` |
| 33 | always starts a fresh one, and `klaus session --resume <id>` resumes a given one. In a repository |
| 34 | the coordinator gets its own worktree from `origin/<default branch>`; anywhere else it gets a |
| 35 | scratch workspace under `~/.klaus/sessions/<id>/`. Registered projects sync in the background as the |
| 36 | session starts. |
| 37 | |
| 38 | The coordinator is an ordinary interactive agent with `klaus` on its `PATH`. You plan with it; it |
| 39 | researches and writes briefs, and launches runs for work that can proceed in parallel. With |
| 40 | `klaus target acme/widget` (or a project name), launches from a session outside any repository go to |
| 41 | that repository by default. A Claude coordinator's memory directory is shared across sessions |
| 42 | through `~/.klaus/memory`; launched agents start clean. |
| 43 | |
| 44 | ### Choosing backends |
| 45 | |
| 46 | The coordinator and the workers are chosen independently, from `claude`, `codex` and `agy`: |
| 47 | |
| 48 | ```bash |
| 49 | klaus new --backend codex --agent-backend agy # coordinator codex, workers agy by default |
| 50 | klaus launch --backend claude --effort high --prompt-file brief.md |
| 51 | ``` |
| 52 | |
| 53 | Persistent defaults live in `default_coordinator_backend`, `default_agent_backend` and per-backend |
| 54 | `backends.<name>.model`/`effort`. A resumed coordinator keeps its backend; switch with `klaus new`. |
| 55 | Budgets, budget pause and stored-trajectory replay are Claude-only; the |
| 56 | [backend table](./reference.md#backends) lists what else differs. |
| 57 | |
| 58 | ## Launching runs |
| 59 | |
| 60 | ```bash |
| 61 | klaus launch --prompt-file /tmp/brief.md |
| 62 | klaus launch --repo acme/widget --issue 42 --prompt-file /tmp/brief.md |
| 63 | ``` |
| 64 | |
| 65 | Each launch mints a run ID, `<date>-<time>-<8 hex digits>`, fetches the default branch, makes a |
| 66 | worktree on a new branch, installs commit hooks, and starts the agent headless in its own tmux |
| 67 | window. The agent works, runs its checks, commits and pushes; when its turn ends, klaus finalizes |
| 68 | the run: it records cost and outcome, stores the run on the [data ref](./reference.md#the-data-ref), |
| 69 | and removes the worktree. |
| 70 | |
| 71 | **Write the brief to a file.** The agent has the repository but none of the conversation: the brief |
| 72 | is its whole briefing. Name what changes and why, the files and functions involved, what done looks |
| 73 | like, and the constraints. `--prompt-file` passes it verbatim; a brief in a shell argument is |
| 74 | subject to the shell's quoting, which expands backticks and `$VARS` outside single quotes. Briefs of |
| 75 | any length work. |
| 76 | |
| 77 | **Choose the repository** with `--repo`: a registered project name, `owner/repo` or a URL (cloned |
| 78 | under `<worktree_base>/.repos/`). Without it, launch uses the current repository, then the session |
| 79 | target. |
| 80 | |
| 81 | **Model, effort, budget.** `--model` and `--effort` override the backend defaults; `--budget` caps a |
| 82 | Claude run's spend in dollars (default `default_budget`, 5.00). `--reason` labels why a run was |
| 83 | dispatched, for its events and `klaus report time`. |
| 84 | |
| 85 | **Branch names** are `<slug>-<run ID tail>`, the slug taken from the `--issue` title or the brief's |
| 86 | first `# ` heading or line, so `# Fix the healthz timeout` becomes |
| 87 | `fix-the-healthz-timeout-bd92f081`. `--branch` names it exactly. |
| 88 | |
| 89 | **Where agents run.** Agents run locally unless `sandbox_host` names an SSH host: then the worktree |
| 90 | is synced there and the agent runs remotely, while logging and finalize stay local. `--local` and |
| 91 | `--host <name>` override it per launch ([sandbox](./reference.md#sandbox-hosts)). |
| 92 | |
| 93 | How a run delivers follows from the repository's `origin`: on github.com the agent opens a GitHub |
| 94 | pull request <!-- prose-allow: vocabulary --> and the [GitHub pipeline](#runs-on-github) takes over; |
| 95 | anywhere else it pushes its branch ([direct push](#repositories-without-github)), and a repository |
| 96 | that [delivers to a valley](#repositories-that-deliver-to-a-valley) marks it ready there. |
| 97 | |
| 98 | ## Following runs |
| 99 | |
| 100 | ### The dashboard |
| 101 | |
| 102 | `klaus dashboard` is the live view. It lists rows by what they work on: the runs on one GitHub pull |
| 103 | request <!-- prose-allow: vocabulary --> share its row, and the runs on one change share the |
| 104 | change's row. Rows are grouped by whose move it is: |
| 105 | |
| 106 | | Group | What is in it | |
| 107 | | ------------ | -------------------------------------------------------------------------------------------------------------------------- | |
| 108 | | **yours** | runs needing attention (`ATTN`), changes to approve (`READY`) or look at, branches to submit, GitHub rows ready to approve | |
| 109 | | **agents** | rows with an agent running on them | |
| 110 | | **pipeline** | everything waiting on CI, review, a merge or the integrator | |
| 111 | | **done** | merged, closed, integrated, withdrawn, gone, and exited agents | |
| 112 | |
| 113 | `j`/`k` move, `a` approves the selected GitHub row, `o` opens it in a browser, `d` drafts a message |
| 114 | about it into the coordinator's pane, `h` shows hidden done rows, `x` clears finished runs, `tab` |
| 115 | selects a job and `enter` reads it, `q` quits ([all keys](./reference.md#klaus-dashboard)). With |
| 116 | `dashboard.approve_command` set, the footer shows the command that approves the selected `READY` |
| 117 | change, filled in with its handle and head, for you to copy; the dashboard never runs it. |
| 118 | |
| 119 | The dashboard also does work: it polls GitHub (or takes webhooks), dispatches fix runs, checks |
| 120 | pushed branches and valley changes every minute, reports transitions as events, and restarts itself |
| 121 | onto a new `klaus` on `PATH`. |
| 122 | |
| 123 | ### Status, logs and jobs |
| 124 | |
| 125 | ```bash |
| 126 | klaus status # every run: status, change, CI, conflicts, merge readiness; then jobs |
| 127 | klaus logs <run-id> # the live pane, or the formatted saved log (--raw, --replay) |
| 128 | klaus jobs # running and recent consults, reviews and prose passes |
| 129 | klaus jobs show 1a2b --answer |
| 130 | klaus notifications # events since you last asked, summarised |
| 131 | ``` |
| 132 | |
| 133 | ### Events for the coordinator |
| 134 | |
| 135 | Pipeline, valley, consult and review events go to the session's `events.jsonl`. `klaus watch` |
| 136 | streams them: a Claude coordinator arms it in its Monitor tool at startup, so a merge, a landing or |
| 137 | a failed check reaches it between turns. Codex and agy coordinators run `klaus watch --once` as a |
| 138 | background task, which prints the events that arrived and a `next:` line with the command that waits |
| 139 | for the following ones; starting each watch from the last one's `next:` line delivers every event |
| 140 | exactly once. Wait on `change:integrated` rather than polling for a landing |
| 141 | ([events](./reference.md#events)). |
| 142 | |
| 143 | ### Clearing finished runs |
| 144 | |
| 145 | `klaus cleanup --done` (or `x` on the dashboard) removes the runs of finished work and the older |
| 146 | runs of open work, keeping each open item's latest run, anything needing attention, and anything |
| 147 | running. `klaus cleanup <run-id>` removes one run; `--force` also removes a running one, discarding |
| 148 | its uncommitted work. `klaus cleanup --all` tears the session down. Removed runs still count in the |
| 149 | session's cost. |
| 150 | |
| 151 | ## Correcting and continuing runs |
| 152 | |
| 153 | Agents run headless: nothing typed into their pane reaches them. To correct one, let it finish or |
| 154 | remove it, and continue its conversation in a fresh run: |
| 155 | |
| 156 | ```bash |
| 157 | klaus launch --resume-from <run-id> --prompt-file /tmp/correction.md |
| 158 | klaus launch --pr 42 --prompt-file /tmp/review-notes.md # more commits on a GitHub branch |
| 159 | klaus launch --change nxvp --prompt-file /tmp/review-notes.md # more commits on a change |
| 160 | ``` |
| 161 | |
| 162 | `--pr` and `--change` work on the existing branch and keep its change ID; `--change` is for |
| 163 | repositories without GitHub. A Claude follow-up replays the previous run's stored conversation when |
| 164 | it is eligible ([trajectory replay](./reference.md#trajectory-replay)). These launches refuse while |
| 165 | another run works on the same branch or change, naming it; wait for it, or pass `--force-takeover`. |
| 166 | They never remove a worktree that has the branch checked out, nor discard local commits that origin |
| 167 | lacks, except that `--force-takeover` resets the local branch to origin's tip. |
| 168 | |
| 169 | ## Runs on GitHub |
| 170 | |
| 171 | Once an agent opens its GitHub pull request, <!-- prose-allow: vocabulary --> the dashboard follows |
| 172 | it through a state machine: |
| 173 | |
| 174 | ``` |
| 175 | ci_pending → ci_passed → approved → merged |
| 176 | ↓ ↓ ↓ |
| 177 | ci_failed changes req. conflicts / behind |
| 178 | ↓ ↓ ↓ |
| 179 | fix agent fix agent rebase agent / branch update |
| 180 | ``` |
| 181 | |
| 182 | - **CI fails**: a fix agent is dispatched onto the branch (`klaus launch --pr <n>`). |
| 183 | - **Changes requested**, or comments from a `trusted_reviewers` login: an agent addresses them. |
| 184 | - **Conflicts**: a rebase agent resolves them. **Behind the base branch**: the branch is updated |
| 185 | from the base (`gh pr update-branch`) and merged once CI re-runs. |
| 186 | - **Approved, CI green, no conflicts**: merged automatically when `auto_merge_on_approval` is on. |
| 187 | - A merge or branch update that keeps failing moves to `stalled` after three tries and emits one |
| 188 | `pipeline:stalled`. |
| 189 | |
| 190 | The pipeline never dispatches while a fix run is already working on the branch. |
| 191 | |
| 192 | ### Review, approval and merge |
| 193 | |
| 194 | Approval is the operator's: the coordinator never approves. Approve with `a` on the dashboard or |
| 195 | `klaus approve 40 41`, then `klaus merge 40 41` lands them in order, waiting for CI, rebasing a |
| 196 | conflicting one and verifying it (`merge_verify_command`) before its force-push. With |
| 197 | `require_approval` (the default), merge skips or asks about unapproved ones; `--yes` skips them |
| 198 | without asking. |
| 199 | |
| 200 | A comment from a `trusted_reviewers` login dispatches a fix agent even without a formal "changes |
| 201 | requested". Your own conversation comments on an agent's work count only when they start with a |
| 202 | `/klaus fix` line or carry `<!-- klaus-actionable -->` on a line of their own, since you and the |
| 203 | agents post through the same GitHub account. |
| 204 | |
| 205 | Each agent requests review from `pr_reviewer`, or from a reviewer klaus picks from the repository's |
| 206 | collaborators ([`pr_reviewer`](./reference.md#configuration-keys)). |
| 207 | |
| 208 | ### Webhooks |
| 209 | |
| 210 | Polling every 30 seconds is the default. For prompt updates, run a relay that forwards GitHub |
| 211 | webhooks to the dashboard, set `webhook.relay_url` and `webhook.secret_file`, and create the hooks: |
| 212 | |
| 213 | ```bash |
| 214 | klaus webhook check |
| 215 | klaus webhook setup # or: klaus webhook setup widget |
| 216 | ``` |
| 217 | |
| 218 | ## Repositories without GitHub |
| 219 | |
| 220 | When `origin` is not on github.com (a plain SSH remote such as `git@192.0.2.10:widget.git`, or a |
| 221 | local path), the agent pushes its branch instead of opening anything, and starts its final report |
| 222 | with the run ID, the branch and its head. The run shows as `awaiting-integration`, and the dashboard |
| 223 | as `SUBMIT <branch>@<short sha>` until klaus sees the work on the default branch (`INTEGRATED`, or |
| 224 | `INTEGRATED~` for a content match) or the branch deleted (`GONE`). |
| 225 | |
| 226 | A run that ends without delivering, at a session limit, with uncommitted work, or crashed, is |
| 227 | salvaged: finalize commits what is left, pushes the branch without force, keeps the local branch, |
| 228 | and marks the run `needs-attention` (`ATTN`). Continue it with `--resume-from`, `--pr` or |
| 229 | `--change`; the run that takes the pushed work on carries the attention from then on. |
| 230 | |
| 231 | ## Repositories that deliver to a valley |
| 232 | |
| 233 | A direct-push repository whose head carries `policy/valley` or a `policy/instance/` directory, with |
| 234 | a `valley` on `PATH` that offers `ready` and `changes`, delivers to a valley. After the push, |
| 235 | finalize marks the pushed head ready as a version of the run's change: |
| 236 | |
| 237 | ``` |
| 238 | valley ready --change <change-id> --head <pushed sha> <branch> |
| 239 | ``` |
| 240 | |
| 241 | The change ID is the `Change-Id` trailer klaus stamps on every agent commit |
| 242 | ([trailers](./reference.md#commit-hooks-and-trailers)). The valley names the uploader from the |
| 243 | clone's `valley.principal`, which the host sets. The run then reads `READY` (`awaiting-approval`) |
| 244 | until the valley says otherwise: `APPROVED` once you approve it, `INTEGRATED` once it lands, or |
| 245 | `STALE`, `REJECTED`, `CHECKS FAILED`, `CONFLICTING` and the rest |
| 246 | ([valley states](./reference.md#valley-change-states)). You approve on your own machine, with the |
| 247 | valley's own `approve`; `dashboard.approve_command` shows the command for the selected row. |
| 248 | |
| 249 | ### Drafts until review passes |
| 250 | |
| 251 | What you approve is what shows as ready, so a change should not show as ready before its review is |
| 252 | done. Set `"ready_at_finalize": false` (host config, or a project's `.klaus/config.json`) and |
| 253 | finalize records the version but returns the change to draft (`REVIEW`, `awaiting-review`). When the |
| 254 | review passes, the coordinator marks exactly the reviewed head ready: |
| 255 | |
| 256 | ```bash |
| 257 | klaus ready nxvp --head 1a2b3c4 |
| 258 | ``` |
| 259 | |
| 260 | `klaus ready` refuses when the change has moved to another head since the review, and while any run |
| 261 | is working on the change. |
| 262 | |
| 263 | ### Follow-ups on a change |
| 264 | |
| 265 | Every follow-up on a change goes through `klaus launch --change <handle|change-id|run-id>`. The run |
| 266 | works on the change's branch and keeps its change ID; launch first returns the change to draft so |
| 267 | nobody approves it mid-rework, and finalize marks the new head ready again as the next version. |
| 268 | Because a valley lands a change as one commit under its head message, the agent amends the head |
| 269 | commit (or ends with a commit describing the whole change), never merges another branch in, and |
| 270 | pushes with a lease on the head it started from, so a push someone made meanwhile makes its push |
| 271 | fail rather than be lost. On the dashboard the follow-up joins the change's row. |
| 272 | |
| 273 | ### Restack conflicts |
| 274 | |
| 275 | After each landing the valley's restacker rebases ready changes onto main. When that conflicts on a |
| 276 | change klaus owns, the dashboard (or `klaus restack-conflicts` once, without a dashboard) returns it |
| 277 | to draft and dispatches a run that rebases onto `origin/main`, resolves the conflicts and pushes; |
| 278 | finalize marks the result ready. It acts once per set of inputs, at most three runs per change until |
| 279 | a clean restack, and never on a change it does not own or one that sits on other changes. When it |
| 280 | stops short, it emits `change:restack-stalled`, and the change becomes yours. |
| 281 | |
| 282 | ### Failed checks |
| 283 | |
| 284 | The valley host runs a ready change's required checks. klaus shows them in the CI column (`CI …`, |
| 285 | `CI ✗`, `CI ✓`), emits `change:checks-failed` and `change:checks-passed`, and dispatches a run to |
| 286 | fix each failed head of a ready change klaus owns, as for failing CI: the brief names the failed |
| 287 | checks, says how to read the worker's build output with `valley telemetry`, and has the run build |
| 288 | every check `valley checks --names origin/main HEAD` lists before it pushes. It stops after three |
| 289 | failed attempts until the checks pass. `klaus failed-checks` does the same once, without a |
| 290 | dashboard. |
| 291 | |
| 292 | ### Working a knot |
| 293 | |
| 294 | On a valley project, `--issue` takes a knot from the project's plan graph, by its ID (`oc-`, `bd-`, |
| 295 | `ida-` or `qn-` and seven hex digits) or as `<project>:<id>` for another project on the same valley: |
| 296 | |
| 297 | ```bash |
| 298 | klaus launch --issue <knot-id> --prompt-file /tmp/brief.md |
| 299 | ``` |
| 300 | |
| 301 | Launch reads the knot, its parents and comments through `valley knot`, appends them to the brief as |
| 302 | untrusted project notes, names the branch from the knot's title, and claims the knot for the run. |
| 303 | Finalize links the change to the knot and releases the claim; when the dashboard sees the change |
| 304 | land, it comments on the knot and closes it if nothing else keeps it open |
| 305 | ([knots](./reference.md#knots)). |
| 306 | |
| 307 | ### Tracking existing work |
| 308 | |
| 309 | `klaus track` adds work no agent of the session made to the dashboard and `klaus status`, GitHub |
| 310 | work and valley changes alike; `klaus untrack` removes it: |
| 311 | |
| 312 | ```bash |
| 313 | klaus track 405 acme/widget#406 # GitHub, by number, owner/repo#N or URL |
| 314 | klaus track site:vpkz # a valley change, by <project>:<handle> |
| 315 | klaus untrack 405 site:vpkz |
| 316 | ``` |
| 317 | |
| 318 | ## Cross-model review |
| 319 | |
| 320 | Same-family review shares blind spots, so klaus reviews with another model family than the one that |
| 321 | wrote the code. The `_pre-review` an agent runs before delivering already does so. For a second |
| 322 | opinion on open GitHub work: |
| 323 | |
| 324 | ```bash |
| 325 | klaus review 303 # reviewer family chosen by cross_review |
| 326 | klaus review 303 --backend codex |
| 327 | klaus review 303 --post # submit one COMMENT review |
| 328 | ``` |
| 329 | |
| 330 | The reviewer reads only the diff, title and description, read-only, in an empty directory. A posted |
| 331 | review is a second opinion, never an approval: its inline findings feed the trusted-review fix loop, |
| 332 | and `klaus review` refuses to post twice on one head or beyond `cross_review.max_rounds` |
| 333 | ([cross-model review](./reference.md#klaus-review)). |
| 334 | |
| 335 | ## Prose rewrites |
| 336 | |
| 337 | Beside its peer review, `_pre-review` has another model family rewrite the prose a change adds (its |
| 338 | Markdown, READMEs, files `pre_review.prose.paths` matches, and the head commit message), and a third |
| 339 | fact-check the rewrite. It prints each rewrite with any fact-check failure and saves the passing |
| 340 | ones as a patch for `git apply` and a message for `git commit --amend -F`. Nothing is applied for |
| 341 | the agent, and the pass never fails `_pre-review`. Each pass is a `prose` job; finalize marks each |
| 342 | rewrite applied or rejected by whether the worktree has it. |
| 343 | |
| 344 | ## Consulting other models |
| 345 | |
| 346 | `klaus consult` asks another model family a read-only question, without a worker, worktree or |
| 347 | branch: |
| 348 | |
| 349 | ```bash |
| 350 | klaus consult --role critic --file plan.md --thread auth "Critique this plan" |
| 351 | klaus consult --repo widget "Where is the retry policy decided?" |
| 352 | klaus consult --panel "Polling or webhooks for build status?" |
| 353 | klaus consult --thread design "Draft the migration plan" & # then: klaus jobs show <id> --answer |
| 354 | ``` |
| 355 | |
| 356 | Roles are `partner`, `critic`, `reviewer`, or your own system prompt. `--thread NAME` keeps a |
| 357 | conversation per topic in the session. `--repo` reads a registered project as origin's default |
| 358 | branch has it, through a fresh snapshot, never the clone's working tree. `--panel` asks every other |
| 359 | installed family at once. Each call is a job, listed by `klaus jobs` and the dashboard |
| 360 | ([details](./reference.md#klaus-consult)). |
| 361 | |
| 362 | ## Budget pause and resume |
| 363 | |
| 364 | Budget-paused work waits in a draft GitHub pull request <!-- prose-allow: vocabulary --> labelled |
| 365 | `klaus:budget-paused`. When a Claude agent reaches its `--budget`, klaus commits what is |
| 366 | uncommitted, pushes the branch, opens or updates the draft with a comment saying how to continue, |
| 367 | and cleans up, rather than discarding the work. The dashboard shows it as budget paused, awaiting |
| 368 | your decision. To resume: |
| 369 | |
| 370 | ```bash |
| 371 | klaus launch --pr 42 "continue the work" |
| 372 | ``` |
| 373 | |
| 374 | The new agent replays the paused conversation when eligible, and its finalize removes the label |
| 375 | (emitting `agent:resumed`). Close the draft to abandon the work, or push commits to redirect it. |
| 376 | |
| 377 | ## Where agent time goes |
| 378 | |
| 379 | ```bash |
| 380 | klaus report time # the last week, every session |
| 381 | klaus report time --since 2w --repo widget |
| 382 | klaus report time --current --json |
| 383 | ``` |
| 384 | |
| 385 | The report sums runs by dispatch reason, time by phase, checks by kind, idle time between a change's |
| 386 | runs, time from a run to approval, follow-ups per change, consult and review time, and cost where |
| 387 | known ([report fields](./reference.md#run-fields-on-events)). |
| 388 | |
| 389 | ## Keeping klaus up to date |
| 390 | |
| 391 | A host can follow a branch of this repository without a system rebuild. In the host config: |
| 392 | |
| 393 | ```json |
| 394 | "self_update": { "repo": "git@valley-host:~/the-valley", "branch": "main" } |
| 395 | ``` |
| 396 | |
| 397 | Then run `klaus self-update` from a timer: nothing notifies the host when the remote branch moves. |
| 398 | It resolves the branch's tip, refuses (changing nothing) unless the flake at that commit offers |
| 399 | `packages.<system>.klaus`, builds exactly that package, smoke-tests it, and installs it into your |
| 400 | nix profile as the element `klaus`. Each step prints one line, so the timer's journal reads as a |
| 401 | history. A running dashboard restarts onto the new klaus by itself; running agents finish on the |
| 402 | klaus they started with. |
| 403 | |
| 404 | ```bash |
| 405 | klaus self-update --rollback # back to the previous klaus; again to return |
| 406 | klaus self-update --pin # hold the current klaus until --unpin |
| 407 | klaus self-update --retry # rebuild a tip that failed before |
| 408 | ``` |
| 409 | |
| 410 | `klaus self-update` installs klaus; `valley self-update` is the valley CLI's own command and does |
| 411 | not touch klaus ([self-update](./reference.md#klaus-self-update)). |