Slash Commands
Slash commands provide session management and utilities in interactive mode.
Command Reference
/help
/?, /h
Show help with all commands
/clear
/c
Clear conversation history
/quit
/q, /exit
Exit AgentiCode
/model
/m
Show or set current model
/models
-
List available models
/cost
-
Show token usage and cost
/history
-
Display conversation history
/init
-
Initialize project context
/compact
-
Compact context via summarization
/memory
-
Show memory/context status
/doctor
-
Diagnose configuration
/resume
/r
Resume previous session
Detailed Usage
/help
Display help with all available commands:
/model
Show or change the current model:
/models
List all available models grouped by category:
/cost
Show token usage and estimated cost:
/history
Display conversation history:
/init
Initialize project context by creating AGENTICODE.md:
Creates AGENTICODE.md with:
Project structure
Dependencies from package.json
Git branch and recent commits
Custom instructions
/compact
Summarize old messages to reduce context usage:
/memory
Show memory and context status:
/doctor
Diagnose configuration and connections:
/resume
Resume a previous conversation:
/clear
Clear the current conversation:
/quit
Exit AgentiCode:
Keyboard Shortcuts
Ctrl+C
Cancel current request / Exit
Shift+Enter
Multi-line input (Ink UI)
Up/Down
Navigate history (Classic UI)
Last updated