Open History to see the last commit
1# Message composer
2
3Messages can contain up to 120,000 characters. If a draft is longer, T3 Code keeps it in the
4composer and shows how many characters need to be removed. Shorten the draft or split it into
5multiple messages, then send again in the same thread.
6
7You can attach images up to 10 MB. On servers that support file uploads, you can also
8attach text files, PDFs, ZIP archives, and other files. Each file can be up to the limit advertised
9by the server, capped at 50 MB. Each message can contain up to eight attachments in total. Files
10upload directly to the environment, where your agent can read, copy, or edit them by their file path.
11
12On web and desktop, attachments upload as soon as you add them. The send button becomes available
13after every upload finishes. Failed uploads can be retried or removed. On mobile, the **+** control
14offers Photos, and adds Files when the connected server supports file uploads. You can share a file
15into T3 Code from any app through the system share sheet. Mobile uploads happen when the message
16sends, so queued messages keep their files until they deliver. Select a received file on mobile
17to save it or open it in another app through the system share sheet.
18
19On web and desktop, select a video attachment before or after sending to play it with the browser's
20built-in controls. Playback depends on the video formats and codecs that the browser supports.
21
22On web and desktop, if you reload before a file finishes uploading, the draft keeps the file's name
23and shows **Attach again** next to it. Attach the file again or remove it, then send.
24
25On web and desktop, HEIC and HEIF photos are automatically converted to JPEG when you drag them into
26the composer or paste them into a message.
27
28On mobile, the model picker shows each OpenCode model's upstream provider, such as Anthropic,
29GitHub Copilot, or OpenCode Zen, beneath its name. Search by that provider name to narrow the list
30when starting a thread or changing an existing thread's model.
31
32## Prompt stash
33
34Use the default shortcut, `Cmd+S` on macOS or `Ctrl+S` on Windows and Linux, to stash the current
35prompt and its attachments after all file uploads finish. Restore the entry later from the stash
36menu. Stashes that contain files must be restored in the environment where those files were
37uploaded. Stashed files stay uploaded on the server for 24 hours. If you restore an entry after
38that, the file comes back with **Attach again** next to it. Attach the file again or remove it, then
39send.
40
41## Commands and skills
42
43Type `/` to open the command menu. Type `$` to find and add a skill. Skill rows show their source,
44such as System, Personal, Project, or App.
45
46On mobile, these menus are available on the **New task** screen before you start a thread. They
47use the skills and commands from the selected environment and provider.
48
49By default, the `/` menu includes skills. To keep this menu command-only, turn off **Show skills in
50slash menu** in **Settings → General**. Skill results use the `/skill:Skill Name` label and add the
51same `$name` skill token to your message. The original skill name remains searchable. If the provider
52also reports that skill as a native slash command, T3 Code hides the duplicate native entry and keeps
53the `/skill:Skill Name` label.
54
55On desktop, press `Cmd+Enter` on macOS or `Ctrl+Enter` on Windows and Linux from a new thread to
56start it in the background. T3 Code opens another new thread and shows an **Open** action for the
57thread that started. The new thread keeps the selected workspace mode and base branch. If **New
58worktree** is selected, each background thread creates its own worktree.