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

# Slash commands

> Look up the chat commands for conversations, modes, projects, hardware, approvals, and help in VS Code and the terminal UI.

Slash commands switch modes, manage the conversation, open Inlay's panels, and run skills from the chat input. Use this page to find a command, its arguments, and where it works.

Type `/` at the start of the chat input to open the command menu, then keep typing to filter by name or alias. Press `Enter` to run the highlighted command, or `Tab` to complete it so you can add arguments. In VS Code, you can also select the **/** button (tooltip **Slash commands**) next to the model picker.

The VS Code menu groups commands under **Chat**, **Mode**, **Navigation**, **Tools**, **Skills**, and **Info**.

Commands on this page work in both VS Code and the terminal UI unless the row says otherwise. Commands that only one client has are listed under [VS Code commands](#vs-code-commands) and [Terminal UI commands](#terminal-ui-commands).

## When a command is missing

The menu shows only the commands you can use right now. If a command isn't listed, check its condition:

| Command | Appears when |
| - | - |
| `/undo`, `/rewind`, `/copy`, `/retry`, `/fork` | The conversation has at least one message. |
| `/history` | You have at least one earlier conversation. |
| `/team` | You belong to more than one team. |
| `/model` | More than one model is available to you. |
| `/peripheral`, `/upload-schematics` | A project is selected. |
| `/migration` | The project uses an XMOS platform, or you use the Infineon customer build. See [Migration](/docs/core-concepts/modes.md#migration-port-to-a-new-platform). |
| `/share` | Conversation sharing is enabled for your team. |
| `/credits` | Startup You own a Startup workspace. |
| `/ask-owner` | Startup You're a member of someone else's Startup workspace, including one whose plan has ended. |

## Chat

| Command | Aliases | What it does |
| - | - | - |
| `/clear` | | Clear the current conversation. In the terminal UI, `/new` does the same. |
| `/compress` | `/summarize` | Condense the earlier context now, so you can keep working in a long conversation. The transcript stays visible. |
| `/auto-compact [on\|off]` | | Turn smart auto-compact on or off. Run it without an argument to switch it to the other setting. |
| `/btw <question>` | `/by-the-way`, `/aside` | Ask a side question while the current task keeps running. |
| `/undo` | `/u` | Remove your last message and Inlay's response, revert the file changes from that turn, and put your message back in the input. In the terminal UI, press `Alt+Z` to bring it back until you send your next message. |
| `/copy` | | Copy Inlay's last response to the clipboard. In the terminal UI, add a number to copy an earlier response, such as `/copy 2` for the one before last. |
| `/retry` | | Ask Inlay to redo the last response with a different approach. |
| `/fork` | | Start a new chat from the last message, so you can try another direction without losing this one. The fork starts without the earlier transcript until you add it. See [Fork a response](/docs/core-concepts/sessions.md#fork-a-response). |
| `/rewind` | `/rw` | Pick an earlier message to go back to. Each entry shows how many files that turn changed. Inlay removes the message and everything after it, and reverts the file changes made since. |
| `/goal [objective\|clear\|edit\|pause\|resume]` | | Set a goal for a long-running task, or edit, pause, resume, or clear it. Run it without arguments to see the current goal. |
| `/loop` | | Open the loop designer to set up a bounded recurring loop, or to pause, resume, or stop the loop that's running. Takes no arguments. |
| `/share [confirm\|revoke\|list]` | | Share a read-only copy of this conversation with your team. After the preview, choose **Create team link**. `/share confirm` creates the link without asking again. `revoke` removes the link, and `list` shows the conversations you've shared. |

While a goal is active, Inlay switches the chat to Act mode and **Skip all approvals**. Your previous approval mode returns when the goal ends.

**Smart auto-compact** also condenses context automatically when a conversation nears the model's limit; `/auto-compact` turns it on or off. See [Sessions and context](/docs/core-concepts/sessions.md) for undo, rewind, compaction, and sharing, and [Goals and bounded loops](/docs/core-concepts/goals-and-loops.md) for `/goal` and `/loop`.

## Modes

| Command | Aliases | What it does |
| - | - | - |
| `/act` | | Switch to Act mode. |
| `/plan` | | Switch to Plan mode. |
| `/view-plan` | `/show-plan` | Reopen the latest plan with its approval status. In the terminal UI, you can review the plan there or open it in `$EDITOR`. |
| `/debug` | | Switch to Debug mode. |
| `/migration [path]` | | Switch to Migration mode. In an XMOS project, add the path to a SigmaStudio `.dspproj` file or a source folder to start a migration plan from it. Run it without a path to open **Migrate to XMOS**, where you choose what to migrate. |

Press `Shift+Tab` to cycle through the modes available in the chat. See [Agent modes](/docs/core-concepts/modes.md) for when to use each mode.

## Navigation

| Command | Aliases | What it does |
| - | - | - |
| `/history` | `/resume`, `/conversations` | Open an earlier conversation. |
| `/new-tab` | | Open a new chat tab. In the terminal UI, you can also press `Alt+T`. |
| `/tabs` | | Switch between open chat tabs. In the terminal UI, you can also press `Alt+N` or `Alt+P`. |
| `/rename-tab [name]` | | Rename the active chat tab. Omit the name and Inlay asks you for one. |
| `/close-tab` | | Close the active chat tab. In the terminal UI, you can also press `Alt+W`. |
| `/project` | `/switch-project` | Switch to another project. |
| `/team` | `/switch-team`, `/switch` | Switch to another team, then choose a project. |
| `/model` | | Choose the model for this chat. See [Models](/docs/core-concepts/models.md). |
| `/peripheral` | `/peripherals`, `/add-peripheral` | Add peripherals to the current project. In VS Code, this opens **Peripherals**, where you can also open datasheets and remove parts. In the terminal UI, it opens the **Project Peripherals** list. See [Add and manage peripherals](/docs/core-concepts/add-peripheral.md). |

## Project and hardware tools

| Command | Aliases | What it does |
| - | - | - |
| `/init` | | Set up the project for Inlay. Inlay inspects the repository, confirms the build, flash, debug, and test setup with you, then creates or updates [INLAY.md](/docs/core-concepts/inlay-md.md). It doesn't change product code. |
| `/serial` | | In VS Code, open the Monitor. In the terminal UI, show or hide the serial sidebar. |
| `/monitor` | | Open the Monitor with its serial, plot, capture, trace, power, and dashboard views. The terminal UI opens it in your browser. See [Use Inlay in the terminal](/docs/cli/overview.md#open-the-monitor-and-schematic-viewer-in-a-browser). |
| `/plot` | | Open the Monitor on a **Plot** tab for serial or RTT values. The terminal UI opens the Monitor in your browser. See [Live plots and math channels](/docs/core-concepts/plot.md). |
| `/schematic-viewer [path]` | `/view-schematic`, `/canvas` | Open the schematic, PCB, and 3D viewer. Add a KiCad file path relative to the project to open that design. The terminal UI opens the viewer in your browser. |
| `/bridge` | `/bridges` | Open **Benches** to choose a [bench](/docs/integrations/benches.md) for this chat, add one, and see its ports. Run `/bridge <name>` to select a bench directly. |
| `/env` | `/environment` | Show the current environment and choose where a new session runs: **Local** or a [bench](/docs/integrations/benches.md). |
| `/datasheets` | `/part-docs` | Show documentation progress for the project's parts and fix missing datasheets. |
| `/coverage` | | Show captured code coverage per file and line. In VS Code, this opens the Monitor, where **Coverage** is one of the views. See [Coverage and trace](/docs/debug-mode/coverage-and-trace.md). |
| `/run-script [file]` | `/run-hardware-script` | Run a [hardware script](/docs/debug-mode/hardware-scripts.md) and watch its output. |
| `/upload-schematics` | `/upload_schematics`, `/upload-schema`, `/schematics`, `/schematic` | Upload schematic files to the current project. See [Schematics](/docs/core-concepts/schematics.md). |
| `/hardware-queue` | `/wqs`, `/hwq` | Show each hardware target, the chat that holds it, and the chats waiting for it. |
| `/hardware-force-release --confirm` | | Release hardware that another chat holds. If `/hardware-queue` lists more than one target, add `--target <id>` with the target to release. Without `--confirm`, Inlay asks you to run the command again with it. |
| `/static-analyzer` | `/lsp`, `/analyzers` | Set up language servers and static analysis tools. In VS Code, this opens the **Static Analysis** panel. See [LSP and static analyzers](/docs/core-concepts/static-analyzers.md). |
| `/mcp` | `/mcp-servers` | Open **MCP Servers** to add, configure, or remove MCP servers. See [Connect MCP servers](/docs/integrations/mcp-servers.md). |
| `/pr-review [number-or-url]` | `/review` | Review a GitHub pull request. Requires the GitHub CLI (`gh`). In VS Code, enter the PR number or URL. In the terminal UI, omit it to pick from the open pull requests. |

> [!WARNING]
>
> `/hardware-force-release` can interrupt another chat's work on the board. Run `/hardware-queue` first, and release the hardware only when the chat that holds it is stuck.

## Approvals and execution

| Command | Aliases | What it does |
| - | - | - |
| `/manual-confirm` | | Switch to **Manually approve**. Inlay asks before file edits, shell commands that no rule allows, hardware actions, and anything outside the project. |
| `/always-confirm` | `/always-ask`, `/strict` | Switch to **Always ask**. Inlay asks before every action, including file reads. |
| `/auto-confirm` | `/auto-approve`, `/approve` | Switch to **Skip all approvals**. Inlay asks only before uploading documents or schematics. Everything else runs without asking, including destructive actions. |
| `/approvals` | `/allowlist`, `/auto-run` | Review and edit what runs without asking. |
| `/review-edits` | `/edits` | Accept or reject Inlay's file edits per file or per change. In VS Code, this opens the Source Control view. |
| `/subagent-hardware` | | Turn hardware access on or off for general subagents started after the change. On by default. Subagents share the chat's devices and wait for the board to be free. See [Subagents and background tasks](/docs/core-concepts/subagents.md). |
| `/fast` | | Turn fast mode on or off. Fast mode applies to Opus models only. |

Read [Tool approvals](/docs/core-concepts/approvals.md) before you switch to **Skip all approvals**.

## Settings and help

| Command | Aliases | What it does |
| - | - | - |
| `/settings` | `/preferences` | Edit Inlay settings. In VS Code, this opens the Settings editor filtered to Inlay. In the terminal UI, it opens the **Settings** panel. See [Settings](/docs/core-concepts/settings.md). |
| `/credits` | | Startup Add credits to the workspace. Only the workspace owner sees it. See [Startup plan](/docs/core-concepts/startup-plan.md). |
| `/ask-owner` | | Startup Ask the workspace's owner for credits, or to restart its plan. Only workspace members see it. |
| `/getting-started` | `/walkthrough` | Open the **Get Started with Inlay** walkthrough. |
| `/onboarding` | `/replay-onboarding` | Replay the first-run onboarding. |
| `/tutorial [first-steps\|hardware\|workflow]` | `/tour` | Open the tutorial catalog, or start a tutorial by name. |
| `/live-training` | `/training` | Open registration for a live training session. |
| `/console` | | Open the Inlay web console in your browser. |
| `/logs` | | Open the folder that holds Inlay's log files. |
| `/release-notes` | | Open the latest release notes. |
| `/enterprise` | | Open `useinlay.app/enterprise` to learn about Inlay Enterprise. |
| `/build-info` | `/version` | Show the Inlay version, commit, and build time. In VS Code, choose **Copy** to copy it. The terminal UI copies it for you. |
| `/restart-server` | | Restart the Inlay server, for example when the chat stops responding. |
| `/telemetry [on\|off]` | | Show whether this machine sends usage and error reports, or turn them on or off. Restart Inlay to apply the change to crash reporting. In VS Code, the `inlay.telemetry` setting is the same switch. If the `INLAY_NO_TELEMETRY=1` environment variable is set, telemetry stays off. |
| `/logout` | `/signout` | Sign out of Inlay. |

In VS Code, a new chat shows a **Get started** list with four steps: **Open your schematic** (**Add your schematic** when the project has none), **Connect to serial**, **Ask for something small**, and **Take the 4-min tour**. Each step is checked off as you do it, here or anywhere else in Inlay. The list goes away once you dismiss it or have sent a few prompts. To show it again, run `/tutorial reset`.

## VS Code commands

These commands are available only in the VS Code chat input.

| Command | Aliases | What it does |
| - | - | - |
| `/new` | | Start a new chat. |

## Terminal UI commands

These commands are available only in the terminal UI that opens when you run `inlay`.

| Command | Aliases | What it does |
| - | - | - |
| `/exit` | `/quit`, `/q` | Exit the terminal UI. |
| `/tasks` | `/todos` | Open the session's task list. Appears after Inlay creates one. |
| `/background` | `/bg`, `/shells` | View and manage background tasks. |
| `/theme [name]` | `/t` | Open the theme picker, or switch to a theme by name. |
| `/keybindings` | `/keys`, `/kb` | Choose Emacs or Vim navigation keys. |
| `/vim` | | Switch to Vim navigation keys. Run it again to turn them off. |
| `/emacs` | | Switch to Emacs navigation keys. Run it again to turn them off. |
| `/thinking` | `/toggle-thinking` | Expand or collapse the model's thinking above each response. |
| `/notifications` | | Turn desktop notifications on or off. When they're on, Inlay notifies you while the terminal is in the background. |
| `/bug <description>` | `/report`, `/issue` | Send a bug report with your description. |

Thinking starts collapsed. A collapsed row shows a one-line summary and how long the model thought; click the row to read the full text. Inlay saves your `/thinking` choice, so it applies to later sessions too.

See [Keyboard shortcuts](/docs/core-concepts/keyboard-shortcuts.md) for the navigation keys, and [Use Inlay in the terminal](/docs/cli/overview.md) for what the terminal UI can and can't do.

## Skill commands

Each skill available in your project also appears as a slash command, under **Skills** in the VS Code menu. Type the skill name, then any instructions for it:

```text theme={"theme":"css-variables"}
/debug-saleae
/stm32 check the clock tree
/my-board-test check the boot sequence
```

Inlay loads the skill's instructions, then handles the rest of your message. The list includes bundled skills, project skills, and skills you've installed. Some bundled skills appear only when the project includes matching hardware.

A skill doesn't get its own command if its name matches a built-in command or alias, or contains characters other than letters, digits, `.`, `_`, and `-`.

See [Skills](/docs/core-concepts/skills.md) to find, install, and write skills.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.