---
title: Commands and flags
description: Every slash command of the terminal, every launch flag, and the keyboard shortcuts of the prompt.
---
# Commands and flags

## Launch

```sh
lampson                       # terminal, on the current folder
lampson --web                 # browser, http://127.0.0.1:8080
lampson --workspace ~/other   # a project without cd
lampson --agent plan          # start read-only
lampson --yolo | --strict | --ask
lampson --hub start|stop|status|logs|restart
lampson --daemon start        # the resident process for scheduled tasks
lampson --install             # keep the hub alive across logins
lampson --update              # git install: pull · npm: tells you the command
lampson --help
```

## Slash commands

| command | |
|---|---|
| `/model [provider] [model]` (also `/provider`, `/setup`) | provider → model (listed from the API) → key if missing, with arrow keys; saved for next time |
| `/agent <build\|plan\|review\|explore>` | switch profile |
| `/ask` · `/yolo` · `/strict` | permission mode |
| `/new` · `/sessions` · `/resume <id>` · `/delete <id>` | sessions |
| `/trace [n]` · `/tokens` · `/out [n]` · `/verbose` | what happened, how much it cost, full tool outputs |
| `/files` · `/memory [name]` · `/todo` | the project tree, the agent's notes, the session's todo list |
| `/procs` · `/logs <name>` · `/stop <name>` · `/kill <pid>` | servers the agent started |
| `/plugins [on|off|run|remove] …` | [plugins](/en/docs/plugins) |
| `/mcp [add\|remove] …` · `/lsp [add\|remove] …` | [MCP](/en/docs/mcp) and [language servers](/en/docs/lsp) |
| `/skills` | skills the agent can see |
| `/agents` | sub-agents |
| `/schedule [add\|list\|remove] …` · `/approve` | scheduled tasks and pending approvals |
| `/image <path>` · `/paste` | attach an image to the next message |
| `/config` · `/flags` | current settings |
| `/update` · `/help` · `/exit` | |

`!command` runs a command yourself in a real terminal; its output enters the conversation.

## Keys

| key | |
|---|---|
| `/` | command menu (recent first, filter as you type) |
| `Tab` | complete the command, then its arguments |
| `↑` `↓` | history, or move in a menu |
| `Alt+Enter` | new line |
| `Ctrl+O` | last tool result in full |
| `Ctrl+U` / `Ctrl+W` | clear line / word |
| `Esc` | close the menu |
| `p` / `d` (or arrows) | allow / deny an approval |
