nextv1.4.0

CLI

Every kraft verb, grouped by what it does.

kraft with no arguments starts the server. Every other command talks to a running server. Verbs live in four groups: item acts, view reads, repo manages repositories and their worktrees, and admin runs this machine's server. Typing an old flat verb (kraft list) prints where it moved.

kraft <group> <verb> --help prints the flags for one verb. Each group page below lists every flag. Wherever a command takes a work item ID, you can omit it when you run the command from inside that item's worktree.

In this section

  • Item verbs: file, approve, reject, pause, resume, retry, skip, escalate, and set policy on a work item.
  • View verbs: read the board, follow a running item, and review its diff and documents.
  • Repo verbs: connect repositories and reach their worktrees.
  • Admin verbs: run, check, update, and configure this machine's server.

Output format

Every read and action verb accepts --json, which prints the raw API payload, the same value kraft admin mcp hands an agent. These verbs do not:

VerbUse instead
view watchkraft view events --json (watch redraws a board rather than returning a value)
repo pathkraft view show --json (path prints one plain line meant for cd)
admin start, stop, restart, updateNone; these print status lines.
admin install-service, uninstall-serviceNone.
admin mcp, admin permission-hookNone; these speak a protocol on stdio.

kraft view logs --json prints NDJSON, one object per line, because a stream has no end on which to close an array.

Shell completion

kraft completes verbs with argcomplete, in any shell argcomplete supports. Register it by adding eval "$(register-python-argcomplete kraft)" to your shell's rc file.

Copyright © 2026