# Slash Commands Reference | Hermes Agent
URL: https://hermes-agent.nousresearch.com/docs/reference/slash-commands

Slash Commands Reference | Hermes Agent

# Slash Commands Reference

Hermes has two slash-command surfaces, both driven by a central `COMMAND_REGISTRY` in `hermes_cli/commands.py`:

- Interactive CLI slash commands — dispatched by `cli.py`, with autocomplete from the registry
- Messaging slash commands — dispatched by `gateway/run.py`, with help text and platform menus generated from the registry

Installed skills are also exposed as dynamic slash commands on both surfaces. (`/plan` used to be one of these; it is now a built-in command — see the Session table below.) A skill whose name matches a built-in command (or one of its aliases) never gets its own `/ ` — the built-in wins and the skill stays loadable via `/skill `; `/skills list`, `/help skills` and the command palette mark such a skill with `slash command / unavailable — name taken by built-in; use /skill `.

## Permissions and admin/user split​

Every messaging platform that supports a per-user allowlist (Telegram, Discord, Slack, Matrix, Mattermost, Signal, …) also supports a two-tier slash command split: admins get every registered command, regular users only get the names you list in `user_allowed_commands` (plus the always-allowed floor `/help` and `/whoami`). Configure `allow_admin_from` and `user_allowed_commands` (and the per-group equivalents `group_allow_admin_from` / `group_user_allowed_commands`) inside the platform's `extra:` block in `~/.hermes/config.yaml`.

See the per-platform docs for examples — the structure is identical across platforms:

- Telegram
- Discord
- Slack
- Matrix
- Mattermost
- Signal

If `allow_admin_from` is unset for a scope, that scope stays in unrestricted backward-compat mode — every allowed user can run every command.

## Interactive CLI slash commands​

Type `/` in the CLI to open the autocomplete menu. Built-in commands are case-insensitive.

### Session​

| Command | Description |
| --- | --- |
| `/new [name]` (alias: `/reset`) | Start a new session (fresh session ID + history). Optional `[name]` sets the initial session title — e.g. `/new my-experiment` opens a fresh session already titled `my-experiment` so it's easy to find later with `/resume` or `/sessions`. Append `now`, `--yes`, or `-y` to skip the confirmation modal — e.g. `/reset now`, `/new --yes my-experiment`. |
| `/clear` | Clear screen and start a new session |
| `/history` | Show conversation history (respects `/timestamps`) |
| `/save` | Save the current conversation |
| `/prompt` (alias: `/compose`) | Compose your next prompt in `$EDITOR` (markdown) instead of the inline input — useful for long, multi-line, or carefully-formatted prompts. |
| `/retry` | Retry the last message (resend to agent) |
| `/undo` | Remove the last user/assistant exchange |
| `/title` | Set a title for the current session (usage: /title My Session Name) |
| `/compress [here [N] | focus topic]` | Manually compress conversation context (flush memories + summarize). `/compress here [N]` summarizes everything