Command reference
Every command below is typed with a leading slash at the prompt. Anything you type that does not start with a slash is sent as a normal message to tAI instead.
How commands are grouped
Commands fall into a few natural groups: account and session management, the connector commands covered in detail on their own pages, and settings that change how tCode behaves for the rest of the session or permanently.
Exact matching
A command name is matched exactly, without the leading slash: typing /eff will not partially match /effort, and an unrecognized command prints a short error naming what you typed rather than silently doing nothing.
Session-only versus persisted settings
Some commands change something for the current session only, switching the active model with /model, for instance, applies from that point forward in the current conversation but does not retroactively change anything already said.
The full table
| Command | Description |
|---|---|
/help | Shows the full command list. |
/login | Logs in to tCode. |
/logout | Logs out. |
/model | Changes the tAI model this session uses. |
/usage | Shows your current usage limits. |
/clear | Starts a new chat. |
/cost | Shows the number of model calls made this session. |
/compact | Summarizes the current chat and starts a new, shorter one from that summary. |
/memory | Lists your saved memory entries. |
/memory <request> | Asks tAI to change or delete something in memory. |
/config | Shows current settings. |
/config auto-approve <tool> on|off | Sets whether a specific tool always runs without asking. |
/plan | Enters plan mode. |
/exit-plan | Exits plan mode and shows the plan. |
/effort | Shows the current thinking level. |
/effort <low|medium|high> | Sets how deeply the model thinks before responding. |
/theme | Shows the current code theme and the full list of options. |
/theme <name> | Sets the code syntax highlighting theme. |
/connectors | Shows which connectors are linked to your account. |
/connectors <provider> [query] | Alias for the per-provider search commands below. |
/gmail [query] | Searches Gmail, attaches a picked email. |
/notion [query] | Searches Notion, attaches a picked page. |
/github [query] | Searches your GitHub repositories, attaches one. |
/linear [query] | Searches Linear issues, attaches one. |
/pair <code> | Pairs this machine for remote control. |
/rewind [n] | Undoes the last n turns' file changes (default 1). |
/exit, /quit | Quits tCode. |
Anything without a leading slash
This list only covers commands built into tCode itself.
Why /pair and /rewind stand apart
/pair and /rewind stand apart from the rest of the list in that they both depend on something outside tCode itself being available first, /pair needs a pairing code generated from a Remote Control chat in the tAI web app, and /rewind needs the current folder to be a git repository with at least one checkpoint already recorded.
Commands that show a numbered list
Commands that show a list and ask you to pick from it, /model and /theme among them, all follow the same interaction: a numbered list is printed, you type the number, and pressing enter with nothing typed cancels without making a change.
/exit and /quit
/exit and /quit do exactly the same thing; both exist simply because either is a natural word to reach for out of habit, and tCode does not want an arbitrary choice between the two to be something you have to remember correctly.
Why command names are not case-sensitive
The command name itself is not case-sensitive, /Effort and /EFFORT both work the same as /effort, since the name is matched regardless of how it was typed.