> ## Documentation Index
> Fetch the complete documentation index at: https://docs.embedder.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Slash Commands Reference

Slash commands are shortcuts that trigger specific Embedder behaviors. Type a command at the prompt and press `Enter` to execute it. Press `/` to open command suggestions.

## Session & Navigation

| Command     | Aliases                     | Description                           |
| ----------- | --------------------------- | ------------------------------------- |
| `/clear`    | `/reset`, `/new`            | Clear conversation history            |
| `/history`  | `/resume`, `/conversations` | View conversation history             |
| `/rewind`   | -                           | Rewind to a previous state            |
| `/undo`     | -                           | Undo the last message                 |
| `/compress` | `/summarize`                | Compress conversation to save context |
| `/exit`     | `/quit`, `/q`               | Exit the application                  |

<Tip>
  Run `/clear` frequently between tasks. A clean context almost always outperforms a cluttered one.
</Tip>

## Mode & Model

| Command | Aliases | Description         |
| ------- | ------- | ------------------- |
| `/plan` | -       | Switch to plan mode |
| `/act`  | -       | Switch to act mode  |

## Project & Team

| Command       | Aliases                           | Description                              |
| ------------- | --------------------------------- | ---------------------------------------- |
| `/project`    | `/switch-project`                 | Switch project                           |
| `/peripheral` | `/peripherals`, `/add-peripheral` | Add peripherals to project               |
| `/init`       | -                                 | Create EMBEDDER.md with project contexts |
| `/tasks`      | `/todos`, `/plan`                 | View current session task list           |

<Tip>
  Run `/init` in your new projects.
</Tip>

## Tools & Utilities

| Command    | Aliases | Description                    |
| ---------- | ------- | ------------------------------ |
| `/serial`  | -       | Toggle serial terminal sidebar |
| `/console` | -       | Open web console               |
| `/billing` | -       | Open billing portal            |
| `/logs`    | -       | Open logs folder               |

## Preferences & Help

| Command        | Aliases        | Description                                                        |
| -------------- | -------------- | ------------------------------------------------------------------ |
| `/theme`       | `/t`           | Change color theme (opens selector, or pass a theme name directly) |
| `/keybindings` | `/keys`, `/kb` | Change keybinding mode (emacs/vim)                                 |
| `/help`        | `/h`, `/?`     | Show documentation and commands                                    |
| `/welcome`     | -              | Show the welcome animation                                         |

<Tip>
  You can choose separate light and dark themes.
</Tip>

## Account

| Command              | Aliases             | Description                  |
| -------------------- | ------------------- | ---------------------------- |
| `/logout`            | `/signout`          | Sign out and return to login |
| `/bug [description]` | `/report`, `/issue` | Report a bug                 |

## Usage Examples

```txt embedder theme={null} theme={"system"}
/theme dracula          # Set theme to dracula
/bug App crashes on X   # Report a bug with description
/t nord                 # Short alias for theme
```

<Tip>
  Most commands have shorter aliases. Use `/help` to see all available shortcuts.
</Tip>
