Skip to content
Mjolnirterminal council

CLI and keyboard reference

OptionPurpose
--cwd PATHPrimary workspace; defaults to the current directory
--additional-directory PATHAdd an absolute workspace root; repeatable; alias --add-dir
-p, --print [PROMPT]Run one headless prompt; omit the value or pass - for stdin
--output-format text|json|stream-jsonSelect headless output
--permission-mode manual|auto|yoloSet headless permission behavior
--thor MODELOverride Thor for one headless invocation
--loki MODEL|disabledOverride or disable Loki for one headless invocation
--eitri MODEL|disabledOverride or disable Eitri for one headless invocation
-w, --worktree [NAME]Create or reuse a linked worktree
--fullscreen-tuiUse the alternate-screen UI instead of inline mode
--debug-file PATHWrite Mjolnir diagnostics without corrupting the TUI
--agent-stderr PATHCapture ACP adapter stderr
--no-update-checkSkip the startup release check
--anvil-path PATHUse a development Anvil binary
Terminal window
mj resume [SESSION_ID]
mj resume --list --format json --cwd /work/project
mj server [--hostname HOST | --tailscale]

See Sessions, worktrees, and resume and Remote control for behavioral boundaries.

CommandPurpose
/mjconfigEdit Council, accounts, ACP servers, review, and appearance
/modelsOpen configuration on the Council model tab
/councilShow the active role, model, adapter, permission, and usage state
/reviewChoose a recent, uncommitted, or HEAD findings-only review
/review recentReview the latest change-producing turn
/review uncommittedReview all current worktree changes
/review headReview HEAD

The interactive autocomplete is the source of truth for commands in the installed version.

  • Enter sends a prompt or accepts the selected action.
  • Up/Down navigate autocomplete and permission choices.
  • PageUp/PageDown scroll the transcript.
  • F1–F9 edit visible Thor session controls.
  • F10 toggles help.
  • Esc dismisses autocomplete, clears input, or cancels a permission prompt.
  • Ctrl-C cancels the active Thor or Eitri request; idle Ctrl-C quits.
  • Ctrl-D quits when input is empty.
  • Ctrl-R starts or stops microphone dictation when the voice worker is available.

Long permission commands, descriptions, and options must remain reachable; a truncated prompt is a UI bug, not an instruction to guess.