Documentation Index
Fetch the complete documentation index at: https://docs.automagik.dev/llms.txt
Use this file to discover all available pages before exploring further.
Session Commands
Thegenie command is the primary entry point. Running it from any folder creates or attaches a tmux session named after that folder.
genie
Start or attach to a Genie session for the current directory.
genie from ~/projects/myapp creates a session named myapp.
Terminal
Options
| Flag | Description |
|---|---|
--session <name> | Override session name (instead of folder-based) |
--name <name> | Set agent name for the session |
--dir <path> | Override working directory |
--reset | Reset the session (kills existing, starts fresh) |
Session Naming
Sessions are named afterbasename(cwd). When multiple folders share the same basename, a 4-character hash is appended for disambiguation:
Terminal
The hash suffix is deterministic — running
genie from the same path always yields the same session name, so reconnecting from a new terminal attaches to the original session rather than starting a second one.Session with Teams
When a team is active, the session integrates with Claude Code’s native team features:Terminal
genie --version
Print the installed Genie version.
Terminal
See also
Team
Pin a team to a shared tmux session with
--tmux-session.Spawn & Lifecycle
Spawn agents into the current session.
Messaging
Send messages between agents running in the session.
Observability
Inspect Claude sessions stored in PostgreSQL.