Kimaki provides Discord slash commands to control OpenCode sessions directly from Discord. All commands use Discord’s native autocomplete for file paths, agent names, and session IDs.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/remorses/kimaki/llms.txt
Use this file to discover all available pages before exploring further.
Command Categories
Session Management
Create, resume, and control coding sessions:/session- Start a new session with a prompt/resume- Resume a previous session/abort- Stop the current running session/fork- Branch from any message in a session/share- Generate a public URL to share a session
Worktree Commands
Manage git worktrees for isolated development:/new-worktree- Create a git worktree and start a session/merge-worktree- Merge worktree commits into the default branch
Configuration
Configure AI models, agents, and output settings:/model- Change the AI model for a channel or session/agent- Change the agent for a channel or session/verbosity- Control output detail level/mention-mode- Toggle mention-only mode for a channel
Utilities
Queue management and maintenance:/queue- Queue a message to send after the current response/clear-queue- Clear all queued messages/undo- Undo the last assistant message (revert file changes)/redo- Redo the last undone message/upgrade-and-restart- Upgrade Kimaki to the latest version
Command Scopes
Channel vs Thread: Most commands behave differently depending on where you run them:
- In a text channel: Affects all future sessions in that channel
- In a thread: Affects only the current session in that thread
Session-Specific Commands
These commands only work inside active session threads:/abort,/fork,/share/queue,/clear-queue/undo,/redo
Configuration Commands
These commands can be scoped to different levels:- Session scope: Applies only to the current thread’s session
- Channel scope: Applies to all new sessions in the channel
- Global scope: Applies to all channels (default for new channels)
Autocomplete Features
Kimaki provides intelligent autocomplete for:- File paths - Search your project files by name
- Agent names - Pick from configured agents in
.opencode/agent/ - Session IDs - Find previous sessions by title and date
- Models - Browse available AI models by provider
Common Workflows
/session prompt:"Add user authentication"/model in an active threadTips
Using file references with @
Using file references with @
When starting a session, reference files using The autocomplete helps you find files quickly.
@filename syntax:Chaining commands with /queue
Chaining commands with /queue
Queue multiple tasks while the AI is working:Messages send automatically when the current response finishes.
Undo mistakes immediately
Undo mistakes immediately
If the AI makes unwanted changes, undo them:This reverts file changes from the last assistant message. Use
/redo if you change your mind.Next Steps
- Session Management Commands - Detailed guide for session commands
- Worktree Commands - Git worktree workflows
- Configuration Commands - Model and agent switching