1npx -y kimaki@latest
┌──────────────────────────────────────────────────┐ Discord server │ Your machine │ ┌──────────────────┐ │ │ │ #web-app ────────┼──────┼──▶ /code/web-app ──▶ OpenCode session (thread) │ │ #api ────────────┼──────┼──▶ /code/api ──▶ OpenCode session (thread) │ │ #docs ───────────┼──────┼──▶ /code/docs ──▶ OpenCode session (thread) │ └──────────────────┘ │ ▲ │ │ thread = session │ │ reads, edits, runs commands │ ▼ │ ▼ in the project directory │ agent replies ◀───────┼──── AI agent (any model, your subscriptions) │ └──────────────────┘ └──────────────────────────────────────────────────┘
/login, pick a provider, choose OAuth, and authenticate with your subscription. Kimaki authenticates against the provider the same way the native CLIs do, so subscription inference works and per-token costs show as zero. You can even add multiple accounts and Kimaki rotates between them on rate limits.. queue and even edit it later to update the queued text.. btw or run /btw./new-worktree moves a session into an isolated folder mid-plan so it never touches your main checkout; /merge-worktree rebases the commits back into your default branch (and asks the agent to resolve conflicts)./diff generates a shareable URL to review changes in a real diff viewer from your phone or browser.! to run a shell command in the project directory./<name>-agent command.1npx -y kimaki@latest
| Command | Description |
/resume <session> | Resume a previous session (with autocomplete) |
/abort | Stop the current running session |
/model | Change the AI model for this channel or session |
/agent | Change the agent for this channel or session |
/login | Authenticate a provider (OAuth subscription or API key) |
/queue <message> | Queue a message to send after the current response finishes |
/btw <prompt> | Fork context into a new thread to ask a side question |
/new-worktree <name> | Move the session into an isolated git worktree |
/merge-worktree | Merge the worktree branch back into the default branch |
/diff | Generate a shareable diff URL |
/share | Generate a public URL to share the current session |
/restart-opencode-server in any channel. This restarts the backend OpenCode server while keeping the bot connected to Discord. It fixes most transient issues./upgrade-and-restart to update Kimaki to the latest version and do a full restart.