| Inspect known instances | zelma instances list --json | Registry inventory for the current repo. |
| Check live status | zelma instances list --live --json | Read-only live/unreachable check; does not persist live status. |
| Create a managed Codex pane | zelma instances create [path] --json | Omit path to use the repo root; if a live active instance already owns that path, the command returns skipped with the existing instance instead of launching a duplicate. |
| Preview create inputs | zelma instances create [path] --dry-run --json | Use before mutating create when path or Codex binary resolution is uncertain. |
| Detect/adopt manual Codex panes | zelma instances detect --json | Upserts detected candidates/active records through zelma. |
| Explain detect evidence | zelma instances detect --json --explain | Use when evidence diagnostics are needed. |
| Focus a known instance by numeric id | zelma instances focus <id> --json | Use ids from instances list; <id> is repo-local and numeric. |
| Send a message to a known instance by numeric id | zelma instances send <id> [message] --json or zelma instances send <id> --stdin --json | Use ids from instances list; send revalidates active Codex readiness and never echoes the message body. |
| Observe pane screen/scrollback | zelma instances buffer <id> --json | Read-only bounded zellij pane observation; use --tail <lines> to reduce output. |
| Observe Codex transcript events | zelma instances transcript <id> --json | Read-only bounded Codex transcript observation for instances with codex_session; use --tail <events> to reduce output. |
| Preview stale cleanup | zelma instances cleanup --json | Read-only proposal. |
| Confirm stale cleanup | zelma instances cleanup --confirm --json | Only after explicit user intent to remove stale records. |