Trae SOLO

May 31, 2026 · View on GitHub

Control Trae SOLO from OpenCLI through the Electron debug port and read its local VSCode-style state files.

Mode: Desktop app / local filesystem · App: TRAE SOLO

Commands

CommandDescriptionAccess
opencli trae-solo statusCheck whether the Trae SOLO desktop app is reachableread
opencli trae-solo historyList visible projects and tasks from the Trae SOLO sidebarread
opencli trae-solo model [name]Read, list, or switch the active model in an open taskwrite when switching
opencli trae-solo mode [code|work]Read or switch between Code and Work modewrite when switching
opencli trae-solo automation-listRead visible Automation tab entriesread
opencli trae-solo skill-listList marketplace or installed skills from the Skills panelread
opencli trae-solo skill-search <keyword>Search visible marketplace skillsread
opencli trae-solo skill-category [name]List or filter marketplace skill categoriesread
opencli trae-solo storage-keysList renderer localStorage / sessionStorage keysread
opencli trae-solo storage-get <key>Read a renderer storage valueread
opencli trae-solo cookiesList JavaScript-visible renderer cookies with truncated previewsread
opencli trae-solo idb-listList renderer IndexedDB database namesread
opencli trae-solo state-keysList keys in Trae SOLO state.vscdbread
opencli trae-solo state-get <key>Read a key from state.vscdbread
opencli trae-solo recent-workspacesShow recently opened workspaces from local stateread
opencli trae-solo workspaces-listList workspaceStorage entries and resolved workspace targetsread
opencli trae-solo extensions-listList installed VSCode-compatible extensionsread
opencli trae-solo task-fs-listList on-disk Trae SOLO task idsread
opencli trae-solo task-fs-turns <task-id>List chat-turn git tags for a task snapshotread
opencli trae-solo task-fs-show <task-id>Show the workspace tree at a chat-turn refread
opencli trae-solo skill-fs-listList local skill directories under ~/.trae/skillsread
opencli trae-solo skill-fs-installedList skills registered in skill-config.jsonread
opencli trae-solo skill-fs-show <name>Show a local skill's SKILL.md head and metadataread
opencli trae-solo settings-readRead user settings.json with JSONC comments/trailing commasread
opencli trae-solo user-rulesRead ~/.trae/user_rules.mdread

Write-side UI commands that only proved button clicks were intentionally left out. New task creation, task open/navigation, message actions, skill install/uninstall/run/toggle, automation creation, and filesystem deletion need explicit postconditions before they can be exposed safely.

Examples

opencli trae-solo status
opencli trae-solo history --limit 20
opencli trae-solo model --list true
opencli trae-solo model "Claude"
opencli trae-solo mode work

opencli trae-solo skill-search "python"
opencli trae-solo automation-list --tab task-template

opencli trae-solo state-keys --filter workbench
opencli trae-solo recent-workspaces
opencli trae-solo task-fs-list --limit 20

Notes

  • Electron UI commands require Trae SOLO to be running with the configured CDP port. OpenCLI launches registered Electron apps with the app-specific debug port when needed.
  • Renderer storage reads come from the current Electron renderer and may be empty if the app has not loaded the relevant workspace.
  • Filesystem reads are local-only and read Trae SOLO state under ~/.trae and ~/Library/Application Support/TRAE SOLO.
  • model and mode verify the visible post-action state before returning success.