New Agent (⌘⇧N)
Typing claude directly in the terminal is still the most common way. ⌘⇧N is handy for starting several Agents at once, or for starting one in another directory:
- Agent: ⌘1 Claude / ⌘2 Codex.
- Directory: defaults to the current pane’s directory; Tab completes subdirectories.
- Initial task: optional; ⇧↩ inserts a newline.
- More: model and permission mode; → expands it.
- Run in a new worktree (⌥W): off by default; grayed out when the chosen directory is not in a git repository. When checked, gilvt creates a worktree at
<repo>.worktrees/gilvt-<name>-<4 chars>on branchgilvt/<name>-<4 chars>, and the Agent starts inside it. If it cannot be created, the panel stays open with a red error in it, and nothing is started. gilvt never deletes worktrees automatically; clean them up yourself once the session is over. - Command preview: the bottom shows, live, the complete command that will run and where; this line is exactly what gets typed. If the directory does not exist, it turns red and will not run.
↩ / ⌘↩ / ⌘⇧↩ decide where it opens, with the same rules as the “Sessions” overlay. gilvt remembers the Agent, model and permission mode you last chose.