Skip to content

user guide usage and commands

github-actions[bot] edited this page Nov 28, 2026 · 53 revisions

Usage and commands

Quickstart

cd /path/to/your/project
solomon .

On first run, Solomon starts an interactive setup (provider URL, API key, model). Reconfigure later with /onboard; backup config with /configbackup.

At the You: prompt:

/agent          # agent mode (orchestrate, searchTools, subagent)
/chat           # chat mode (web, docs)
/help           # full slash command list

One-shot without the REPL:

solomon exec "summarize the README"
solomon exec --jsonl "run go test ./..."   # CI / automation

You need network access and credentials for an OpenAI-compatible HTTPS API (base_url + API key), or configure a provider with /connect (Anthropic, ChatGPT Sub, Cursor).

Install first: Installation and PATH. Provider and engine knobs: Configuration.

In the web and desktop GUI, type / at the start of a message for command and installed-skill suggestions, or @ for files in the selected project. Use the arrow keys to select, Tab or Enter to complete, and Escape to close the menu. Send the completed command to run it through the same dispatcher as the TUI; command output appears in the chat. /agent and /chat use the composer's mode control. Commands that manage the terminal session or require terminal setup, such as /terminal, /resume, and /onboard, remain available in the TUI.

Features

  • Interactive readline REPL plus one-shot runs: exec, temp exec
  • Configuration and state under ~/.solomon: config.toml, mcp.json, projects/, exported/, logs/, skills.json, project-scoped dirs
  • First-run or incomplete LLM setup via RunInitialSetup; re-run with /onboard (RunOnboardWizard)
  • Working directory ↔ project: stable id from cwd; chats and skills partitioned per tree (project.Resolve)
  • Skills: solomon add / solomon remove; /skills, /add, dynamic skill slashes, and forced /skill:<name> [request] in-session (authoritative list: /help)
  • Project instructions: AGENTS.md (and fallbacks) plus numbered custom rules injected into the system prompt — see Project instructions
  • MCP clients: optional mcp.json; discovered tools exposed to the model as remote tools
  • Deferred tools: readFile, editFile, find, shell, fetchWeb, webSearch via orchestrate; plan tools when planning is active — see Native tools
  • Local server: detached service for the web GUI and future local APIs, reachable on local and Tailscale interfaces — see Local server

CLI usage modes

Mode Command
Interactive REPL solomon
Interactive REPL in an explicit directory solomon [directory], solomon tui [directory], or solomon attach [directory]
One shot (persisted chat) solomon exec <prompt>
Ephemeral session (one shot) solomon temp exec <prompt>
CI / automation (JSONL stream) solomon exec --jsonl … <prompt>
CI / automation (JSON report) solomon exec --json … <prompt>
Ephemeral session (REPL) /temp on an empty chat (in memory only; not written to disk)
Skill install solomon add https://skills.sh/... or solomon add npx --yes skills add ...
Skill remove solomon remove skill <name>
Local server solomon server start|status|stop|restart|logs

Exact usage strings: cmd/solomon/main.go.

Local server

The server is a manually managed background process for the web GUI and its project, chat, customization, model and terminal APIs. It is bound to the user, not the current project directory. server_port in ~/.solomon/config.toml keeps a stable port; SOLOMON_SERVER_PORT overrides it and is persisted back to the config. solomon server start and solomon server run load a .env from the current directory (or the development GUI's parents), while explicit environment variables keep precedence. If neither is configured, Solomon uses port 64000; it never selects a free server port. It listens on all IPv4 interfaces. solomon server start and solomon server status show the loopback URL and the available local-network and Tailscale URLs. In dev mode, solomon server status also prints the GUI source directory used for Vite/HMR.

solomon server start
solomon server status
solomon server stop

Phone and tablet access

Run solomon server status on the computer hosting Solomon. On a phone on the same network, open one of the reported local URLs in the browser. With Tailscale connected on both devices, open the reported tailscale URL. The browser uses the same projects, chats, streaming runs and terminal sessions as the desktop app.

The touch layout supports portrait and landscape, drawer navigation, photo attachments, and a Save button in the editor. The composer keeps its draft when the virtual keyboard reduces the available space. Folder browsing and terminal commands operate on the computer hosting Solomon. To publish frontend changes from a source checkout, run make hot-install. This closes and reopens the native Solomon clients and restarts the server in its previous mode, preserving saved chats and settings. A running development server loads source changes through Vite.

For GUI development, configure the dev switch and GUI source directory in Settings → Advanced, or pass the GUI project directory explicitly. Saved server preferences take effect at the next start or restart; solomon server start normal selects normal mode for one invocation. The server launches Vite as its child and proxies it at its advertised local URL, so browser and Wails desktop development use the same frontend and daemon API.

The repository Make targets verify the GUI's locked npm dependencies before using them and run npm ci when gui/node_modules is missing or incomplete. You can run that check by itself with make gui-deps; make hot-install includes it before starting or restarting the server.

solomon server start dev /absolute/or/relative/path/to/gui
solomon server logs interactive

To develop the Wails desktop client against that server, run this from the repository root instead of invoking wails dev directly:

make desktop-dev

The launcher reads the current server state and passes its advertised local URL to Wails, so it does not assume a fixed port.

The development directory must contain package.json and src/. solomon server restart and release updates retain the current mode and development directory. In dev mode, an update installs the new backend while continuing to serve the local GUI through a restarted Vite process. Logs live at ~/.solomon/logs/server/server.log; runtime state is ~/.solomon/run/server/state.json. If stop finds a dead or unreachable process with leftover state, it force-stops the recorded server and Vite process trees when needed and clears state.json. Full behavior: Local server architecture.

Skill installation commands are intentionally restricted: Solomon accepts only install commands that resolve to the skills package and its add subcommand (npx ... skills add ... or npm exec ... skills add ...). Shell chaining, redirects, unrelated packages, and unsupported flags are rejected.

exec and temp exec use shell tokenization: quotes group words for the shell; they are not smart quotes passed into Solomon.

Machine-readable output (--json, --jsonl)

For pipelines and CI, pass --jsonl (one JSON object per line, streamed as the run progresses) or --json (a single JSON report on stdout when the run finishes). The two flags are mutually exclusive.

Other flags (any order before the prompt; the prompt must be the trailing positional text):

Flag Effect
--no-color Plain human output (no ANSI styling on stdout)
--fail-on-tool-error Exit code 5 if any tool result JSON contains an "error" field
--env-file <path> Dotenv file with OPENAI_BASE_URL, OPENAI_API_KEY, MODEL_ID

Colors without the flag: Solomon also disables colors when stdout is piped or redirected, when NO_COLOR is set, or when CLICOLOR=0. See Terminal setup.

Configuration precedence (only with --json or --jsonl): valid ~/.solomon/config.toml (provider + model + API key) → environment variables → --env-file. No interactive wizard in this mode.

Exit codes (exec / temp exec): 0 ok, 2 usage, 3 config, 4 LLM/API, 5 tool policy (--fail-on-tool-error), 6 timeout/cancel.

Stdout is JSON-only in machine mode; diagnostics go to stderr. Example workflow: docs/development/ci-github-actions.example.yml.

Slash commands

In the REPL, type /help for the authoritative sorted catalogue (commands.Registry).

Tab completion: press Tab after / to complete command names (built-ins and installed skills) and many first arguments (e.g. /log, /reasoning, /add, /remove, /resume, /goto). On shell input (!command or plain lines when shell-first is on), Tab completes PATH command names (including after |, ||, &&, ;), go subcommands after go, and file paths under the project workspace. There is no completion for !/… (treated as shell text, not slash). Details: Terminal setup — Tab completion. Disable with SOLOMON_NO_COMPLETE=1.

Highlights:

Command Role
/agent, /chat Switch session mode
/resume, /new, /temp Session switching (/temp = ephemeral, empty chat only)
/export Export a chat transcript to markdown under ~/.solomon/exported/ (or [export].path) — see below
/summarize, /compact Long-context hygiene
/connect Add provider and models
/legacytools Legacy XML tool calling — see below
/btw <question> Temporary side question while the assistant is already streaming; not saved to the transcript
/add Install skills (skills.sh, npx, or local .md); /add rule, /add projectrule for custom rules
/skill:<name> [request] Force one installed skill into the next LLM turn while keeping /skill:... visible in the chat transcript
/activate, /deactivate Enable or temporarily disable a global rule, project rule, or installed skill
/remove rule, /remove projectrule, /remove skill Permanently remove the selected rule or skill
/rules List custom rules (global + project), marking inactive rules
/instructions Show global ~/.solomon/AGENTS.md loaded into the system prompt
/goto, /checkpoint Rewind transcript to a checkpoint id; print current checkpoint tag
/exec Send one user message and run a turn (/exec "prompt with spaces")
/research Start or manage asynchronous deep research jobs and their HTML reports
/models, /onboard Switch model; rerun setup wizard
/docs Search embedded Solomon docs (/docs <query>); keeps /docs … visible in chat
/mcp, /integrations List MCP servers; Cursor sidecar health and URL
/cursortools Confirm deprecated Cursor native tools stay off — only after /connect → Cursor API
/reasoning, /thinking Main-chat reasoning effort (none, low, medium, high, xhigh/Extra high, max); streamed reasoning preview
/reasoning subagent [level|reset] Show the subagent default, save a level (e.g. high), or restore the built-in default (none). sub is an alias.
/agents Show the global active-agent tree and control project subagents
/log, /stats, /max_response, /timeout Log verbosity; token footer; output cap; subagent minutes
/name, /language User name and reply language in system prompt (saved)
/fast Cursor fast mode when supported by the active provider (saved)
/testweb Test web search config (OK / NOT OK + DuckDuckGo fallback)
/cleansessioncache Drop broken pasted PNG paths; strip orphaned [img-*] from transcript
/terminal Shell-first input: plain lines = shell; !… = AI message
/version, /update, /upgrade, /autoupdate Version; check releases and refresh banner; install update; toggle startup auto-install (autoupdate=true installs before the prompt and restarts in the same terminal)
/configbackup Copy config.toml to ~/.solomon/backup/config.toml.<isodate>.bak
/clear, /exit, /quit Clear terminal; exit REPL with resume hint

Full behaviour (rules vs AGENTS.md, subdirectory activation, truncation): Project instructions.

Startup connectivity notice

After the welcome banner, Solomon runs a short HTTPS reachability check in the background (skipped when onboarding is required). If the network looks offline, a single system notice lists affected remote features (web search, remote MCP servers, remote providers) instead of separate catalog errors. The notice appears when the prompt is ready; typing can interrupt the wait. After an offline startup, the first /models refetches provider catalogs once connectivity returns.

Slash commands persist many settings to config.toml (for example /name → user_name, /language → response_language, /stats → show_usage_stats, /fast → fast_mode, /cursortools → forces cursor_internal_tools = false, /autoupdate → autoupdate). Field mapping: Configuration. /export reads [export].path but does not write config.

/agents — global active-agent tree

/agents shows the global Active Agents tree from the daemon, across all projects. Each line contains <id> <model> (<reasoning> <fast>) in <folder> <intent>, with nested subagents indented below their parent. Fast mode uses a yellow lightning symbol in UTF-8 terminals, with fast=on as the ASCII fallback; disabled and unknown states use fast=off and fast=?. Color-disable settings remain respected. Unknown execution metadata is shown explicitly. Control actions still target persisted subagent sessions in the current project.

Invocation Behavior
/agents Show the global active-agent tree
/agents resume <id|title> Resume a non-running session in the background; the stored transcript is continued
/agents stop <id|title> Stop the live run, persist it as paused, and keep it resumable
/agents cancel <id|title> Stop the live run and persist it as cancelled; the transcript remains on disk

stop and cancel interrupt the active context and wait for it to finish before writing the final status. A control command may take up to ten seconds while a provider request is being cancelled. resume starts asynchronously and prints the new background run information.

The /agents command controls sessions created by the native subagent tool. It does not expose a separate foreground viewer: to continue a session with a new task, use the native tool with resume: "<subchatId>" and task, optionally adding interrupt: true when the resumed session is still active.

Subagent status values are running, queued, paused, done, and cancelled. A timed-out or failed run is saved as paused so it can be resumed. Subagents cannot be persisted from an ephemeral parent session (solomon temp exec or /temp).

/research

Deep research runs in the background for the current persisted project. It performs iterative web search and page extraction, then writes an HTML report. The initial command returns a job id; progress is printed asynchronously and can be inspected at any time. The command accepts a job id, slug, or case-insensitive title.

Invocation Behavior
/research or /research list List project jobs, status, progress, statistics, and report paths
/research <query> Start a new research job
/research status <id|title> Show phase, rounds, source statistics, URL issues, and report path
/research stop <id|title> Request cancellation of a running job (cancel is an alias)
/research delete <id|title> Delete the job JSON and its HTML report (remove / rm are aliases)
/research resume <id|title> Continue a paused job (continue is an alias)

Research is unavailable for ephemeral /temp sessions. A paused job keeps its plan, findings, queries, fetched URLs, and URL-attempt metadata so it can be resumed. The GUI exposes the same project jobs in its Deep research panel and opens completed reports. Configuration: Deep research.

/export chat transcript

Export a readable markdown copy of a chat session. The command requires a target; omitting arguments returns a usage error.

Invocation Source session
/export current Active REPL session (including ephemeral /temp chats in memory)
/export last Latest saved chat with a user message (same resolution as /resume last)
/export <id|title> Load by chat id or title from disk (does not switch the REPL session)

Output path: {export_root}/{YYYY-MM-DD}/{basename}.md

Setting Export root
Default ~/.solomon/exported/
[export].path in config.toml Absolute directory; same {date}/{basename}.md layout underneath

Solomon always prints the absolute path of the written file. When the default root is used, the confirmation line notes (default) on the export root in the file metadata header.

Basename rules:

  • Slug of the chat title (lowercase, - separators, non-alphanumeric stripped, max 80 characters)
  • Empty title → chat id (or placeholder id for unsaved chats)
  • Re-export the same chat on the same day → suffix -1, -2, … (counter starts at 1)
  • /export last fails with an explicit error if any {basename}*.md already exists for that chat today (including suffixed names)

Markdown contents:

  • Header with available metadata (title, export time, chat id, project, provider, model, mode, timestamps, message count, ephemeral flag, export root)
  • Full readable transcript: user and assistant text, reasoning (blockquote), tool call/result lines, checkpoint tags — no ANSI colors
  • Image placeholders ([img-N]) preserved in the body; a trailing ## Images section maps each placeholder to data:image/…;base64,…

Implementation: export.go, export_transcript.go. Config: Configuration — [export].

/btw side questions

While the assistant is streaming in the interactive REPL, press / to open a temporary /btw prompt. Solomon pauses visible main-stream output, prints a side-question separator, lets you edit the /btw line with the normal multiline editor, then streams a one-shot answer. The main assistant turn keeps running in the background; after the /btw answer finishes, Solomon waits briefly before dumping the buffered main output and resuming normal streaming.

/btw uses the conversation context up to the latest complete turn and a dedicated no-tools system prompt. The side question and answer are not persisted, do not appear in saved transcripts, and are not restored when the chat is reloaded. If /btw was opened accidentally, delete the line and submit/cancel to resume the main stream.

Installing skills

Solomon copies installed skills into one of three scopes (optional last argument; default global):

Scope Storage Visible when
global ~/.solomon/skills/ Any project (default)
project ~/.solomon/projects/<project-id>/skills/ Registered cwd tree for that project id
local <workspace>/.solomon/skills/ This workspace only

skills.sh — paste the catalog URL directly (no skill prefix before the URL):

/add https://skills.sh/anthropics/skills/prd
/add https://skills.sh/anthropics/skills/prd project

https://www.skills.sh/... is accepted. Solomon runs npx --yes skills add <repo> --skill <pkg> -y, stages under ~/.agents/skills/, then copies into the chosen scope. The npm CLI may also create .agents/ and skills-lock.json in the project cwd; Solomon removes those after a successful install (local skills live under .solomon/skills/, which is left intact).

npx — explicit install command (same validation as CLI solomon add):

/add npx --yes skills add anthropics/skills --skill prd
/add npx --yes skills add anthropics/skills --skill prd local

Local or remote SKILL.md:

/add skill ./path/to/SKILL.md
/add skill https://example.com/SKILL.md "My Skill" project

List installed skills with /skills (sections Local → Project → Global); inactive skills remain listed but are excluded from discovery. Use /deactivate skill <name> and /activate skill <name> to toggle them; specify --scope global|project|local if the name is ambiguous. Permanently remove a skill with /remove skill <name>. Paths and registry: Data layout — Skills.

Skill install safety checks

For /add npx ... (and the equivalent npm exec ...) Solomon validates the resulting install command before execution.

Allowed shape:

  • npx ... skills add <owner/repo|https://github.com/...> [--skill <pkg>] [--yes|-y]
  • npm exec ... skills add <owner/repo|https://github.com/...> [--skill <pkg>] [--yes|-y]

Optional npm flags -g / --global are accepted if you pass them manually; Solomon does not append them. Use Solomon’s global|project|local argument to choose where skills are stored.

Rejected examples include:

  • other packages instead of skills
  • subcommands other than add
  • extra unsupported flags
  • shell metacharacters such as &&, ;, pipes, redirects, backticks, or $()

If validation fails, /add returns the original error plus a hint telling you to use only npx ... skills add ... or npm exec ... skills add ....

Forced skill syntax: /skill:<name> [request]

Use /skill:<name> to force one installed skill into the next model turn without relying on the model to call loadSkill itself.

Example Effect
/skill:PRD Review Sends a structured prompt that embeds the resolved PRD Review skill body and asks the model to apply it now
/skill:PRD Review analyze this diff Embeds the resolved skill body and appends analyze this diff as the user request for the same turn

Notes:

  • Skill names may contain spaces and do not require quotes.
  • If multiple installed skills share a prefix, Solomon picks the longest matching name.
  • The chat transcript keeps the visible user message as /skill:<name> ..., while the API request uses the expanded skill body internally.
  • If no installed skill matches, Solomon returns skill not found: "..." (try /skills).

/legacytools

Persists to [tools] in config.toml (global, not per session).

Invocation Result
/legacytools on legacy tools: ON, force: OFF — model may use <tool_calls> XML; native API tools stay available
/legacytools off Both legacy and force off
/legacytools force on legacy tools: ON, force: ON — native API tools disabled; model must use XML
/legacytools force off Legacy stays on; force off

Useful for text-only or unreliable native function-calling backends. Details: Configuration — [tools], Agent turn pipeline.

/cursortools

Deprecated. Cursor built-in tools (Read, Shell, Edit, …) no longer run on your project. Solomon registers native tools (orchestrate, searchTools, searchSkill, loadSkill, …) with the Cursor SDK and executes them in Go.

The command appears in /help, tab completion, and dispatch only after Cursor API is configured.

Invocation Result
/cursortools on Error — deprecated; use orchestrate, searchTools, searchSkill, loadSkill
/cursortools off or /cursortools cursor native tools: deprecated and disabled — persists cursor_internal_tools = false, restarts sidecar

Details: Configuration — Cursor integration, Cursor integration (architecture).

Implementation: Skills and slash.

See also

/regenerate rigenera la risposta all’ultimo messaggio utente mantenendo gli allegati e il contesto precedente. Nel terminale pulisce lo schermo e ristampa la conversazione. Nella GUI è disponibile anche dal tasto Resend tra elimina e copia dell’ultimo messaggio utente. La risposta precedente viene sostituita; eventuali modifiche ai file già effettuate non vengono annullate.

Clone this wiki locally