Slash Commands

Kollab CLI includes powerful slash commands for common operations. Type / in the input to see available commands.

Quick Reference

/help

Show all available commands

/save

Save conversation to file

/profile

Switch LLM profile

/agent

Switch to different agent

/skill

Load/unload skills

/branch

Create git branch from context

/clear

Clear conversation history

/matrix

Enter the Matrix effect

Conversation Commands

/save [filename]Core

Save the current conversation to a file. Supports JSON and Markdown formats.

# Examples
/save conversation.json
/save notes.md
/save# Uses default filename
/clearCore

Clear the current conversation history and start fresh. Does not affect saved files.

/clear
/history [n]Core

Show recent conversation history. Optionally specify number of messages to show.

/history# Show last 10 messages
/history 5# Show last 5 messages

Configuration Commands

/profile [name]Config

Switch to a different LLM profile. Shows available profiles if no name provided. Use the modal's "Save to Config" option to persist environment variables to config.json.

/profile# List profiles
/profile anthropic# Switch to anthropic
/profile local# Switch to local Ollama

CLI Flag: Use --profile NAME --save when launching to auto-create a profile from env vars and save it to config.

/agent [name]Config

Switch to a different agent. Agents are custom configurations with specialized system prompts and skills.

/agent# Show current agent
/agent lint-editor# Switch to lint-editor agent
/agents# List all available agents
/skill [name]Config

Load a skill into the current session. Skills are markdown files that append instructions to the system prompt.

/skill fix-file# Load the fix-file skill
/skill -u fix-file# Unload a skill
/skills# List available skills
/model [name]Config

Change the current model within the active profile.

/model gpt-4o-mini
/model claude-3-5-haiku-20241022
/configConfig

Show current configuration including active profile, model, and settings.

/config

Git Commands

/branch [name]Git

Create a new git branch based on the current conversation context. AI will suggest a branch name if not provided.

/branch# AI suggests name
/branch feature/add-auth
/commitGit

Generate a commit message based on staged changes. Review and confirm before committing.

/commit

Utility Commands

/help [command]Utility

Show help for all commands or a specific command.

/help# All commands
/help save# Help for /save
/exitUtility

Exit Kollab CLI. Also available via Ctrl+D or Ctrl+C.

/exit
/matrixFun

Enter the Matrix. A fun terminal effect. Press any key to exit.

/matrix

Plugin Commands

Plugins can register custom slash commands. Use /help to see all available commands including those added by plugins.

See the Quick Start Guide for examples of creating custom plugin commands.

Keyboard Shortcuts

ShortcutAction
EnterSubmit message
Shift+EnterNew line (multi-line input)
Ctrl+CCancel current operation / Exit
Ctrl+DExit Kollabor
Up ArrowPrevious input from history
Down ArrowNext input from history
TabCommand/path autocomplete