Skip to content

Workflows

This page lists the intended command palette. Some commands are aspirational until their queue item lands; the workflow shape is the contract.

Personal command palette

Run navi from a managed shell to browse repo-owned cheatsheets. Bash, Fish, and PowerShell set NAVI_PATH to:

text
~/.config/navi/cheats

Useful entry points:

bash
navi
navi --print
navi --query "git worktree"
navi --print --query "docs build" --best-match

Managed categories cover WSL path conversion, CachyOS maintenance, Git worktrees, Codex and Claude modes, Yazi shortcuts, Scoop/mise diagnostics, notes, HTTP/API, and docs maintenance. The notes entries require NOTES_DIR; they do not create or choose a notes location.

Daily commands

CommandIntent
naviBrowse the personal command palette and cheatsheets.
pPick or enter a project.
p tOpen or attach a tmux session for a project.
p eOpen a project in the editor.
p yOpen a project in Yazi.
p gOpen a project in lazygit.
p cOpen a project in Codex.
p cl / p claudeOpen a project in Claude through claude-env.
p wChoose a project worktree.
p w add <branch>Create a sibling worktree for a branch.
p w pr <pr>Create a sibling worktree for a GitHub PR.
p w e|y|g|t|c|cl <query>Open a selected worktree in editor, Yazi, lazygit, tmux, Codex, or Claude.
p w rm <query>Remove a clean, non-current worktree.
cxRun Codex in the current repo.
cxiRun Codex with the implementation profile.
cxrRun Codex with the careful read/review profile.
cxdRun Codex with the deep-review profile.
cxqRun Codex with the quiet auto profile.
cxuRun Codex with the ultra profile.
cxpPick a project, then run Codex there.
cxwPick a worktree, then run Codex there.
claRun Claude in the current repo through the managed Fish abbreviation.
pclPick a project, then run Claude there.
wclPick a worktree, then run Claude there.
lgOpen lazygit in the current repo.
yOpen Yazi in the current directory.
navi --query notesShow notes commands that use NOTES_DIR.
noteOpen the notes index.
todayOpen the daily note.
scratchOpen the shared scratch note.
mdpPreview Markdown or run a terminal presentation.
typCompile, watch, or format Typst.
diagramRender Mermaid diagrams.
tldr <command>Show short command examples.
ouch list <archive>Inspect an archive without extracting it.
jless file.jsonBrowse JSON interactively.
numbatRun unit-aware calculations.

Worktrees use sibling directories by default: branch feature/search in ~/code/app becomes ~/code/app-feature-search, and PR 123 becomes a ~/code/app-pr-123-... directory. Removal refuses dirty or current worktrees.

Workflow areas

  • Project launcher: select repos, worktrees, and modes.
  • Shell: prompt, history, completion, and editing behavior.
  • Terminal: consistent font, theme, shell defaults, tabs, panes, and copy/paste behavior.
  • Cross-platform wrappers: open, edit, clipboard, reveal, path conversion, and non-destructive trash commands.
  • Git: CLI helpers, GitHub CLI aliases, lazygit commands, and worktrees.
  • Editors: Zed and VS Code settings, extensions, keybindings, snippets, tasks, and build systems.
  • Agent CLIs: Codex and Claude wrappers plus project selection that keep state on the right filesystem.
  • Notes and writing: daily notes, scratch files, Markdown preview, Typst, presentations, and diagrams.
  • HTTP/API: xh for one-offs and hurl for repeatable request files.
  • Workstation tools: archives, JSON inspection, command examples, binary inspection, calculations, and terminal workspace evaluation.
  • Maintenance: package-manager updates, mise policy, smoke tests, and rollback.