docs: add slash commands reference
Adds a comprehensive reference for all CLI slash commands including: - Navigation & control commands - Tools & configuration commands - Conversation management - Advanced features (cron, skills, platforms) - Usage examples - Tips for users Makes it easier for new users to discover available commands.
This commit is contained in:
parent
8b54bb4d89
commit
69ccd76679
1 changed files with 75 additions and 0 deletions
75
docs/slash-commands.md
Normal file
75
docs/slash-commands.md
Normal file
|
|
@ -0,0 +1,75 @@
|
||||||
|
# Slash Commands Reference
|
||||||
|
|
||||||
|
Quick reference for all CLI slash commands in Hermes Agent.
|
||||||
|
|
||||||
|
## Navigation & Control
|
||||||
|
|
||||||
|
| Command | Description |
|
||||||
|
|---------|-------------|
|
||||||
|
| `/help` | Show available commands |
|
||||||
|
| `/quit` | Exit the CLI (aliases: `/exit`, `/q`) |
|
||||||
|
| `/clear` | Clear screen and reset conversation |
|
||||||
|
| `/new` | Start a new conversation |
|
||||||
|
| `/reset` | Reset conversation (keep screen) |
|
||||||
|
|
||||||
|
## Tools & Configuration
|
||||||
|
|
||||||
|
| Command | Description |
|
||||||
|
|---------|-------------|
|
||||||
|
| `/tools` | List all available tools |
|
||||||
|
| `/toolsets` | List available toolsets |
|
||||||
|
| `/model` | Show or change the current model |
|
||||||
|
| `/model <name>` | Switch to a different model |
|
||||||
|
| `/config` | Show current configuration |
|
||||||
|
| `/prompt` | View/set custom system prompt |
|
||||||
|
| `/personality` | Set a predefined personality |
|
||||||
|
|
||||||
|
## Conversation
|
||||||
|
|
||||||
|
| Command | Description |
|
||||||
|
|---------|-------------|
|
||||||
|
| `/history` | Show conversation history |
|
||||||
|
| `/retry` | Retry the last message |
|
||||||
|
| `/undo` | Remove the last user/assistant exchange |
|
||||||
|
| `/save` | Save the current conversation |
|
||||||
|
|
||||||
|
## Advanced
|
||||||
|
|
||||||
|
| Command | Description |
|
||||||
|
|---------|-------------|
|
||||||
|
| `/cron` | Manage scheduled tasks |
|
||||||
|
| `/skills` | Search, install, or manage skills |
|
||||||
|
| `/platforms` | Show gateway/messaging platform status |
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
### Changing Models
|
||||||
|
|
||||||
|
```
|
||||||
|
/model anthropic/claude-sonnet-4
|
||||||
|
```
|
||||||
|
|
||||||
|
### Setting a Custom Prompt
|
||||||
|
|
||||||
|
```
|
||||||
|
/prompt You are a helpful coding assistant specializing in Python.
|
||||||
|
```
|
||||||
|
|
||||||
|
### Managing Toolsets
|
||||||
|
|
||||||
|
Run with specific toolsets:
|
||||||
|
```bash
|
||||||
|
python cli.py --toolsets web,terminal
|
||||||
|
```
|
||||||
|
|
||||||
|
Then check enabled toolsets:
|
||||||
|
```
|
||||||
|
/toolsets
|
||||||
|
```
|
||||||
|
|
||||||
|
## Tips
|
||||||
|
|
||||||
|
- Commands are case-insensitive (`/HELP` = `/help`)
|
||||||
|
- Use Tab for autocomplete
|
||||||
|
- Most commands work mid-conversation
|
||||||
|
- `/clear` is useful for starting fresh without restarting
|
||||||
Loading…
Add table
Add a link
Reference in a new issue