> For the complete documentation index, see [llms.txt](https://orbitron.gitbook.io/orbitron-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://orbitron.gitbook.io/orbitron-docs/user-guide/slash-commands-shortcut.md).

# Command & Shortcut Guide

## Summary

| 🧩 Command          | 🔤 Description                                            | ⌨️ Shortcut              |
| ------------------- | --------------------------------------------------------- | ------------------------ |
| `/new`              | Start a new session                                       | `Ctrl + N`               |
| `/session`          | Switch between sessions                                   | `Ctrl + S`               |
| `/compact`          | Compact current session manually                          | —                        |
| `/export`           | Export session to text or markdown file                   | —                        |
| `/login`            | Open login/auth dialog                                    | `Ctrl + A`               |
| `/model`            | Open model selection dialog                               | `Ctrl + O`               |
| `/context`          | Search contexts by title                                  | —                        |
| `/context:tag`      | Search contexts by tag                                    | —                        |
| `/context:category` | Search contexts by category                               | —                        |
| `/theme`            | Switch terminal theme                                     | `Ctrl + T`               |
| `/info`             | Open user information dialog                              | —                        |
| `/log`              | View logs                                                 | `Ctrl + L`               |
| `/hooks`            | Manage shell hooks (automate before/after tool execution) | —                        |
| `/mcp`              | Manage MCP servers                                        | `Ctrl + M`               |
| `/shared-mcps`      | View and download organization shared MCP configurations  | —                        |
| `/docs`             | Open Orbitron official documentation in browser           | —                        |
| `/update`           | Update Orbitron to the latest version                     | —                        |
| `!`                 | Enter interactive Bash mode                               | —                        |
| `/help`             | Show help menu                                            | `Ctrl + H` (Windows: F1) |
| `/quit`             | Exit the application                                      | `Ctrl + C`               |

#### 🧠 Notes

* Slash commands can be entered at the prompt to quickly trigger internal actions.
* You can press `Tab` while typing a command to auto-complete.

***

## Detailed Guide

### Basic Commands

#### /help – View all available commands

Usage:

```
/help
```

<figure><img src="/files/FpcrIGOmC6EGpESNfGbQ" alt=""><figcaption></figcaption></figure>

Use cases:

* First-time users of Orbitron
* When you forgot how to use a feature
* To check if new features were added

### Session Management

#### /session – View existing sessions and switch to a specific one.

Usage:

```
/session
```

Use cases:

* To resume previous work
* When managing multiple projects simultaneously
* To revisit past conversation states

#### /new – Start a new conversation session.

Usage:

```
/new
```

Use cases:

* Starting a new project separate from previous work
* Resetting the context to a clean state
* Switching to a completely different topic

#### /compact – Manually compress the session context.

Usage:

```
/compact
```

Use cases:

* When long conversations reduce performance
* To optimize memory usage
* To keep only key information and remove unnecessary content

#### /export – Export current session to a text or markdown file.

Usage:

```
/export
```

Use cases:

* Backing up session history
* Sharing work content with team members
* Archiving session records for future reference
* Utilizing session content in other tools or systems

Save location:

* Saved in `exports/` folder within the working directory
* File format: Choose between `.txt`, `.md`, or `.json`
* Filename format: `export_YYYYMMDDHHMM.txt`, `export_YYYYMMDDHHMM.md`, or `export_YYYYMMDDHHMM.json`
  * If a file with the same name already exists, seconds (SS) are added: `export_YYYYMMDDHHMMSS.txt/md/json`
* Empty messages and tool messages are automatically excluded

### Authentication & API Management

#### /login – Open login/authentication dialog to sign in to Orbitron.

Usage:

```
/login
```

Use cases:

* Switching accounts
* When a session expires and re-login is required

{% hint style="info" %}
New users will automatically see the **login dialog**.
{% endhint %}

### AI Model Management

#### /model – View available AI models and select one for your task.

Usage:

```
/model
```

Use cases:

* Choosing a stronger model for complex analysis
* Selecting a faster model for lightweight tasks
* Balancing cost efficiency with model performance

{% hint style="info" %}
See [Supported AI Models](/orbitron-docs/user-guide/supported-ai-models.md) for the full list.
{% endhint %}

### Context Management

#### /context – Search contexts by title and apply to current work.

Usage:

```
/context
```

#### /context:tag – Search contexts by tag.

Usage:

```
/context:tag
```

#### /context:category – Search contexts by category.

Usage:

```
/context:category
```

Key features:

* Personal context: available only to you
* Organization context: shared within your team or company
* Auto-save: selected contexts are stored in `orbitron.md`

Use cases:

* Applying standard project guidelines
* Ensuring consistent team-wide quality
* Reusing complex configurations or rules

### System & Environment Settings

#### /theme – Switch terminal theme to personalize your workspace.

Usage:

```
/theme
```

Use cases:

* Choosing a visual theme suited to your workflow
* Reducing eye strain during long sessions
* Improving readability when screen-sharing

#### /info – Display user account info, current mode, working directory (cwd), and Orbitron version.

Usage:

```
/info
```

Use cases:

* Quickly understanding your current environment
* Troubleshooting with system details
* Sharing environment info with collaborators
* Checking version compatibility

#### /permission – View and manage current permissions list.

Usage:

```
/permission
```

Permission management shortcuts:

* `ESC`: Close permissions dialog
* `d`: Delete selected permission
* `c`: Clear all permissions

Use cases:

* Reviewing AI model access permissions
* Removing or resetting specific permissions
* Managing security and privacy settings

#### /log – View Orbitron logs to diagnose issues.

Usage:

```
/log
```

Use cases:

* Identifying the cause of errors
* Monitoring system performance
* Providing log info when requesting support

#### /quit – Safely exit the Orbitron application.

Usage:

```
/quit
```

### Advanced Features

#### /hooks – Manage shell hooks to perform automated tasks before and after AI tool execution.

Usage:

```
/hooks
```

Key features:

* **preToolUse**: Execute custom commands before the AI runs a tool (can block execution)
* **postMessageUse**: Execute custom commands after the AI completes a response
* Configure hooks for specific tools or all tools (`*`)
* Add, edit, delete, test, and enable/disable hooks

Use cases:

* Automatically back up files before code changes
* Run tests automatically after AI modifies code
* Security validation for specific tool usage
* Automatically log work activities

{% hint style="info" %}
For detailed usage, see the [Shell Hooks Guide](/orbitron-docs/user-guide/hooks-guide.md).
{% endhint %}

### MCP Management

#### /mcp – View and manage MCP server list.

Usage:

```
/mcp
```

Key features:

* View locally configured MCP servers
* Check server status (ready, loading, failed, disabled)
* Add, delete, enable/disable servers

Use cases:

* Checking MCP server connection status
* Adding new MCP servers or managing existing ones

#### /shared-mcps – View and download organization shared MCP configurations.

Usage:

```
/shared-mcps
```

Key features:

* View MCP server configurations shared by your organization
* Copy selected configuration to clipboard
* Download as JSON file to apply locally

Use cases:

* Importing standardized MCP configurations from your organization
* Setting up the same MCP environment across your team
* Quickly applying MCP configurations registered in Orbitron Web from the terminal

#### /docs – Open Orbitron official documentation in your browser.

Usage:

```
/docs
```

Use cases:

* Quick access to official documentation
* Learning about features and best practices
* Troubleshooting and reference lookup
* Staying updated with latest features

#### /update – Update Orbitron to the latest version.

Usage:

```
/update
```

Key features:

* Checks for the latest version available
* Downloads updates in the background if available
* Applies updates on next restart
* Shows current version status if already up-to-date

Update process:

1. **Already Latest**: If you're on the latest version, displays "Already on the latest version"
2. **Already Downloaded**: If the latest version is already downloaded, displays "Update v{version} is already downloaded. Restart to apply."
3. **Download Required**: While downloading the update in background, displays "Downloading update v{version}..." message
4. **Download Complete**: After successful download, displays "Update completed: v{version}. Restart to use new version."

Use cases:

* Manually checking for and installing updates
* Ensuring you have the latest features and bug fixes
* Getting critical security patches

{% hint style="info" %}
For more details about auto-update configuration, see the [Auto-Update Guide](/orbitron-docs/user-guide/installation/auto-update.md).
{% endhint %}

#### ! (Bash Mode) – Switch to interactive Bash command execution mode.

Usage:

```
!
```

Key features:

* Enter Bash mode by typing `!` in the prompt
* Asynchronous command execution with real-time output display
* Cancel running commands instantly with `ESC` key
* Manage Bash commands separately from AI context

Use cases:

* Quick terminal command execution
* Long-running tasks (builds, tests, etc.)
* Execute multiple commands sequentially

{% hint style="info" %}
For detailed usage, see the [Bash Mode Guide](/orbitron-docs/user-guide/bash-mode-guide.md).
{% endhint %}
