981 B
981 B
Slash Commands
AnchorCli provides several slash commands for managing your session and interacting with the AI.
Available Commands
| Command | Description |
|---|---|
/setup |
Run interactive TUI to configure API key and model (also accessible via anchor setup subcommand) |
/help |
Show available tools and commands |
/exit |
Exit the application |
/clear |
Clear the conversation history |
/status |
Show session token usage and cost |
/compact |
Manually trigger context compaction |
/reset |
Clear session and reset token tracker |
/load |
Load a previous session from disk |
/save |
Save current session to disk |
Usage
Type any command starting with / in the REPL to execute it:
> /status
Session: 1,234 tokens used ($0.0015)
> /help
Available tools: read_file, grep_file, replace_lines, ...
Available commands: /setup, /help, /exit, /clear, ...
Back to README.md