oscar (or oscar chat) opens a full-screen interface on a terminal:
transcript, tool cards (… running, ✓ done with time, ✗ failed,
× refused), a command palette, the input box, a live dock of running
helpers and background processes (only while something runs), and a status
line (see the status line). Under each turn a footer
says how long it took and what it did (see the turn footer).
oscar -c (or oscar chat -c / --continue) continues the most recent
session started in this workspace from a terminal instead of starting a new
one (-c "<title>": the most recent session with that title); oscar -r <session> (or oscar chat --session <session>) continues any session by
id, id prefix or title — a name that matches nothing, or several, is an
error that lists what there is, never a new empty session. oscar chat -q "<text>" opens the chat with that first message already sent (exactly as
typed, never read as a /command), and --image <path> attaches a picture
to the first message. oscar -w (or oscar chat -w / --worktree) works in
a new git worktree on a new oscar/… branch, never in your checkout: when
the chat ends an unchanged worktree is removed, one with changes is kept
and reported (see worktrees below). --yolo is
--approve auto (see /yolo below).
Replies are drawn as Markdown: headings, bold and italic, lists, block
quotes, code blocks on their own background with the language above them,
inline code, links (the address after the text) and simple tables, wrapped
to the window. A file change by write_file, edit_file or patch shows
on its tool card as a diff (added lines green, removed red, the first dozen
lines; the rest on request).
Keys
| Key | Action |
|---|---|
| Enter | send (or pick the highlighted command); while Oscar works, redirect it (see below) |
| Tab (while Oscar works) | queue what you typed for after the current turn |
| Tab / Shift+Tab, ↑/↓ | complete commands, arguments, skills and @ paths; move in the palette |
Ctrl+P (or /commands) |
the command palette: every command, skill and quick command with its help; type to narrow it (letters in order are enough: cmprs finds /compress), Enter puts the choice in the input box, and runs it when it needs nothing more |
Tab (on a [pasted … lines] chip) |
open the paste up in place |
| Ctrl+J, Alt+Enter, Shift+Enter | new line (Shift+Enter where the terminal tells it apart); a \ right before Enter continues on a new line too |
| ↑/↓ (no palette) | move between the lines of a multi-line message; on its first (last) line, older (newer) input history |
| Ctrl+R | search the input history backwards (see input history) |
| Ctrl+G, or Ctrl+X then Ctrl+E | write the message in $VISUAL/$EDITOR (see writing messages) |
| Ctrl+S | put the draft aside; on an empty prompt, bring the last one back (the status line counts them) |
| Ctrl+V, Alt+V | attach the image on the clipboard to your next message (as /paste) |
!command, !!command |
run a shell command yourself; !! shares it with Oscar (see shell mode) |
| PgUp / PgDn, mouse wheel | scroll the transcript (never past its top; a note at the bottom says how far up you are) |
| Shift + drag | select text while the mouse wheel is on (/mouse off gives the terminal the mouse back) |
| Ctrl-O | pick a tool card (the newest); ↑/↓ move between cards, Enter or o shows its full output (and all of its diff), Esc puts it down |
| Ctrl-T or F6 | open the work monitor: helpers and background processes, their logs, steer and stop (see running work); Esc returns to the chat, draft intact |
| Alt+R or F7 | fold the live dock to one line, or unfold it |
| Ctrl-C | clear the input first; then stop a running turn (pressed again within two seconds: stop it and leave); on an idle, empty prompt, press again to quit |
| Ctrl-D | delete the character under the cursor; on an empty prompt, quit |
| Ctrl+Z | suspend Oscar to the shell; fg brings it back |
| Ctrl-L | clear the screen (session kept) |
| Ctrl-B | voice mode: start recording; again to stop and put the transcript in the input; once more (or Enter) to send it (see voice mode) |
| Esc (while recording) | drop the recording (or the transcription under way) |
| Esc Esc (empty prompt) | the transcript browser: go back to an earlier message, edit it and send it in a fork of the session (see going back to an earlier message); nothing is taken back by looking |
Editing keys
The input box edits like a shell's readline (Emacs keys):
| Key | Action |
|---|---|
| ← / →, Ctrl+← / Ctrl+→ or Alt+B / Alt+F | a character, or a word, left / right |
| Home / End, Ctrl+A / Ctrl+E | start / end of the line; pressed again, of the whole message |
| Backspace (Ctrl+H) / Delete | the character before / under the cursor |
| Ctrl+W | delete the word before the cursor (back to a blank) |
| Alt+Backspace | delete the word before the cursor (letters and digits) |
| Alt+D | delete the next word |
| Ctrl+K / Ctrl+U | delete to the end / the start of the line (at its edge: join it with the next / previous line) |
| Ctrl+Y | put back what the last of those deleting keys removed |
| Ctrl+_ (Ctrl+/ and Ctrl+7 are the same key on most terminals) | undo, a word at a time; it also brings back a draft cleared with Ctrl-C |
| Alt+_ (or Ctrl+Shift+Z where the terminal tells it apart) | redo |
Ctrl+Z suspends Oscar, so undo has its own key.
Vim mode
editor_mode = "vim" in config.toml (or OSCAR_EDITOR_MODE=vim) gives
the input box vim's two modes. It starts in insert mode, where typing types;
Esc goes to normal mode (the box says -- NORMAL --): h l move, j k
move between lines (and through the history at the first or last line),
w b e move by words, 0 $ go to the start or end of the line, x
deletes the character under the cursor and dd the line, u undoes and
Ctrl+R redoes, i a insert before or after the cursor, I A at the
start or end of the line, and o on a new line below. Other letters do
nothing in normal mode. Enter sends from either mode, and the next message
starts in insert mode. Esc in normal mode does what Esc always does (Esc Esc
on an empty prompt rewinds), and the Ctrl keys above work in both modes.
The line chat uses its line editor's vi mode for the same setting.
Writing messages
- New lines. Ctrl+J, Alt+Enter, or a backslash right before Enter
(
first line\then Enter) start a new line; Enter sends. Shift+Enter does too in terminals that tell it apart from Enter (those with the kitty keyboard protocol: kitty, WezTerm, foot, Ghostty, recent Alacritty, iTerm2 with CSI u reporting and others). Oscar asks the terminal when it starts, turns its extended keyboard on only when the terminal answers that it has it, and always turns it off again when it leaves, is suspended, hands the terminal to your editor, or crashes. On Windows Terminal Alt+Enter belongs to the terminal: use Ctrl+J or Ctrl+Enter. - Your editor. Ctrl+G (or Ctrl+X then Ctrl+E, or
/prompt [text]) opens the draft in$VISUAL, else$EDITOR, elseviornano. Oscar hands the terminal over; the draft waits in a private file (mode 0600, under$OSCAR_HOME/tmp, removed afterwards), and what you save comes back into the input box to read over and send. An editor that exits with an error leaves the draft as it was. The editor runs without Oscar's secrets in its environment. - Long pastes. A paste of more than 20 lines or 2,000 characters shows
as a chip,
[pasted 120 lines], so the box stays readable, and is sent in full. Tab on the chip opens it up in place to edit; Ctrl+G shows it in your editor. Shorter pastes go in as they are. - Pictures from the clipboard. Ctrl+V or Alt+V (or
/paste) attaches the image on the clipboard to your next message, like/image. Oscar askswl-paste(Wayland, from wl-clipboard) orxclip(X11) for animage/*type (PNG first). A copied image file works too (a file manager puts its address on the clipboard), and so does a copied path to one;xselreads text only, so with it only those do. Text is pasted by your terminal (often Ctrl+Shift+V). Terminals that keep Ctrl+V for their own paste leave Alt+V and/paste. - The stash. Ctrl+S puts the draft aside and empties the box, so you
can send something else first; Ctrl+S on an empty prompt brings the last
draft back. Several drafts stack (the status line says
2 stashed), none is lost, and they live in memory only.
Input history and search
What you send (messages, commands, shell-mode lines) is kept in
$OSCAR_HOME/history, shared by the full-screen and the line chat: ↑ in one
brings back what you typed in the other. The file is private (0600), holds
each line once (sending it again moves it to the end) and keeps the last
5,000 (history_size in config.toml; 0 keeps none). Lines that look
like secrets (API keys and tokens, NAME_TOKEN=…, --password …, private
keys) and pastes longer than 4,000 characters are never written to it.
Answers to approvals and questions, and what is typed into a secret prompt,
are not history.
Ctrl+R searches it backwards: type to narrow it down (any case), Ctrl+R again for an older match (Ctrl+S or ↓ for a newer one), Enter takes the match into the input box (Enter again sends it), Esc or Ctrl-C closes the search and leaves your draft as it was.
Shell mode
A line starting with ! is a command you run yourself, not a message:
!git statusruns it and shows its output in the transcript (on a$card, which Ctrl-O folds). No model turn, no tokens, and nothing is added to the conversation.!!cargo testdoes the same, and gives Oscar the command and its output (redacted, at most 8,000 characters: the start and the end) with your next message, so you can ask about it.!alone shows a reminder.
It runs like a command typed in a terminal: on this machine, in the
workspace folder, with bash -c, whatever the sandbox mode (only Oscar's
own tools are sandboxed). There is no approval prompt, since you typed it,
but the guards of host commands still apply: Oscar's secrets (API keys,
tokens and password-manager sessions in its environment) are not passed to
it, a command naming Oscar's own data is refused, and every command goes to
the audit log as user_command (oscar logs audit shows them). Its input
is not connected, so interactive programs belong in a terminal (Ctrl+Z gets
you there, fg back). It is stopped after ten minutes; Ctrl-C on an empty
prompt stops it sooner. In the full-screen chat it runs beside a running
turn; the line chat runs it after the turn, and /stop stops a running
one. To send a message that starts with !, put a blank before it.
Chat gateways are not affected: there ! starts Oscar's own commands
(!help).
Suspending and leaving
Ctrl+Z suspends Oscar to the shell like any terminal program (the screen,
the mouse and the keyboard modes are given back), and fg resumes it with
the screen drawn afresh; a running turn waits meanwhile. Ctrl-C stops a
running turn; pressed twice within two seconds it also leaves at once,
without waiting for the background review and the title. Ctrl-D leaves from
an empty prompt, and /exit or /quit always.
The status line
The line at the bottom of the full-screen chat shows, from the left: while
Oscar works, ● working with the turn's time so far and what Enter does;
what is queued, running in the background, a standing goal, a loop or
heartbeat, and stashed drafts; then the model (and the reasoning effort,
fast), the workspace with its git branch, the sandbox, the approval mode,
tokens and cost, how full the context window is (green below half, yellow to
80 %, red beyond: time for /compress), the session's title and id, how
long the chat has been open, the last turn's speed (tokens per second), how
much of its prompt came from the provider's cache, and how often the
conversation was compressed. A narrow window drops the fields that matter
least first (compressions, cache, speed, duration, sandbox …); the model and
the context stay. status_fields in config.toml picks the fields and their
order: status_fields = "context, model, branch, tokens" (the names are
model, reasoning, fast, workspace, branch, sandbox, approvals, tokens,
context, session, turn, duration, speed, cache, compressions).
The turn footer
Under each turn a dim line says what it did: ─ 14.2s · edited src/main.rs +12 −3 · read 4 files · ran 2 commands · 2888 tokens, $0.01 (with several
files edited, how many and their lines added and removed). footer = "off"
in config.toml keeps the tokens and cost only. When a reply says Oscar
changed files but no tool wrote any (and no command ran that might have), a
dim note says so: "no files were changed in this turn". The line chat shows
the same footer.
Notifications
With notify = "bell" (the terminal bell), "osc" (a desktop notification
through the terminal: OSC 9 and OSC 777, which kitty, WezTerm, iTerm2,
foot, Windows Terminal and others turn into a system notification) or
"both", Oscar signals when a turn that took at least notify_after
seconds (default 30) ends, and when an approval, a question or a secret
prompt waits for you, but only while the terminal does not have the focus
(terminals that report focus tell it; one that never does counts as
unfocused). The notification says what happened ("Oscar finished", "Oscar
asks to run bash"), never the conversation. Off by default. The line chat
signals the end of long turns the same way.
Terminal status (Herdr and others)
In a Herdr terminal Oscar shows up as an agent, with
its state, as Claude Code and Codex do: the full-screen chat, the line chat
and oscar run (when you run it yourself on a terminal) tell the terminal
what Oscar is doing with OSC 7501, the Program Status Protocol
(ESC ] 7501 ; state=…:app=oscar ESC \):
| State | When |
|---|---|
idle |
the chat waits for your message (at start, and after a stopped turn) |
working |
a turn runs: your message, a queued or steered one, a /goal or /loop step, a background report Oscar looks at, /plan; in the line chat also /compress, /refine and /learn while they run (then idle; the full-screen chat runs /refine and /learn beside the conversation, like a helper) |
blocked, kind=permission |
an approval waits for your answer |
blocked, kind=question |
a clarify question (or an MCP server's form, or "carry out this plan?") waits |
blocked, kind=auth |
a sign-in, key, password or sudo prompt waits |
done |
the turn ended; it stays until the next turn starts |
error |
the turn failed (the provider after its retries, or an error that ended the turn) |
clear |
Oscar is leaving (also Ctrl+C, Ctrl+D, SIGTERM, a crash): the terminal shows a plain program again; Ctrl+Z in the full-screen chat clears it too, until fg |
Once a question is answered the state is what it was (working during a
turn). Helpers and background prompts never change the state, except that
their approvals and questions wait for you like any other. A report the
terminal already has is not sent again.
terminal_status in config.toml (or OSCAR_TERMINAL_STATUS) decides:
auto (the default) reports only in a Herdr terminal (where
HC_TERMINAL_ID is set), on in any terminal (for other terminals that
read OSC 7501), off never. Reports go to the terminal the chat draws on;
never into a pipe or a file, so scripts reading oscar run's output never
see them.
Oscar's icon in Herdr
The Herdr app takes names and icons from its programs.json; an agent
missing from it gets the generic robot icon. Oscar is not in Herdr's
defaults, so it shows as oscar with that icon until you add a local
entry to ~/.config/herdr-app/programs.json (or
$HERDR_APP_HOME/programs.json). Local entries are laid over the defaults
one by one and picked up without a restart; icon paths are relative to
that folder.
The entry and the icon go on the computer that runs the Herdr app, not where Oscar runs: when Oscar runs on a server you reach over SSH, its status travels through the terminal to herdr-core, but the app draws the sidebar and looks the icon up in its own folder. Oscar does not need to be installed on that computer. There:
d="${HERDR_APP_HOME:-$HOME/.config/herdr-app}"
mkdir -p "$d/icons"
curl -fsSL https://oscar-agent.com/brand/herdr/oscar.svg -o "$d/icons/oscar.svg"then, when programs.json does not exist yet:
cat > "$d/programs.json" <<'EOF'
{"programs":{"oscar":{"name":"Oscar","icon":"icons/oscar.svg","run":["oscar"],"tint":false,"tile":"#1c1d21","color":"#ffffff"}}}
EOFor, to add the entry to an existing one (with jq):
jq '.programs.oscar = {"name":"Oscar","icon":"icons/oscar.svg","run":["oscar"],"tint":false,"tile":"#1c1d21","color":"#ffffff"}' "$d/programs.json" > "$d/programs.json.new" && mv "$d/programs.json.new" "$d/programs.json"The key oscar matches both the program's name and the app=oscar Oscar
reports; run adds Oscar to Herdr's new-agent menu. The icon is also in
the repository, at contrib/herdr/oscar.svg.
Typing while Oscar works
The input stays open while a turn runs. What Enter does is
busy_input_mode in config.toml (or /busy for this chat):
interrupt(the default): your message redirects the turn. If the model is writing, that request is stopped and asked again with your message added; what tools already did stays in the conversation. A running tool finishes first, except a foreground shell command, which is moved to the background (not killed): it keeps running, shows inprocess_manage, and you and the model are told when it exits. The model is told plainly that you interrupted and that your message comes first.queue: your message waits and becomes the next turn.steer: your message joins the running turn after its next tool result, without a restart. If no tool has run yet, or pictures are attached, it waits in the queue instead.
Whatever the mode, Tab queues the draft for after the turn, /queue <text>
and /steer <text> do what they say, and Ctrl-C or /stop stops the turn.
Several messages typed in quick succession are folded into one redirect or
one queue entry, never several restarts or overlapping turns. A message
Oscar could not take in time (it arrived as the answer was finished) runs as
the next turn, so nothing you type is lost. After a stop, queued messages
wait: /queue run sends them, /queue clear drops them. Approval and
question boxes keep priority: while one is open, keys answer it.
The line chat behaves the same on a terminal: a line typed during a turn is
read at once and redirects, queues or steers as configured, and /stop
stops. Questions (approvals, clarify, secret prompts) take the next line
first, so an answer is never sent as a message. Piped input still runs one
line per turn.
An approval box takes every key until answered: o allow once, s allow
for this session (when offered), a allow always (when offered: the box
shows the exact allow rule it saves in config.toml; never for dangerous
commands), d deny, and i deny and tell Oscar what to do instead: type it
in the box and press Enter, and the call is refused while what you typed
joins the running turn as your message (Esc goes back to the choices). y
allows and n or Esc denies too. The line chat answers y (or o) / s
/ a / n (anything else denies) the same way, and asks once more before
saving the rule. With
approval_timeout set, an unanswered question counts as denied after that
many seconds. In smart mode the reviewer's decisions show as notices.
When Oscar needs a decision it asks with clarify: a box shows the question
and up to four choices (its recommendation first). A digit picks (or toggles,
when several may be chosen), typing gives your own answer, Enter answers
(empty skips), Esc dismisses. The line chat prints the choices numbered and
reads your reply; with no terminal at all, Oscar decides and says what it
assumed.
Slash commands
/help, /model [target] [--global] [--reasoning level] (see
switching models below), /undo
(remove your last message and its reply), /retry, /new,
/sessions and /resume [id|title], /branch [title], /rewind [n],
/title [text], /save [md|json|html], /insights [days] (see
sessions below), /usage (or /cost; see below),
/compress [focus], /reasoning [level|show|hide] [save], /fast [on|off], /refine (review this
conversation now for memories and skills, see
skills and learning),
/learn <url|path|text> [what you want from it] (turn a source into a skill,
written at once or, with skill_review_apply = "propose", proposed; a large
one becomes a skill with reference files, see
learning from a source),
/review [focus] (an independent reviewer checks the recent work and
reports back, see below), /curator [status|run] (the skill curator's
state, or a run now, see the curator),
/bundle [name] [prompt] (load a bundle of skills for this message; alone,
the bundles, see bundles),
/memory [user] (what Oscar remembers; /memory pending, /memory approve <id|all>, /memory reject <id|all> decide on memory changes waiting for your
yes when memory_write_approval = "ask", see
skills and learning; !memory … in the chat
gateways), /theme [name] (switch the colour theme and save it),
/proposals, /accept <id>, /reject <id> (skill
proposals waiting for you, e.g. with skill_review_apply = "propose"), /checkpoint, /rollback [n|id],
/cron [run|pause|resume|remove|runs <id>] (scheduled jobs),
/blueprint [name [key=value…]|confirm|cancel] (a ready-made scheduled job,
shown before it is created) and /suggestions (jobs proposed from your
sessions, when automation_suggestions is on; see
blueprints),
/kanban [board|#card] (the board), /voice [on|off|stop|reply off|voice|always] (voice mode, full-screen chat),
/browser [connect [url]|disconnect|close] (your own
browser), /personality [name|list|off] (a tone preset for this session, see
personalities), /worktree [list|new [label]|switch <name|main>] (worktrees), /paste (the clipboard's
image for your next message) and /prompt [text] (write the message in
$EDITOR; see writing messages), /clear (a new
session on a clean screen; the last one is kept and /resume brings it
back), /exit (or /quit).
The chat's tools (see the chat's tools below):
/status, /context, /tools [enable|disable <name>], /copy [n], /diff [--stat] [path…], /init [notes], /plan <task>, /reload,
/reload-mcp (read mcp.json again and reconnect the MCP servers), /verbose [off|brief|normal|full], /timestamps [off|time|full], /loop,
/heartbeat, /subgoal, /commands, and quick
commands of your own.
While Oscar works and between turns: /queue [text|list|add <text>|edit n <text>|rm n|move n m|clear|run] (alone, the list), /steer <text>,
/stop, /busy [interrupt|queue|steer], /btw <question>, /bg [prompt|stop <id>], /agents [id|stop <id>|steer <id> <text>] (see
running work), /approvals [ask|auto|smart|never] [save], /goal [text|status|pause|resume|clear],
/subgoal, /loop, /heartbeat, and /<skill> [prompt].
Commands are read in any case (/HELP is /help), and some have a short
name: /reset is /new, /fork is /branch, /q is /queue, /s is
/steer, /tasks is /agents, /ctx is /context, /quit is /exit.
A command Oscar does not know gets the closest one it does ("unknown command
/stauts; did you mean /status?"). These work the same in the line chat.
/queue alone lists the messages waiting for the running turn to end;
/queue <text> adds one (/queue add <text> when it starts with one of the
words below), /queue edit 2 <text> rewrites the second, /queue rm 2
drops it, /queue move 3 1 puts the third first, /queue clear drops them
all and /queue run sends the next after a stop.
/review [focus] starts a reviewer in the background, as a helper of
this conversation (it shows in /agents and the dock). It reads the recent
conversation and, in a git workspace, the changes since the conversation
started, with read-only tools, and its findings come back to Oscar like any
background helper's report — Oscar can then fix them. Add what to look at:
/review the error handling. /learn runs a few model calls (one per
section of a large source); in the full-screen chat it works beside the
screen and its result appears when it is done.
/btw <question> asks aside: the answer comes from a snapshot of the
conversation, with no tools, while the turn keeps running, and is not added
to the conversation. Its tokens count in /cost.
/bg <prompt> runs the prompt as a separate session in the background,
with the same tools and approval mode (approvals ask on this screen, marked
with the prompt's number; a login is never asked for in the background).
Its result appears in the transcript when it is done. /bg lists the
running ones, /bg stop <id> stops one; they stop when you leave.
/bg or a background helper? /bg runs your prompt as a separate
session; a background helper is something Oscar starts itself (task with
background: true) inside this conversation, and its report goes back to
Oscar, who tells you what it means (see below).
/approvals [ask|auto|smart|never] [save] shows or changes the approval mode
for this session, at once and without a restart (the status line follows);
add save to make it the default in config.toml. Dangerous commands ask
in every mode but never. The default is auto: calls that need approval
run and are written to the audit log.
/yolo [save] is /approvals auto: calls that need approval run
without asking for the rest of the session. It does not approve
dangerous commands — they still ask you — and refused commands stay
refused. oscar --yolo (on oscar, oscar chat and oscar run) is the
same as --approve auto from the start, with the same limits: nothing is
skipped, and with nobody to ask a dangerous command is refused.
/personality [name|list|off] picks a tone for this session —
concise, teacher, friendly, formal, skeptic, or your own from
config.toml or $OSCAR_HOME/personalities/ — layered after SOUL.md from the
next reply. It is kept with the session, so /resume brings it back;
/personality off goes back to SOUL.md alone. See
personalities.
MCP servers' questions. When an MCP server asks you something in the
middle of a tool call (MCP elicitation), the full-screen and line chats ask
you right there: first whether to answer or decline, then each field of the
server's form (choices for yes/no and fixed sets). Answers are checked
against the server's schema (types, lengths, ranges, formats such as an
email address or a date) and asked again with what is wrong; only valid
answers go back, and dismissing the form cancels. Never enter passwords or
keys there. Chat gateways, oscar run, scheduled jobs and the API never
show these forms: they decline, and the question reaches Oscar with the
call's result, so it can ask you itself.
/goal <text> sets a standing goal and starts on it. After each turn a
short judge request decides from the conversation whether the goal is
reached; if not, Oscar carries on with the next step, until it is reached,
it pauses, or its budget is used up (goal_max_turns, default 20 turns, and
goal_max_minutes, default 60). /goal status shows it (the status line
does too), /goal pause and /goal resume (a fresh budget) and /goal clear manage it; Ctrl-C pauses it. Approvals follow the approval mode as
always: in ask mode a goal waits for you like any turn. /subgoal <text> adds a criterion to the active goal: the judge counts the goal as
reached only when it and every sub-goal are met, and the next turn sees
them. /subgoal alone lists them, /subgoal remove 2 and /subgoal clear
drop them.
Skills as commands: /<skill-name> [prompt] loads that skill for the
message (as skill_view would) and runs the rest as the prompt; several can
lead one message (/deploy-checklist /release-notes v2.1). Tab lists the
skills after the built-in commands, which win over a skill of the same name.
oscar chat --skill NAME (or -s, repeatable) loads skills for the whole
session; oscar run --skill NAME "task" for a run.
/compress [focus] summarises the older part of the conversation now,
instead of waiting until it fills a share of the model's window (see
configuration).
The first exchange and the recent messages stay as they are; the middle
becomes a summary the model writes. Anything after the command tells it what
to keep in particular: /compress keep the deploy steps and the failing test names. /compress here 3 keeps the last three exchanges word for word and
summarises everything before them (here alone keeps two). --preview
(/compress --preview, /compress here 3 --preview) says what would be
summarised, how many messages and tokens, and changes nothing. The summary's
tokens count in /cost. Your transcript keeps every message; only what the
model is sent gets shorter.
Worktrees (/worktree)
/worktree new [label] makes a git worktree on a new oscar/<label>-…
branch from your checkout's current commit (in the workspace's
.oscar/worktrees, or helper_worktree_dir) and moves this chat into it:
the session stays the same, and from the next turn the tools, the prompt
and approvals work in the worktree; your checkout is not touched.
/worktree switch <name> moves the chat into another of Oscar's worktrees
(by its folder name, its branch, or a unique start of either),
/worktree switch main back to the checkout, and /worktree (or list)
lists them with what each holds, the chat's own marked with *. A switch
waits for a running turn to finish. When the chat ends, the worktrees it
made are tidied exactly like oscar run --worktree's: an unchanged one is
removed with its branch, one with changes is kept and its branch named;
oscar worktree list | prune | restore manages them later. Worktrees need
a git checkout and the host or workspace sandbox mode.
Switching models
/model alone opens a list of models — the current one, your aliases, the
provider's catalogue, your custom providers' models and the fallback chain.
In the full-screen chat you narrow it by typing and pick with Enter; the
line chat prints it numbered and /model 3 picks the third. With a target,
/model switches at once:
/model glm-5.3: a model of the chat's provider (Tab completes ids);/model openrouter:anthropic/claude-sonnet-5,/model mylab:qwen3-coder: any provider, including your custom ones (--provider Pnames it separately);/model fav: an alias from[model_aliases];/model reset: back to the configured model;--globalalso writes the choice toconfig.toml(otherwise it holds for this chat only);--reasoning highsets the reasoning effort in the same step.
A model on another provider brings that provider's key, limits and defaults; the conversation continues where it was. See Providers and models.
/fast asks for priority processing where the provider sells it
(OpenAI's API, Anthropic's fast-mode models); /fast on and /fast off
switch it for this chat, and the full-screen status line says fast while
it is on. Elsewhere it is refused with the reason.
/usage (or /cost) shows this session's duration, how full the
context window is, tokens, the cost split into input, output and cache
reads, and the provider account's limits where its API tells (OpenRouter
credits, the rate limits the last replies reported); anything unknown says
so. oscar usage prints the same from a terminal.
/reasoning shows the reasoning effort and whether reasoning is shown.
/reasoning high (or none, minimal, low, medium, xhigh, max,
default) sets how hard the model thinks for the rest of this chat, from
the next reply on; add save (/reasoning high save) to keep it in
config.toml. /reasoning show displays what the model shares of its reasoning (a summary
of its thinking, where the provider offers one) dimmed above the reply, and
/reasoning hide hides it again. The full-screen chat shows it by default
(show_reasoning = "off" turns that off); the line chat shows it with
show_reasoning = "on". Reasoning is never posted to chat gateways.
Long tasks: one message may take as many model calls as the work needs:
there is no limit in a chat unless you set max_turns. Ctrl-C (or /stop)
stops a turn at any time. The guards stop a model that repeats the same call
with the same result (warned at the third, stopped at the sixth), or whose
calls keep failing to run. With a max_turns, Oscar is told to wrap up near
the end; at the limit it stops and says what it did and what is left. Reply
"continue" to carry on.
Questions from Oscar (clarify) wait 90 seconds for an answer
(clarify_timeout; 0 waits until you answer); then Oscar decides itself,
carries on and says what it assumed. Approval questions are separate (they
wait as approval_timeout says).
/rollback (or /rollback list) lists the recent checkpoints, newest
first: for each turn in which Oscar changed files with write_file,
edit_file or patch, the files as they were before that turn (see
automatic checkpoints). /rollback diff 1 shows what the newest
one holds against the files now (- before that turn, + now). /rollback 1 puts its files back and removes the files that turn created; /rollback 1 src/main.rs only that file (a path as listed, relative to the workspace, or
its end); a number from the list or a checkpoint id works. /rollback --all
puts back every file Oscar changed since this session started. You are asked
first, and offered to take the conversation back too: the turn that made the
changes and everything after it leave the conversation (as /rewind does),
so the next message starts from there; "files only" keeps the conversation.
Restoring is a write, so it also goes through the approval gate like one (in
auto mode it is approved and audited). The state it replaces is saved as a
new checkpoint, so /rollback 1 again undoes the rollback. Shell commands'
changes are not in checkpoints.
The chat's tools
/status: the model and provider, the session (title, id, how many messages), the approval mode and sandbox, what typing does while Oscar works, how full the context window is, tokens and cost, the folder and its git branch, a standing goal and loop./context(or/ctx): what fills the context window, estimated part by part: the system prompt (identity, memory, guidance), the context files (AGENTS.mdand the like, each with its size), the skills index and skills always loaded, the tool definitions (how many), and the conversation (your messages, the replies, tool results and the files read among them), with the total against the model's window and what is free./toolslists the tools of this session;/tools disable web_searchhides one from Oscar for this session only (Tab completes the names),/tools enable web_searchbrings it back. Tools turned off for good aretools_<surface>inconfig.toml./copyputs Oscar's last reply on the clipboard (/copy 2: the one before), withwl-copy,xclip,xselorpbcopywhen there is a desktop, else through the terminal (OSC 52; terminals that allow it put it on the clipboard, also over SSH)./diffshows the workspace's git changes since this session started (against the last commit before it), and names new files not yet added;/diff --statonly the summary,/diff src/one path. Git runs with nothing of the repository's own configuration that would run programs,.envfiles are left out and secrets redacted./init [notes]asks Oscar to read the repository (manifests, layout, tests, CI, the README) and write a conciseAGENTS.md, or bring an existing one up to date keeping what you wrote. The write goes through the approval gate like any write./plan <task>has Oscar plan only: the turn gets read-only tools (reading and searching files, skills, web search) and an approver that refuses everything, so nothing is written or run. When the plan is there, you are asked whether to carry it out now: yes sends it on as a normal turn (changes ask as usual); no leaves the plan in the conversation./reloadreadsconfig.toml(the footer, notifications, status fields, times, typing while busy), the skills, quick commands, skins and the context files again; the next turn uses them. The provider, model, workspace and sandbox stay (/modelswitches the model)./verbosechanges how much tool activity the transcript shows:off(no tool cards; the footer still counts them),brief(a line a call),normal(and the start of each file change: the default),full(every card open, whole changes and outputs); alone it moves to the next./loop 10m <prompt>sends the prompt again every ten minutes in this session, as a normal turn, while the chat is open and idle (a missed tick waits for the turn to end; several missed fold into one).--times 5stops after five runs (100 unless set);/loopalone shows it,/loop pause,/loop resumeand/loop stopmanage it. The shortest interval is 30 seconds; a skill command can be looped, a built-in command cannot.--until <text>ends the loop once a reply contains that text (any case):/loop 5m check the deploy --until deployed. Without an interval the loop paces itself:/loop keep an eye on the migrationstarts after a minute, and each run ends its reply with a line likenext: 10msaying when to look again (kept between one minute and an hour; without one the wait doubles)./heartbeat every 30m [prompt]sends a check-in whenever the session has been idle that long: by default Oscar looks at what is in progress (helpers, the goal, what it said it would come back to) and says in a line whether anything needs you./heartbeatshows it,/heartbeat pause,resumeandclearmanage it; the shortest interval is a minute. Unattended schedules that run whether a chat is open or not areoscar cron(scheduling).- Kept across restarts. A session's
/goal,/loopand/heartbeatare kept in the state database with the session. Leaving the chat (or/new,/resume) leaves them with their session; opening that session again (oscar -r <session>,/resume) brings them back, with a note. A goal carries on after the next turn (/goal resumecarries on at once); a loop's first run after the restart says it resumed. They run exactly as before: turns of the session, through the same approvals (session grants are not kept, and no approval mode runs a dangerous command without you).
Settings, versions and the skill hub
/history [n]lists the last exchanges of the session (10 unlessn): what you sent and the start of each reply./versionsays which Oscar this is;/update --checklooks for a newer signed release (the same flow asoscar update --check) and says what would change. Nothing is installed until/update confirm; the chat keeps running on the old binary until you restart it./debugshows the paths (home, workspace, database, config, logs), the provider and model, approvals and sandbox, the schema version, the relevant environment (masked), which keys are set (by name only) and the last lines of the error log, masked./configshows config.toml (secrets masked, credentials.env by name only);/config <key>one setting;/config <key> <value>checks and writes it likeoscar config set(anUPPER_SNAKEsecret name goes to credentials.env, mode 600, never shown). In the full-screen chat/config OPENAI_API_KEYalone asks for the value in a masked prompt. A/configline holding a secret is never kept in the input history./toolsetslists the tool groups and which tools this chat offers (on or off, and why);/pluginslists the plugins and their status./skillslists your skills;/skills show <name>shows one;/skills search <words>searches the skill hubs;/skills install <id>fetches a skill and shows its files, lint and security scan, and installs nothing:/skills install confirminstalls exactly what was shown. A skill the scan calls dangerous, or one that fails the lint, is not offered (oscar skills install --forcein a terminal, after reading it)./model --once <model>runs the next turn on another model, then the chat is back on its own;/moa <preset> <prompt>runs one prompt through a mixture-of-agents preset ([moa.<preset>]) the same way, at once. Both work in the full-screen and the line chat; a turn that is stopped still goes back, and a plain/modelbefore the turn makes the switch the chat's own./focushides the dock and the status line (only the conversation and the prompt);/focusagain brings them back./statusbarshows the status line's fields;/statusbar model,context,tokenspicks some for this chat,/statusbar offhides the line,resetshows every field (status_fieldsin config.toml sets the default).
Quick commands
Commands of your own, in config.toml:
[[quick_commands]]
name = "gpu"
type = "exec"
command = "nvidia-smi --query-gpu=utilization.gpu --format=csv"
description = "how busy the GPU is"/gpu then runs the command and shows its output on a $ card, with no
model turn and nothing added to the conversation. It is a bash call sent
through the approval gate with the chat's approver: it asks in ask mode,
is approved and audited in auto, and runs in the sandbox Oscar's commands
use. Tab, /help and the palette list quick commands; a built-in command or
a skill of the same name wins. They work in the line chat too.
Voice mode
Talk instead of typing, and hear the answers (full-screen chat):
- Ctrl+B starts recording from the microphone; the input box says
● recording. - Ctrl+B again stops. The recording is transcribed with your speech-to-text backend and the text lands in the input box, where you can read it over and edit it.
- Enter (or Ctrl+B once more) sends it. Esc drops a recording, or a transcription still under way.
A recording stops by itself after five minutes. Nothing is linked into
Oscar for audio: it records with the first of arecord (alsa-utils),
ffmpeg (PulseAudio when it runs, else ALSA) and sox it finds on PATH,
in its own process group, stopped with SIGINT so the WAV file is complete.
voice_recorder sets a command of your own ({output_path} is the WAV file
to write). Speech-to-text is whatever transcribes voice notes (see
voice): a local whisper.cpp needs nothing
configured; with stt_backend = "path" the recording is saved under
inbox/ and its path goes into the input box instead.
Spoken replies. voice_reply (or /voice reply …) is off (default),
voice (replies to what you said with Ctrl+B are spoken) or always. The
reply is spoken by your text-to-speech backend (the free Edge voice when
nothing is set) and played with the first of paplay, aplay, ffplay and
mpv that plays its format (aplay plays WAV only; MP3 needs ffplay or
mpv), or voice_player ({input_path} is the audio file). Starting a new
recording, /voice stop or /voice off stops the speaking.
/voice shows what is in use (recorder, speech-to-text, voice, player);
/voice off turns Ctrl+B off for this chat (voice_mode = "off" in
config.toml makes that the default). When no recorder or player is found,
or speech-to-text is not set up, the chat says so and how to fix it.
oscar voice status shows the same from the command line.
Hands-free
/voice handsfree on (or voice_hands_free = "on"): Ctrl+B starts
listening, and when you stop talking the recording ends by itself and what
you said is sent at once — no second key. Silence is told from speech by
loudness: a quiet stretch of voice_silence_seconds (default 1.5) after
speech ends the recording; voice_silence_threshold (0 to 1, default 0.02)
is the least loudness that counts as speech, raised by itself in a noisy
room. With nothing said for ten seconds, listening stops.
/voice continuous on (voice_continuous = "on", hands-free included)
listens again after each spoken turn: you talk, Oscar answers (aloud with
voice_reply), and the microphone opens again. While a reply is spoken,
talking over it stops the playback and Oscar listens (barge-in; it
must be clearly louder than the reply, so headphones work best).
/voice bargein off (voice_barge_in = "off") lets replies play to the
end. Ctrl+B always stops a reply and starts listening; Esc drops a
recording. A transcript that arrives while a turn runs waits in the input
box instead of being sent.
Handing a session to a chat
/handoff <telegram|discord|matrix> [chat id] moves the conversation you
are having to a chat, and the terminal chat ends saying where it went:
/handoff telegram # the platform's home channel
/handoff discord 1234567890 # a channel Oscar may post to- Where the platform has threads, a new one is opened for it: a forum topic in a Telegram group, a thread in a Discord channel, a Matrix thread. In a private chat (the usual Telegram setup with the bot) the conversation continues there directly.
- The session id stays the same: the chat's conversation is bound to it, so
the gateway (
oscar gateway serve, which must be running) answers your next message there with the whole history, tool calls included. The first message in the chat says what the conversation is and what you last asked. - Only chats Oscar may reach on its own are accepted: the home channel, a
chat where an allowed user has talked to Oscar, an allowed user's private
chat on Telegram.
/handoffalone lists them. - The session keeps its approval mode; dangerous commands still ask a person, now in the chat.
- Back to the terminal:
!handoff cliin the chat (the chat starts a new conversation with your next message), thenoscar -r <id>(oroscar chat --session <id>). Starting a terminal chat on a session that a chat still holds takes it back the same way (and says so), and the chat's approval mode comes along unless--approvechose one.
A turn must be over before /handoff (stop it with Ctrl-C first).
Browser: connect your running Chrome
The browser tool normally starts a browser of its own. To let Oscar work in the Chrome you are already using (signed in to your sites), start Chrome with remote debugging and attach:
google-chrome --remote-debugging-port=9222 --user-data-dir="$HOME/.config/chrome-oscar"then /browser connect in the chat (or /browser connect 9333,
/browser connect http://host:port). Oscar opens tabs of its own in that
browser and never touches yours; every browser action still asks for
approval as configured. /browser shows what the tool drives and which
sessions are open, /browser disconnect lets your browser go (the tabs
Oscar opened are closed; Chrome keeps running), /browser close ends the
tool's sessions. This works in the full-screen and the line chat, not in
chat gateways (a message in a chat room must not point the host's browser
tool at a browser on the host).
Recent Chrome versions refuse remote debugging on your everyday profile, so
the --user-data-dir above is a separate folder (sign in there once). To
start Oscar's own browser on a private copy of your everyday profile
instead, see browser_profile = "real" in connectors.
Running work: /agents, the dock and the monitor
Besides its turn, a conversation can have helpers at work — started by
Oscar with task, above all with background: true (they keep working
while Oscar answers you; see tools) — and background processes
(bash in the background: a build, a dev server, a test run). They belong
to this conversation, and stop when you leave it or quit.
When a background helper starts or ends you get a notice (◆ helper h3 finished after 1m 12s: …), and its report goes to Oscar: with the next
tool result if a turn is running, otherwise in a short turn of its own
(background report: Oscar is looking at it), so Oscar tells you what came
back without being asked. The line chat does the same while it waits for
your next line.
/agents lists what runs in this conversation, and what finished in
the last quarter of an hour: for each helper its id, state, time, model,
task and latest step; for each background process its id, state, time,
command and last output line. /agents <id> shows one's recent activity
(a helper's steps, a process's last output, a finished helper's report),
/agents stop <id> stops a helper or a process, and /agents steer <id> <text> adds to a helper's instructions: it takes them after its next tool
result (or, if its turn ends first, in one more turn). Processes cannot be
steered (Oscar can send them input with process_manage). The same works
in the line chat, and as !agents in the chat gateways.
The live dock sits between the input box and the status line in the
full-screen chat whenever something runs: one line per running helper
(◆ h3 42s cheap-model fix the parser → bash cargo test) and
background process (⚙ proc_… 3m 05s cargo build Compiling …), work
that just ended (for 20 seconds, ✓, ✗ or ■), the standing /goal
(◎) and the queued messages. It hides itself when there is nothing to
show, never takes more than a quarter of the screen (+N more says what
does not fit), and Alt+R (or F7) folds it to one summary line (◆ 2 helpers · ⚙ 1 process · 3 queued) and back. Typing and sending go on as usual.
The work monitor (Ctrl-T, or F6) fills the screen above the status
line with every helper and background process of the conversation,
running or finished: ↑/↓ select, Enter shows the selected one's recent log
(a helper's steps, a process's output; PgUp/PgDn or the mouse wheel
scroll it), s steers
the selected helper (type the text, Enter sends, Esc cancels), x stops
the selected helper or process after you confirm with y, and Esc (or q,
Ctrl-T, F6) returns to the chat with your draft as you left it. Approval
and question boxes still come first: they open over the monitor. Helpers
waiting on approval say which one asks ([helper h3] …).
Sessions
Every conversation is a session, kept in Oscar's database (oscar.db).
Titles. After a session's first reply Oscar writes it a short title in
the background with one small model call (the provider's cheaper side model
when it documents one, OSCAR_AUX_MODEL if set, else the chat's model); the
reply is never delayed. The title shows in the status line, in /sessions,
oscar sessions list and the chat gateways' lists. /title shows it and
/title <text> sets your own, which is never replaced by a generated one.
session_titles = "off" in config.toml turns generated titles off.
Going back. /sessions (or /resume with no name) opens a picker in the
full-screen chat: ↑/↓ move, typing filters (every word, any case, over title,
time, origin and id), Enter continues the chosen session, Esc closes.
/resume <id|title> goes straight there (a unique id prefix or a part of a
title works; when several match, the picker opens with them). In the line
chat /sessions prints a numbered list and /resume 2 (or an id, or a
title) continues one. Resuming loads the stored conversation into the model's
context; an archived session comes back to the lists when you write in it.
Where it worked. oscar -r <session> (or --session) goes back to the
folder the session worked in when that is not the current one: the chat asks
first on a terminal, oscar run moves there and says so. --here (or an
explicit --workspace) keeps the current folder. The folder passes the same
checks as any workspace; one that is gone is said and left. oscar -r "<title>" --create-if-missing starts a session with that title when none
matches, instead of failing.
From Claude Code or Codex. oscar -r @claude:<id> (or @codex:<id>;
@claude alone takes the newest) imports that conversation and continues
it here; oscar sessions import claude-code|codex lists and imports them
(see the CLI reference). Messages
come over redacted, with tool calls as text; credential files are never
read.
Branching. /branch [title] copies the conversation so far into a new
session (its messages, task list and model; the cost stays with the original)
and continues there, so you can try another direction and keep the first.
Without a title the branch is called after the original ("… (branch)").
/resume takes you back.
Rewinding. /rewind [n] removes the last n exchanges (default 1: your
message and everything Oscar did for it) from the session and from what the
model is sent. Files Oscar changed are not touched: /rollback puts them
back (and offers to rewind with them).
Going back to an earlier message
Esc Esc on an empty prompt in the full-screen chat opens the transcript
browser: your earlier messages (›, with the time) and the start of each
reply (•), the newest picked. Nothing changes by looking. ↑/↓ (or ←/→,
k/j) pick an older or newer one, PgUp/PgDn and Home/End move further,
Esc or q closes.
- Enter puts the picked message in the input box to edit (the box says
so). Sending it forks the session just before that message (a new session
with everything up to there) and runs your edit in the fork; the original
session stays exactly as it was (
/resumegoes back to it). Esc Esc or Ctrl-C drops the edit instead. fforks there at once, without editing: you continue in the new session with the message in the input box, to send as it is or change.
Leaving
/exit, /quit, Ctrl-D on an empty prompt or Ctrl-C twice leave. The
full-screen chat then prints the last exchanges of the conversation to the
normal scrollback of your terminal (five unless exit_transcript in
config.toml says otherwise; 0: none), drawn as on the screen, so the
end of the conversation stays readable after the chat is gone, and says how
to continue the session.
Saving. /save writes the session as Markdown into the workspace
(oscar-<title>-<id>.md, readable only by you); /save json keeps every
message, tool call and result with the session's details, /save html makes
one page that opens anywhere on its own (no scripts, nothing fetched).
Secrets are redacted in every format and tool outputs appear as stored (already
redacted). oscar sessions export does the same from the command line (see
the CLI reference).
Insights. /insights [days] reports the last 30 days (or days):
sessions, messages, tokens and their cost at today's prices, the models and
tools used, approvals, and the busiest days — the same as oscar insights.
Referencing files with @
Write @path in a message to give Oscar a file with it: explain @src/main.rs, compare @old.txt and @new.txt, @src/lib.rs:40-80 for some
lines, @"notes with spaces.md" for a name with spaces. @folder/ attaches
a listing of the folder (two levels, .gitignore respected). @file:path
and @folder:path say which one you mean (@file:Makefile works without a
dot or slash; @folder: on a file is refused). PDF and office documents are
attached as their text. The content goes to the model with your message,
clearly marked as attached files; the transcript keeps your message exactly
as you typed it, and a note under it says what was attached (or why not).
References reach what read_file reaches (the workspace in workspace mode;
in host mode anything but Oscar's own data), and never credential files or
a project's .env files. Caps: 60,000 characters per file, 150,000 per
message, 12 references; larger files are cut with a note, images are left to
/image. A word like @alice that names no file is left alone, and an
email address is not a reference. In the full-screen chat, Tab completes the
path after @ (folders first). The attachment lives in the running
conversation: a session resumed later has your message without it.
More than files:
| Reference | Attaches |
|---|---|
@diff |
the unstaged changes in the workspace's repository (git diff) |
@staged |
the staged changes (git diff --staged) |
@git:N |
the last N commits with their patches (git log -p, at most 10) |
@url:https://… |
the page's text, fetched like web_fetch (public addresses only, the website blocklist, its size caps) |
Git runs in the folder Oscar started in, with no pager, colours, external
diff or text-conversion programs, hooks or fsmonitor (nothing the repository
configures runs), .env files left out and secrets redacted; outside a
repository the note says so. The same caps apply. To attach a file named
diff, write @file:diff.
Plain mode
--line, or when stdin/stdout is not a terminal: the same commands without
the full-screen interface (shown reasoning is printed dimmed on stderr).
NO_COLOR turns colours off.
On a terminal, messages are typed in a line editor: ↑/↓ and Ctrl+R search
the same input history as the full-screen
chat, Tab completes commands, their arguments, @ references and file
names (twice lists the choices), Alt+Enter or Ctrl+J (or a trailing \
before Enter) start a new line, Ctrl+G or Ctrl+X Ctrl+E open the message in
$EDITOR (/prompt [text] too: what you save comes back to the prompt),
the usual readline keys edit (vi keys with editor_mode = "vim"), Ctrl-C
clears the line (twice on an empty line leaves) and Ctrl-D on an empty line
leaves. While a turn runs, lines are read the plain way, so the reply being
written is never drawn over. !command and !!command work as in
shell mode, /paste attaches the clipboard's image, and
/quit is /exit. Continuing a session (-c, -r, /resume) prints its
last few exchanges first, so you know where you left off. The chat's tools,
quick commands, /queue editing, /compress here and --preview,
/rollback diff|N file…|--all, /loop, /heartbeat, /subgoal, the
footer and the aliases work as in the full-screen chat (/plan and
/rollback ask their question on the next line; /commands prints the
list). Piped input is still read a line per turn, and none of it goes to the
history.
A secret prompt (a skill's key, a login to save, a code) is never shown while the line editor waits for your message: what you type there is drawn on the screen. When a helper's report turn wants one in that state, it is not asked; you are told so, and Oscar is told to ask again in a turn you start.
Themes
The chats use the same colour themes as the website: oscar (default),
tokyo-night, gruvbox, catppuccin, nord, dracula, one-dark,
monokai, rose-pine, kanagawa, everforest, solarized-dark,
ayu-dark and nightfox, and light (dark text on a light background)
for light terminals. Choose with theme = "gruvbox" in config.toml,
OSCAR_THEME, or /theme <name> in the full-screen chat (Tab completes;
the choice is saved). Each theme uses its signature colours (Gruvbox
orange, Tokyo Night blue and magenta, Catppuccin mauve, Nord's frost blue,
Dracula's purple) and paints its own background. theme = "auto" (or
/theme auto) picks light on a light terminal and oscar on a dark one:
from COLORFGBG when the terminal sets it, else by asking the terminal for
its background colour (OSC 11); a terminal that does not answer gets the
dark theme.
Skins of your own. A file $OSCAR_HOME/skins/<name>.toml is a theme
called <name>, with the keys of the built-in ones: background,
surface (raised boxes), text, heading (the wordmark, Oscar's name),
accent (your name, links), warn (questions and approvals), muted, ok
and bad, each a colour like "#1e1e2e"; base = "gruvbox" takes the
colours it leaves out from a built-in theme (the Oscar theme by default):
base = "catppuccin"
heading = "#ff9e64"
accent = "#7dcfff"A skin may also brand the chat: name = "Ada" writes ada › before the
replies instead of oscar ›, and prompt = "❯" replaces the › after the
labels (a name of up to 24 visible characters, a symbol of up to 4).
/theme lists the skins with the built-in themes, and /theme <name>
switches to one; /reload reads the folder again. A file with a mistake is
left out and the reason logged.
Images in the conversation. The full-screen chat draws the images you
attach (/image, /paste, --image) and the ones a tool saves for you
(image_generate) in the transcript, with half blocks (two pixels a cell),
so they scroll with the conversation on any colour terminal; without colour
a line names the image. inline_images = "off" in config.toml keeps the
one-line notices only. Pixel protocols (kitty graphics, iTerm2, sixel) are
not used yet: an image drawn outside the text grid would not scroll or
redraw with it.
Times. timestamps = "time" in config.toml (or /timestamps time)
writes the time beside your messages and Oscar's replies (14:02 you ›);
full writes the date too; off (the default) none. Truecolor terminals get the exact colours; they are
recognised by COLORTERM, or by TERM/TERM_PROGRAM for kitty, Ghostty,
WezTerm, Alacritty, foot, iTerm2 and VS Code, which also works over SSH where
COLORTERM is usually dropped. Other terminals get the nearest of 256
colours. If colours look off, set OSCAR_COLOR=truecolor (or 256, or
none); NO_COLOR turns colour off.