UNOUNOCODE

REFERENCE

CLI

Every command and option. uno --help prints the same list.

Commands

CommandEffect
unoOpen a chat
uno -p "<prompt>"Run one task and print the answer. To feed it text such as a diff, put it in the prompt: "…: $(git diff)". Piped input is read only without -p, as the whole prompt: echo "…" | uno
uno --resume [id] -p "…"Continue a session; the newest if no id
uno --fork <id> -p "…"Copy a session and continue the copy
uno sessionsList this folder's sessions
uno undo [--all] [--force]Put back files changed by the newest session
uno trust [--status|--remove]Let this folder's own settings, hooks and MCP servers take effect
uno settingsShow the settings in effect and where each came from
uno mcp login <name> [--no-browser]Sign in to an HTTP MCP server in the browser
uno mcp logout <name>Forget a sign-in
uno mcp statusEach server and how it signs in, without connecting
uno spendSpending so far, and the cap if one is set
uno updateInstall the newest release, if uno came from the installer
uno --version, --helpVersion, or every option

Options

OptionEffectDefault
--model <name>Model to useclaude-sonnet-5
--provider <name>anthropic, openai, openai-compat, geminifrom the model name
--base-url <url>Server address for openai-compat
--max-turns <n>Most model calls in one run30
--max-tokens <n>Most output tokens per call16000; 32000 at high effort and above on models that allow it
--max-cost <usd>Stop before this run spends more; near the limit, the last reply is held to what is left
--deadline <time>With -p: how long the run may take (900, 15m, 1h). The model is told the time left; the run ends cleanly just before
--effort <level>How hard the model thinks: low, medium, high, xhigh or max. Sent only where the provider and model take it, at the nearest level they take; the -p summary names itthe effort setting; else -p: high, chat: the provider's own
--window <tokens>Context window, for unknown models or earlier shorteningfrom the model table
--mode <name>default, accept-edits, plan, bypasschat: default; -p: accept-edits
--dangerously-skip-permissionsSame as --mode bypass
--allow <rule>Allow a tool call; repeatable
--allow-shellShort for --allow bash
--no-sandboxCommands run unconfined, and ask
--no-searchNo provider web search (web_fetch stays)
--no-memoryNothing loaded, nothing saved
--image <path>Attach an image to a -p prompt; repeatable
--output text|jsonHow to print the resulttext
--screen dot|chatThe chat's screendot