> For AI agents: the complete documentation index is available at https://docs.heys.ai/workstation/en/llms.txt, the full documentation bundle is available at https://docs.heys.ai/workstation/en/llms-full.txt.

# Shortcuts and Commands

## Keyboard shortcuts \{#keyboard-shortcuts}

macOS uses ⌘; Windows / Linux use Ctrl. Where a table shows only ⌘, use Ctrl on Windows / Linux.

### Global

| Shortcut    | Action                                                                                                                |
| ----------- | --------------------------------------------------------------------------------------------------------------------- |
| ⌘K / Ctrl+K | Open / close the search panel ([Interface Overview](https://docs.heys.ai/workstation/en/interface-overview.md))       |
| ⌘B / Ctrl+B | Collapse / expand the sidebar; when collapsed, move the mouse to the left edge and the sidebar floats out temporarily |
| Esc         | Close the search box, dialogs and menus; in a multi-select drop-down, only closes the drop-down                       |

### Search panel (⌘K)

| Shortcut        | Action                                                                       |
| --------------- | ---------------------------------------------------------------------------- |
| Tab / Shift+Tab | Switch between the categories All, Actions, Chats, Creations, Files and Text |
| ⌘← / ⌘→         | Same as above: go to the previous / next category                            |
| ↑ / ↓, Return   | Move through the results, open the selected result                           |
| ⌘1 … ⌘9         | Open the Nth result directly                                                 |

### Settings

| Shortcut    | Action                                                         |
| ----------- | -------------------------------------------------------------- |
| ⌘F / Ctrl+F | Focus **Search settings** at the top left of the Settings page |

### Input box

| Shortcut                                  | Action                                                                                                                                                      |
| ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Return                                    | Send (sending while a task runs = cutting in, which joins the queue)                                                                                        |
| Shift+Return                              | New line; in a list, continues with the next item, and pressing it again on an empty item leaves the list                                                   |
| Type \`\`\` then Shift+Return             | Get a code block                                                                                                                                            |
| Type "- " or "1. " at the start of a line | Turns it into a bulleted or numbered list                                                                                                                   |
| Tab                                       | Fill the gray next-step suggestion into the input box (not sent)                                                                                            |
| Esc                                       | Stop showing the next-step suggestion for this answer                                                                                                       |
| `/`                                       | Open the skill menu (works at the start of a message or in a follow-up)                                                                                     |
| `@`                                       | Reference files, sessions or the browser, or choose @design, @HeyS guide or @create                                                                         |
| ⌘V                                        | Paste screenshots and files                                                                                                                                 |
| ⌘Z                                        | Undo the prompt rewritten by **Enhance prompt**; undo a whole passage entered by hold-to-talk in one step                                                   |
| Hold down in the input box                | Hold down the mouse and speak; the text stays in the input box when you release ([Starting a Task](https://docs.heys.ai/workstation/en/starting-a-task.md)) |

While an input method is choosing characters, pressing Return only confirms the candidate; it doesn't send or submit.

### Session page

| Shortcut              | Action                                                                                  |
| --------------------- | --------------------------------------------------------------------------------------- |
| ⌘F / Ctrl+F           | Find in the current conversation (your messages and the answer text)                    |
| Return / Shift+Return | Jump to the next / previous match                                                       |
| Esc                   | Close find, staying at the current position                                             |
| ↑ / ↓, Home / End     | With focus on the session ruler, move one turn at a time, jump to the first / last turn |
| ⌘ / Ctrl+click a link | Open it in the system browser (a single click opens it in the built-in browser)         |
| Return / Esc          | Save / discard when renaming a conversation                                             |
| Esc                   | When a panel on the right is enlarged, go back to the original layout                   |

### Sprite page

| Shortcut    | Action                                                                      |
| ----------- | --------------------------------------------------------------------------- |
| ⌘F / Ctrl+F | Search the chat history with the Sprite; separate several words with spaces |
| Esc         | On the Sprite profile page, only closes the current dialog                  |

### Built-in browser (with focus on the browser panel or the web page)

| Shortcut     | Action                                                                                             |
| ------------ | -------------------------------------------------------------------------------------------------- |
| ⌘F           | Find in page                                                                                       |
| ⌘P           | Print                                                                                              |
| ⌘+ / ⌘- / ⌘0 | Zoom in / zoom out / reset zoom, remembered per site                                               |
| Esc          | Leave annotation mode; in browser mode, Esc is left to the web page and doesn't leave browser mode |

### Files, spreadsheets, terminal and canvas

| Shortcut         | Action                                                                                                                                   |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| ⌘S               | Save the text or code file you are editing, or the document you are editing in the built-in Office                                       |
| ⌘C / ⌘X / ⌘V     | Copy, cut and paste the selection in a spreadsheet (xlsx, CSV); you can paste back and forth with Excel                                  |
| Delete           | Clear the spreadsheet selection                                                                                                          |
| ⌘ + scroll wheel | Zoom when viewing an enlarged image                                                                                                      |
| ⌘C / ⌘V          | Copy and paste when there is a selection in the embedded terminal (without a selection, Ctrl+C goes to the command line as an interrupt) |
| ⌘+Return         | Commit in the Git panel                                                                                                                  |
| Esc              | Leave prototype preview in the design canvas                                                                                             |

## Settings sections at a glance \{#settings-sections-at-a-glance}

In the order they appear in the Settings navigation, top to bottom. Sections that appear only on the local desktop are marked "local"; when you sign in with an organization account, some sections appear or are hidden according to the organization's settings.

| Group            | Section                      | Main contents                                                                                                                                                                                                      | See                                                                                                                                                                                                                                                                                                                                      |
| ---------------- | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| —                | **Workforce**                | Tasks completed in the last 7 / 30 days, time worked, estimated time saved                                                                                                                                         | [Spaces, Appearance and General Settings](https://docs.heys.ai/workstation/en/spaces-appearance-and-general-settings.md)                                                                                                                                                                                                                 |
| **Basics**       | **Credits** / **Time**       | Balance or remaining time in organization mode, top-up, showing consumption, linking an office app account by scanning a code (one or the other, depending on how the organization bills)                          | [Installation, Signing In to Your Organization and Updates](https://docs.heys.ai/workstation/en/installation-sign-in-and-updates.md) and [Models and Usage](https://docs.heys.ai/workstation/en/models-and-usage.md)                                                                                                                     |
|                  | **General**                  | Language, font size, execution process display, show model speed, motion, next-step suggestion, recommendations, task notifications, privacy folders, experimental features, tray (Windows), runtimes, maintenance | [Spaces, Appearance and General Settings](https://docs.heys.ai/workstation/en/spaces-appearance-and-general-settings.md)                                                                                                                                                                                                                 |
|                  | **Appearance**               | Skins, reduce transparency, highlight bold text, default skin, enforce for everyone                                                                                                                                | [Spaces, Appearance and General Settings](https://docs.heys.ai/workstation/en/spaces-appearance-and-general-settings.md)                                                                                                                                                                                                                 |
|                  | **Spaces**                   | Creating and managing spaces, aliases, colors, hiding, run settings, models, image generation, tools, additional rules, quips                                                                                      | [Spaces, Appearance and General Settings](https://docs.heys.ai/workstation/en/spaces-appearance-and-general-settings.md)                                                                                                                                                                                                                 |
|                  | **Sync**                     | Cloud sync status, devices, recovery code, trash, conflict copies (local, when the organization has turned it on)                                                                                                  | [Data, Cloud Sync and Troubleshooting](https://docs.heys.ai/workstation/en/data-cloud-sync-and-troubleshooting.md)                                                                                                                                                                                                                       |
|                  | **Model providers**          | Adding and checking model providers (when the organization allows custom models)                                                                                                                                   | [Models and Usage](https://docs.heys.ai/workstation/en/models-and-usage.md)                                                                                                                                                                                                                                                              |
|                  | **Environment**              | Addresses and keys, config import / export (when not connected to an organization)                                                                                                                                 | [Spaces, Appearance and General Settings](https://docs.heys.ai/workstation/en/spaces-appearance-and-general-settings.md)                                                                                                                                                                                                                 |
|                  | **Browser & site resources** | Built-in browser, skip certificate checks, filling in passwords, downloads, site permissions (local)                                                                                                               | [Built-in Browser and Sites](https://docs.heys.ai/workstation/en/built-in-browser-and-sites.md)                                                                                                                                                                                                                                          |
|                  | **Computer Use**             | On/off toggle, run mode, system permissions, blocked apps (local)                                                                                                                                                  | [Computer Use](https://docs.heys.ai/workstation/en/computer-use.md)                                                                                                                                                                                                                                                                      |
|                  | **Voice Input**              | Recognition engine, hold to talk in input boxes, try it                                                                                                                                                            | [Spaces, Appearance and General Settings](https://docs.heys.ai/workstation/en/spaces-appearance-and-general-settings.md)                                                                                                                                                                                                                 |
| **Agent**        | **Sites**                    | The site mapping table and site manuals (local)                                                                                                                                                                    | [Built-in Browser and Sites](https://docs.heys.ai/workstation/en/built-in-browser-and-sites.md)                                                                                                                                                                                                                                          |
|                  | **Personality**              | The personality file                                                                                                                                                                                               | [Memory and Personality](https://docs.heys.ai/workstation/en/memory-and-personality.md)                                                                                                                                                                                                                                                  |
|                  | **Memory**                   | Global memory                                                                                                                                                                                                      | [Memory and Personality](https://docs.heys.ai/workstation/en/memory-and-personality.md)                                                                                                                                                                                                                                                  |
| **Integrations** | **Sprite**                   | Name, avatar, chat model, channels, connectors, mail alerts and the daily summary, memory (local)                                                                                                                  | [Sprite](https://docs.heys.ai/workstation/en/sprite.md)                                                                                                                                                                                                                                                                                  |
|                  | **Mail**                     | Mail accounts and account settings, switching all accounts back to "Ask me every time", sidebar badge, network proxy, send log (local)                                                                             | [Mail](https://docs.heys.ai/workstation/en/mail.md)                                                                                                                                                                                                                                                                                      |
|                  | **Notification channels**    | Webhooks besides the built-in Notifications                                                                                                                                                                        | [Cron Jobs and Notifications](https://docs.heys.ai/workstation/en/cron-jobs-and-notifications.md)                                                                                                                                                                                                                                        |
|                  | **Import sessions**          | Importing sessions from Codex, WorkBuddy, Doubao and Qwen Office (local)                                                                                                                                           | [Spaces, Appearance and General Settings](https://docs.heys.ai/workstation/en/spaces-appearance-and-general-settings.md)                                                                                                                                                                                                                 |
|                  | **Connection**               | Local / remote mode, sharing this computer (collaboration node)                                                                                                                                                    | [CoWork, Collaboration Node, Web App and Deployment](https://docs.heys.ai/workstation/en/cowork-collaboration-node-web-app-and-deployment.md)                                                                                                                                                                                            |
|                  | **Accounts**                 | Sign-in accounts and roles                                                                                                                                                                                         | [CoWork, Collaboration Node, Web App and Deployment](https://docs.heys.ai/workstation/en/cowork-collaboration-node-web-app-and-deployment.md)                                                                                                                                                                                            |
|                  | **Enterprise market**        | The company's own extension market (when not connected to an organization)                                                                                                                                         | [CoWork, Collaboration Node, Web App and Deployment](https://docs.heys.ai/workstation/en/cowork-collaboration-node-web-app-and-deployment.md)                                                                                                                                                                                            |
| —                | **About**                    | Version, updates, beta updates, component versions, client ID, config sync, data directory, logs, diagnostics, check model service (organization mode)                                                             | [Installation, Signing In to Your Organization and Updates](https://docs.heys.ai/workstation/en/installation-sign-in-and-updates.md), [Models and Usage](https://docs.heys.ai/workstation/en/models-and-usage.md) and [Data, Cloud Sync and Troubleshooting](https://docs.heys.ai/workstation/en/data-cloud-sync-and-troubleshooting.md) |

Experts, skills, connectors and scheduled tasks are on the icon rail, not in Settings.

## Command-line reference \{#command-line-reference}

The command line comes with a server deployment or the HeyS command-line package; the desktop app doesn't have it ([Command Line and API](https://docs.heys.ai/workstation/en/command-line-and-api.md)). All query commands support `--json`; most commands accept `--profile <name>` to choose a space. Add `--help` after any command to see all options.

### Initialization, configuration and the data directory

```bash
heys init [--force]
heys config get
heys config set currentProfile <name>
heys home show [--json]
heys home migrate <dir> [--dry-run] [--yes]
heys home migrate --to-default [--yes]
heys home use <dir> [--yes]
heys home use --default [--yes]
heys home reset --force
```

### Tasks

```bash
heys task run "<goal>" [--session <id>] [--workspace <path>] [--project <idOrName>] [--no-project]
                       [--profile <name>] [--expert <name>] [--ref-session <id>]...
                       [--policy auto|ask-on-write|readonly] [--task-id <id>]
                       [--no-memory] [--json] [--debug] [--no-bg]
heys task list [--session <id>] [--json]
heys task get <taskId> [--json]
heys task state <taskId> [--json]
heys task events <taskId> [--type <event type>] [--json]
heys task attach <taskId>
heys task cancel <taskId>          # pause: stops after the current round
heys task close <taskId>           # end: the next message starts a new task
```

### Sessions, projects and search

```bash
heys session create [--name <name>] [--workspace <path>] [--project <idOrName>] [--no-project] [--no-memory]
heys session list [--all] [--status active|archived|all] [--since 1d|3d|7d|30d]
heys session get|use|tasks <sessionId>
heys session workspace <sessionId> [<dir> | --clear]
heys session archive|unarchive|delete <sessionId>

heys project create --name <name> [--path <dir>]     # no --path = blank project
heys project list|get|use <idOrName>
heys project dir list|add|remove|describe <project> ...
heys project rename <idOrName> --name <new name>
heys project delete <idOrName> [--yes]
heys project memory <idOrName> [--edit|--clear]

heys search "<keywords>" [--scope session|task|all] [--project <idOrName>] [--limit <n>]
```

### Spaces, personality and model providers

```bash
heys profile list|get|use <name>
heys profile create <name> [--copy-from <src>] [--use]
heys profile copy <src> <dst>
heys profile edit <name>                 # edit in an editor; written back only if it validates
heys profile rename <old> <new>
heys profile delete <name> [--yes]
heys soul show|edit|reset

heys provider list
heys provider add <id> [--preset <preset>] [--base-url <url>] [--api-key <key>] [--model <id...>]
heys provider set <id> [--api chat_completions|responses] [--reasoning-effort low|medium|high]
heys provider models <id> [--refresh]
heys provider test <id> [--model <modelId>]
heys provider remove <id>
```

### Skills, experts, connectors, tools

```bash
heys skill list|get <name>
heys skill enable|disable <name>
heys skill add <path>
heys skill remove <name>
heys skill update                        # rescan the skill directories
heys skill test <name>

heys expert list|get <name>
heys expert create --name <name> [--prompt <persona>] [--skills <a,b>] [--connectors <x,y>]
heys expert edit|remove <name>

heys connector list|get <name>
heys connector enable|disable <name>
heys connector plugins list|get|enable|disable <name>

heys tool list
heys tool inspect <tool>
heys tool test <tool.action> --input '<json>' --workspace <path>
```

### Scheduled tasks

```bash
heys cron add "<goal>" --schedule "<expression or natural language>" [--name <name>] [--project <idOrName>] [--once]
heys cron list
heys cron get <jobId>
heys cron runs <jobId>
heys cron edit <jobId> [--goal …] [--schedule …] [--name …]
heys cron enable|disable|remove <jobId>
heys cron run [--job <jobId>]
```

### Memory

```bash
heys memory topics
heys memory show <name>
heys memory remember "<content>"
heys memory edit|remove <name>
heys memory export [--out <file>]
heys memory settings [--chat-search on|off] [--generate on|off]
```

### Extension market

```bash
heys hub config [--endpoint <url>] [--api-key <key>]
heys hub status
heys hub search [keywords] [--type <type>] [--tag <tag>]
heys hub info <slug>
heys hub install <slug>[@version] [--force]
heys hub list
heys hub update [<slug>] [--all|--check]
heys hub provision [--show]              # config sync
heys market private show|set|test        # enterprise market
heys runtime list|install node|install uv|remove <name>|mirror auto|cn|official
```

### Browser (local command line)

```bash
heys browser status
heys browser sites list|match <url>|check
```

### Accounts and the service

```bash
heys account add <username> --profile <name> [--admin] [--password-file <path>]
heys account list
heys account role <username> admin|user
heys account passwd <username>
heys account remove <username>

heys server [--host <addr>] [--port <n>] [--auth none|token|accounts] [--token <t>]
            [--profile <name>] [--token-ttl <days>] [--web-dist <path>] [--no-web] [--no-cron]
```

The `heys-server` of a server deployment takes the same arguments as `heys server`.

## Common environment variables \{#common-environment-variables}

| Variable                                                                        | Effect                                                                                                                                                                    |
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `HEYS_HOME`                                                                     | Data directory; default `~/.heys`                                                                                                                                         |
| `HEYS_PROFILE`                                                                  | The space used by the command line                                                                                                                                        |
| `HEYS_LANG`                                                                     | The AI language and the language of command-line output: `zh-CN` / `en-US`                                                                                                |
| `HEYS_HUB_ENDPOINT` / `HEYS_HUB_API_KEY`                                        | Extension market address and key                                                                                                                                          |
| `HEYS_DISABLE_UPDATE_CHECK`                                                     | `1` = don't check for client updates (on by default in the Docker image)                                                                                                  |
| `HEYS_TRUSTED_PROXIES`                                                          | Addresses of the reverse proxy in front of the server, as comma-separated IPs or ranges                                                                                   |
| `HEYS_ALLOW_WEAK_KEYS`                                                          | `1` = temporarily allow tokens shorter than 32 characters (warning only)                                                                                                  |
| `HEYS_WEBAPP_PROJECT_WORKSPACE`                                                 | Root of the working directories for projects created in the web app                                                                                                       |
| `HEYS_SERVER_*`, `HEYS_ADMIN_*`, `PUID` / `PGID`, `HEYS_CHOWN`, `HEYS_RUN_USER` | For Docker deployments; see [CoWork, Collaboration Node, Web App and Deployment](https://docs.heys.ai/workstation/en/cowork-collaboration-node-web-app-and-deployment.md) |
| `HEYS_DISABLE_GPU`                                                              | `1` = software rendering on the desktop (use it when the Kylin build shows a white screen)                                                                                |
| `OPENAI_API_FORMAT`                                                             | Primary model API format: `chat_completions` / `responses`                                                                                                                |
