Skip to content

Agents and sessions

qcc has no agent loop of its own. Real agent CLIs do the work, each through a provider plugin (a bridge):

Provider Agent Tested with
claude-code claude -p, stream-json Claude Code 2.1.325, 2.1.332
opencode opencode acp (shared ACP bridge) opencode 1.19.4
codex codex app-server codex-cli 0.166.0
echo test agent, example plugin —

echo is not a real agent. It repeats the text it receives, and on commands (/slow, /ask, /approve, /fail, …) it imitates what real agents do. It is the daemon's test provider and an example of a plugin with UI (the "Echo" and "Echo canvas" tabs on its threads). Its manifest marks it example = true, and the app hides such plugins until Show example plugins is turned on in the settings. In the CLI it is always available.

qcc asks the agent itself for the list of models instead of keeping its own: Claude Code answers initialize in stream-json (the same list as in /model), Codex answers model/list in codex app-server, opencode answers opencode models. The request costs nothing: no message is sent to the agent, and the process exits right after the answer (or after 20 s). The daemon remembers the answer until --refresh.

Terminal window
qcc provider models claude-code [--refresh] # ids for `thread spawn --model` and effort levels

In the app the model field is a searchable list. A model that is not in the list can be typed in as is.

Effort is how deeply the model thinks. Each model has its own levels, and the agent names them itself: Claude Code reports supportedEffortLevels in the same initialize answer (passed with the --effort flag); Codex reports supportedReasoningEfforts and defaultReasoningEffort in model/list (passed as model_reasoning_effort). opencode has no choice. Without an effort the agent works at its default level.

Terminal window
qcc thread spawn --provider codex --effort high --prompt "…"
qcc thread agent <thread-id> codex --effort low # a different level between turns
qcc settings provider codex --effort medium # the level for new threads of this agent

A child thread of the same agent inherits its parent's effort. In the app, effort is chosen next to the model: in the new thread dialog, in the effort chip beside the composer, and in the agent's settings. The list of levels depends on the selected model. A level the new model does not know is reset to "default".

Between turns a thread can be moved to another model, another effort or another agent:

Terminal window
qcc thread agent <thread-id> claude-code --model sonnet # another model of the same agent
qcc thread agent <thread-id> codex # another agent, with its default model

The current session is released. With the next message the same agent resumes it with the new model and effort. A different agent cannot continue someone else's session, so it starts its own in the same directory. As its first message it receives the thread's conversation (the latest messages, if the conversation is long) and the user's new message. A permission mode the new agent does not support is reset to "default". In the app the agent and model chip beside the composer does the same, and asks before it switches to another agent.

The daemon keeps the settings (<data>/settings.json, readable only by its owner), so they apply both in the app (the "Settings" screen) and in the CLI:

Terminal window
qcc settings show # where things are and what is set
qcc settings program claude ~/opt/claude/bin/claude # which file to run instead of searching PATH
qcc settings program claude # search PATH again
qcc settings default-provider codex # default agent for new threads
qcc settings provider claude-code --model sonnet --effort high --permission-mode accept-edits
qcc settings provider codex --env OPENAI_API_KEY=… --unset-env OLD_VAR
qcc settings provider opencode --hidden true # do not offer it in the app
  • Programs. A plugin can run only the programs named in its process permission (claude, codex, opencode, git, …). The setting only says which file stands behind a name. Without it the name is looked up in the daemon's PATH. The settings screen shows which file will run, or why there is none.
  • Default agent, model, effort and permission mode are filled into a new thread when they are not given (thread spawn, the new thread dialog).
  • Environment variables are given to every session of this agent (an API key, a configuration directory). LD_*, DYLD_* and QCC_* cannot be set.

The same screen has the switch for showing example plugins, the interface scale, and the list of plugins with their contributions and permissions, where each can be turned off or on (Turning plugins on and off).

A plugin can declare its own settings: typed fields — text, a flag, a choice from a list, an agent, a model of the agent from another field, an effort of that model, a permission mode, the name of a secret (with whether it is set, and buttons to set it), a list of rows (see Writing a plugin). The daemon stores the values (plugins in settings.json) and checks them against the type. The plugin receives them, with defaults filled in, when the daemon starts and on every change. In the app the fields are drawn in the plugin's card on the "Settings" screen (a model field uses the same list as when creating a thread). In the CLI:

Terminal window
qcc plugin settings provider-echo # fields, values and the defaults
qcc plugin set provider-echo greeting hi # set a value
qcc plugin set provider-echo greeting # restore the default

Servers configured in qcc are given to every new session of any agent, in addition to the ones named in the agent's own configuration (~/.claude.json, ~/.codex/config.toml, the opencode config). qcc manages only its own servers: it turns them on and off for all agents and for a single thread (see below). Servers from the agent's config are shown with their status, but qcc does not toggle them; that is done in the agent itself.

Terminal window
qcc mcp add docs --env TOKEN=… -- npx -y docs-mcp # a program the agent talks to over stdio
qcc mcp add search --url https://…/mcp --header Authorization="Bearer …" # an HTTP server
qcc mcp list # what is configured and what is off
qcc mcp disable docs # stays in the settings, but sessions do not get it
qcc mcp enable docs
qcc mcp remove search

A server name consists of Latin letters, digits, _ and -. Bridges pass the servers the way the agent accepts them: Claude Code through --mcp-config, Codex through an override of mcp_servers in the thread's config, opencode through mcpServers of the ACP protocol. If an ACP agent does not support HTTP servers, it gets only the stdio servers, and a warning appears in the timeline.

A change of the settings — a server added, replaced, turned on or off, removed — reaches every thread that is running, not only the sessions started after it. Each thread gets the servers that are on in the settings minus those it keeps off (see below). How the change gets into a running session depends on the agent:

  • Claude Code takes it at once, even in the middle of a turn: the bridge replaces qcc's servers of the session with the mcp_set_servers request. A new server connects, a removed one is shut down and leaves the status list, one set up anew (qcc mcp add with the same name) connects again with its new configuration. The servers of Claude Code's own configuration stay as they are.
  • Codex and opencode cannot change the servers of a running session. qcc releases their session as soon as the current turn ends, and the next message continues it (resume) with the new servers. A thread without a session gets them when its next session starts.

A provider tells qcc that it can do the former with the mcp_live capability (see qcc plugin list).

The agent reports how each MCP server of its session is doing, including the servers from its own config: connecting, ready, failed (with the reason) or waiting for sign-in. The status is stored in the thread and shown in qcc thread show (the mcp lines), in the app (see MCP servers in the desktop docs) and in thread.mcp_servers of the protocol. Claude Code is asked right after the session starts, before the first turn (once a second while servers are connecting, and again after every turn). Codex reports server startup by itself. opencode does not report status. A new session starts the list over.

A new thread gets every qcc server that is on in the settings. It can be turned off in a single thread: there it stays off, while other threads and the children of this thread keep it.

Terminal window
qcc thread mcp <id> # the session's servers (the agent's own too, with status) and what is off
qcc thread mcp <id> --off docs
qcc thread mcp <id> --on docs

A server kept off is not given to the agent at all. The switch reaches a running session the same way a change of the settings does (see above): Claude Code drops or connects the server at once, Codex and opencode get the change in the session that continues after the current turn.

A thread has a mode that qcc passes to the agent: --permission-mode on thread spawn, later qcc thread mode <id> <mode>. In the app it is the permission mode chip beside the composer, locked while a turn runs.

Mode Meaning
(not set) the agent's own configuration decides; qcc changes nothing
read-only the agent only reads and looks; what would change something is refused, and nobody is asked
ask everything the agent wants approved is asked of the user
accept-edits file edits in the working directory go through; everything else is a question
auto the provider's own automatic reviewer decides; the user is not asked
full nothing is asked, no sandbox

How the mode reaches the agent: Claude Code gets the --permission-mode flag; Codex gets the sandbox, the approval policy and the reviewer (user or auto_review) in thread/start; for ACP agents the bridge itself answers permission requests (so auto is not available for opencode: ACP has no reviewer of its own). A provider declares the modes it supports, see qcc plugin list.

read-only is the strictest mode, so any thread may start a child in it. A provider declares it only when it can enforce it, not just tell the agent:

  • Claude Code: --permission-mode dontAsk with only the tools that read (Read, Grep, Glob) and Bash limited to commands that look (git diff, git log, git show, git status, git blame, git ls-files, qcc thread diff, qcc thread changes, qcc thread show, qcc comment list, ls), and --restricted, so that allow rules in the user's settings files cannot loosen it. Anything else is refused without a prompt; should a prompt come anyway, the bridge refuses it.
  • Codex: the read-only sandbox with the approval policy never. A command that writes fails in the sandbox. The sandbox also keeps qcc from reaching the daemon's socket, so a Codex session in this mode reads changes with git.
  • opencode: permission rules in OPENCODE_PERMISSION that deny everything but reading, searching and the same looking commands; opencode refuses the rest itself, and the bridge refuses any request that reaches it.

Known limits: a command that looks may still take an option that writes (git diff --output=<file>); Claude Code's allow rules match by prefix and cannot tell. Requests addressed to the user arrive in the timeline and are closed with qcc interaction resolve.

Claude Code's questions (AskUserQuestion) are not a permission request. The bridge asks them in the timeline one at a time; the options become buttons, and a custom value can be typed as text. Where several options can be chosen, they are written separated by commas. The answers to all questions go to the agent; a question left unanswered cancels the whole call.

By default qcc thread send to a busy thread puts the message in the queue: it goes out as a separate turn when the current one ends. With --steer the message is mixed into the running turn (Claude Code, Codex). If the provider cannot do that (opencode), the message is queued. The queue is stored in the journal and survives a daemon restart. qcc thread stop clears it, and qcc thread unqueue <thread-id> <queue-id> takes one message back (the id is printed by thread send --json).

In the app, while the agent is working, the send button becomes Queue or Steer: what Enter does then (Alt+Enter does the other thing). The chevron attached to it picks which, at any time, also before a turn starts, and the choice is remembered. Queued messages are shown above the composer; each one can be mixed into the running turn ("Steer now"), returned to the composer for editing, or deleted. Agents without steer have no chevron: the button only queues.

Terminal window
qcc thread reset <thread-id> # start the conversation over in the same thread
qcc thread compact <thread-id> [--follow] # ask the agent to compact its context

New conversation (thread reset): the next message starts a new agent session instead of continuing the old one. Nothing is deleted. Earlier conversations stay in the journal and in the timeline (in the app they are collapsed above the "A new conversation" divider), while the thread transcript — for handoff, review, thread wait and switching agents — starts with the latest conversation. A reset is rejected while a turn is running.

Context compaction (thread compact): the agent summarizes the conversation itself and continues from the summary. This is a provider capability (compact in qcc plugin list): Claude Code receives /compact, Codex receives thread/compact/start; opencode does not have it. Compaction runs as a separate turn without a user message and ends with a note in the timeline saying how many tokens there were before and after (if the agent says). Compaction the agent does by itself when the context is full is marked the same way. A thread without a live session first resumes it. In the app these are the "Compact the context" and "Start a new conversation" items in the thread menu.

Agents keep a list of what they are going to do and tick it off as they go. qcc shows the latest list of each thread:

Agent What the list is
Claude Code its task tools (TaskCreate, TaskUpdate, TaskList), or TodoWrite
Codex its plan (update_plan, turn/plan/updated)
opencode the ACP plan updates
echo /todo [x] done; [~] in progress; to do sets one

Each entry is to do, in progress or done. An entry in progress may also say what it is doing (Claude Code's activeForm, Running the tests): that is what the thread's activity line shows. What else an agent says about an entry (an ACP entry's priority, Codex's explanation of a change, a Claude task's description) is left out. Every time the agent changes the list, the timeline gets an item with the whole list as it then stood, and the thread keeps the latest one that went through (a call that was refused or failed changes nothing): qcc thread show lists it under todos, and --json has it as the thread's todos. A new conversation (thread reset) starts with no list. Codex's proposed plan in plan mode is not a task list: it stays a plan item of text. A list a Claude Code sub-agent keeps is its own: its calls are shown as plain tool calls among its steps and leave the thread's list alone.

Claude 5 models keep no task list by default. Claude Code (2.1.332) gives its task tools (TaskCreate, TaskUpdate, TaskList, TaskGet) only to older models — Claude 3, and Claude 4 models before Opus 4.7, Sonnet 4.6 and Haiku 4.5 — and to models it does not know; for the Claude 5 family they are off on purpose, in the interactive mode too. With those models a thread shows no task list unless you ask for the tools:

  • in the app: Settings → Plugins → Claude Code → Task list tools;
  • in the CLI: qcc plugin set provider-claude-code todo-tools true (qcc plugin set provider-claude-code todo-tools puts the default, off, back).

With it on, qcc starts Claude Code with CLAUDE_CODE_ENABLE_TODO_TOOLS=1, unless the provider's environment in qcc settings sets that variable itself, which then decides. The setting takes effect for sessions started afterwards: a running session keeps the tools it started with. Older models have the tools, or TodoWrite, without it.

The task tools change one task per call, so the provider follows the list and reports it whole after each change. Claude Code keeps the tasks with its session, and so does the provider: it saves the list of each session in its key-value store (the kv permission), and a resumed session — after a restart of the agent or of the daemon — or a fork goes on from it. When the provider cannot follow a call (an update of a task it never heard of, say, from before qcc kept the list) it leaves the list as it was rather than guess; the next TaskList the agent makes sets the whole list again.

An agent can end its turn with work still pending: a command it left running, a monitor, a sub-agent in the background, a timer it set to wake itself. When one of them fires, the agent starts a turn on its own. Until then the thread looks idle, so qcc shows what it waits on:

Agent What it waits on
Claude Code Bash with run_in_background, Monitor, Agent with run_in_background, ScheduleWakeup, CronCreate
Codex its sleep tool, while it sleeps within a turn
opencode nothing: ACP has no background work
echo /wake <seconds> <text> sets a wakeup that starts a turn saying <text>

Each wait has a kind (command, monitor, sub-agent, timer, scheduled prompt), a label in the agent's words (the command's description, the prompt a timer brings back) and, when the agent says, when it fires: a wakeup's time, a scheduled prompt's next run, the time a monitor gives up at the latest (five minutes unless the agent asks for longer; a persistent monitor has no end). A recurring prompt also says how often (every minute). qcc thread show lists them under waits with the time to go, qcc thread list adds (waits on timer, command) to the thread's line, and --json has them as the thread's waits.

What ends a wait:

  • Claude Code lists its background tasks whole each time one starts or ends (system messages of subtype background_tasks_changed); a command that finished, a monitor whose stream ended or timed out, a sub-agent that is done and a task stopped with TaskStop all leave the list. A wakeup ends when it fires (a command_lifecycle message opens the turn it brings) or when the agent calls it off; there is one at a time. A scheduled prompt goes with CronDelete, and CronList sets the whole list again. When a prompt fires Claude Code does not say which one: qcc takes the one that was due first. A one-off prompt is then done; a recurring one stays, but when it fires next Claude Code does not say, so its time is left out.
  • Codex's sleep ends when its item completes or its turn ends.
  • Every wait belongs to the agent's process: when the session ends (the thread is stopped, the agent exits or fails, the daemon restarts), its waits are gone, and so are they in qcc. A background sub-agent's own steps between turns go under its call in the timeline (see Sub-agents); the agent hears how it went and says so in the turn that follows.

An agent can hand part of its work to a sub-agent of its own: Claude Code's Agent tool, Codex's multi-agent spawn_agent, opencode's task tool. The sub-agent's steps — what it thought, read, ran and said — are not the thread's: in the timeline they go under the call that runs it instead of between the thread's own items. Each step is an item of the timeline like any other, with a parent: the id of that call. The call itself is a tool item with subagent (its short task, its kind such as Explore, its prompt and, for one in the background, the id of its wait), and its output is what the sub-agent reported back.

Agent What qcc sees of a sub-agent
Claude Code every step, as it finishes (its messages come whole, not streamed), also of one in the background after its turn ended
Codex every step, streamed: a sub-agent is a thread of its own on the same connection
opencode only the call and its result: ACP does not report the session a task runs in
echo /subagent <task> runs one; /subagent-bg <ms> <task> one in the background, a step every <ms>

How a sub-agent reports back depends on the agent. A Claude Code sub-agent either ends with its report in words, or — in the auto permission mode — hands it back with its SubagentHandback tool, and the result of the Agent call only says where the report went. Either way the call's output in qcc is the report itself, without the frame and the ids Claude Code puts around it for the model, and the hand-back is no step of its own. A report that auto mode's review flagged comes with its warning above it; one it withheld is not shown. Claude Code also counts what a sub-agent spent — tokens, tool calls, time — and the call's subagent has it as tokens, tool_uses and duration_ms once the sub-agent is done. Codex's sub-agent's call has its final answer as the output.

A step belongs to the turn of the call that runs it, even when it comes later. A sub-agent in the background (Claude Code's Agent with run_in_background) goes on after its call returned and after its turn ended: its steps still come, under the call, while the thread is idle or busy with another turn, and the thread waits on it until it is done. Its call returns before it reports, so its report — handed back or in words — is its last step under the call, and what it spent is not known to the call. When it is done, what it left running is settled as interrupted; so is whatever is still open when the session ends. A sub-agent's steps do not change the thread's task list, and one in the background does not change what the thread was last doing.

qcc thread show prints a sub-agent's start, [agent] Explore: Find the config loader (started), its steps set off under it with |, and then the call with what it spent ((20666 tokens, 1 tool call, 3.1s)) and the sub-agent's report. In thread events --json each step has its parent. The app folds a sub-agent into one card; see Thread in the desktop docs.

Claude Code also keeps a full log of each sub-agent in its own files (~/.claude/projects/<project>/<session>/subagents/). qcc does not read them: what Claude Code sends over stream-json is the same log, the sub-agent's prompt included.

Terminal window
qcc thread turns <thread-id> # the ended turns, numbered, and which can be forked from
qcc thread fork <thread-id> [<turn>] [--prompt '…'] # a new thread that goes on from that turn [default: the latest]
qcc thread fork <thread-id> 2 --env git-worktree # …in a worktree of its own
qcc thread fork <thread-id> 2 --same-dir # …in the thread's own directory

A fork is a new thread whose agent goes on from the end of a turn: it knows the conversation up to there and nothing after. The thread it came from is left as it is, its agent session too. The agent makes the fork itself, from its own session, so the fork has everything the agent had at that point (tool calls and their output included), not a retelling:

Agent Forks from How
Claude Code any turn --resume <session> --resume-session-at <message> --fork-session
Codex any turn thread/fork with lastTurnId
opencode only its latest turn ACP session/fork, which copies the whole session

Only the conversation is forked: the files are as they are now. A fork works in the thread's own directory, or in a new worktree from the current commit there (--env git-worktree); a thread that has a worktree of its own gets one for its fork by default, since two agents in one directory step on each other's files. What is not committed in the thread's directory yet does not go into the new worktree. The fork keeps the thread's agent, model, effort, permission mode, skills and project, and stands beside it (under the same parent, if any), not under it. Its thread show says forked from thread … at turn …, and its transcript (thread wait, handoff, another agent taking over) starts with the conversation it was forked from.

thread turns says why a turn cannot be forked from: an agent that cannot fork, opencode's earlier turns, or a turn without a point to fork from — turns made before qcc could fork, or a turn in which the agent said nothing. Claude Code's --resume-session-at is not in its --help; should a later version drop it, the fork fails with Claude's error rather than starting without the conversation.

Terminal window
qcc thread context <thread-id> [--json] # how full the window is, and its parts

Every provider knows how full the context window is (context_used/context_window in the thread projection). The breakdown into parts — system prompt, system tools, MCP tools, memory files, skills, agents, messages, autocompact buffer, free space — comes from a provider with the context_usage capability (visible in qcc plugin list). Currently that is Claude Code: after every turn and when the session starts, the bridge sends it the get_context_usage control request (the same thing /context shows; the model is not called). The breakdown arrives in the timeline as a context/usage event, together with the contents of the large parts (which memory files, MCP tools and skills take how much). The thread projection keeps only the parts (context). Parts marked "deferred" are known to the agent but not loaded into the window. Codex and opencode do not give a breakdown. For them the app shows an estimate from the usage reports (the smallest request in a conversation is its beginning: the system prompt, tools and the first message; the rest is the conversation), clearly marked "estimate".

Terminal window
qcc provider limits [<provider>] [--refresh] [--json]
claude-code (max) as of 3m ago
5-hour 42% resets in 2h 10m
Weekly 44% resets in 6h 40m
Weekly · Fable 26% resets in 6h 40m
codex (prolite) as of 3m ago
Weekly 4% resets in 1d 12h

Claude and ChatGPT subscriptions limit how much an agent may do in a 5-hour window and in a week (and, on some plans, per model). These limits belong to the account an agent signs in with, not to a thread: every thread of the provider spends the same allowance. So qcc keeps them per provider — the latest report and when it came — in its database, where they survive a restart of the daemon. Each window has a stable id, a label (5-hour, Weekly), a scope when it covers one model only, the share spent in percent, when it starts over (resets_at, milliseconds since the epoch), its length and, when the agent says, a status (allowed, warning, exceeded).

Where the numbers come from (the rate_limits capability, visible in qcc plugin list):

  • Claude Code. When a session starts, the bridge sends the get_usage control request (what /usage shows, read from the claude.ai usage endpoint; the model is not called): the plan, the 5-hour and weekly windows and the per-model weekly ones. After that every rate_limit_event Claude Code sends when a response moved a limit updates the 5-hour and weekly windows. An account signed in with an API key or through a cloud provider has no such limits, and none are shown.
  • Codex. After the handshake the bridge asks account/rateLimits/read, and Codex sends account/rateLimits/updated after every turn. Its windows are named by their length: on some plans there is only a weekly one. Buckets of single models (rateLimitsByLimitId) are listed with their name as the scope.
  • opencode does not say, so nothing is shown for it.

Without --refresh the command shows what the daemon remembers and asks the agents only when it knows nothing yet. --refresh (and the method provider.limits with refresh) asks each provider now: it starts the agent for a moment without a prompt (claude -p answering get_usage, codex app-server answering account/rateLimits/read), which costs nothing of the limits themselves. A client that watches threads (thread.watch) also gets limits.updated with a provider's limits whenever they change. A window whose reset time has passed is shown as reset: what was spent in it no longer counts.

Along with a message, qcc can tell the agent a few facts the user did not write: what the message is about (--about <thread-id>: "the user is looking at thread X, its title, agent and state"), or what has changed since the session started. The bridge passes the notes the way its agent accepts them; Claude Code, Codex and opencode receive them as a <qcc-notes> block before the text. Notes are stored in the timeline with the message and are shown under it, both in the app and in qcc thread show.

Terminal window
qcc thread send <thread-id> "why did it fail?" --about <other-thread-id>

Files and images can be attached to a message: --attach <file> (repeatable) on thread send and thread spawn. In the app: the paperclip button in the composer, pasting from the clipboard (Ctrl+V: an image, or files copied in a file manager), and dragging files onto the window. Before sending, attachments are shown above the input field, and each one can be removed. qcc keeps a copy of every file in the data directory (attachments/<thread-id>/), so the message in the timeline looks the same later too. A file can be up to 50 MiB. Attachments are shown under the message in the timeline (images as thumbnails) and in qcc thread events.

The bridge decides how an attachment reaches the agent. A provider that declared the images capability (visible in qcc plugin list) gets the bytes of images (PNG, JPEG, GIF, WebP) and passes them to the agent as images: Claude Code as stream-json image blocks, Codex as localImage with the path of the copy, opencode as an ACP image block if the agent said during the handshake that it accepts images. Other files (and images for an agent without this capability) reach the agent as a note listing the paths of the copies, and the agent reads them itself.

Terminal window
qcc thread send <thread-id> "what is wrong in the screenshot?" --attach ~/shot.png --attach build.log

A skill is a set of instructions a plugin offers to agents. A session learns the skill's name, when to read it and the path to its file; the agent reads the file itself when a task fits. Most skills are given to every session; an "on request" skill (on-request in the contract) is given only to a thread that asked for it. A skill can be turned off for all threads or for one:

Terminal window
qcc skill list # who offers what, "on request", "off"
qcc skill disable qcc-orchestration # no session gets it
qcc skill enable qcc-orchestration
qcc thread spawn --skill echo-demo --without-skill qcc-orchestration --prompt "…"
qcc thread skills <thread-id> --on echo-demo --off qcc-orchestration

The agents' own skills (from ~/.claude/skills, ~/.agents/skills, their plugins) are only shown by qcc: qcc provider skills claude-code [--refresh] and the "The agents' own" section on the "Skills" screen. With --thread <id> the agent is asked in that thread's working directory, so the project's own skills (.claude/skills, .agents/skills there) are among them; the app's composer asks this way for the skills it offers after /. The list is requested from the agent itself, without a model request: Claude Code answers reload_skills in stream-json, Codex answers skills/list in app-server. opencode tells its skills only inside a session, so qcc reads its folders the way its documentation says it does: .opencode/skills, .agents/skills, .claude/skills in the working directory (not in the folders above it, which opencode also reads) and ~/.config/opencode/skills, ~/.agents/skills, ~/.claude/skills. Turning these skills on and off is up to the agent's own configuration.

Slash commands. qcc provider commands <provider> [--thread <id>] [--refresh] lists what an agent runs when a message starts with /name, and the app's composer offers them after / next to the skills:

  • Claude Code: the commands its initialize answer lists: the built-in ones, .claude/commands of the user and the project, and its plugins'. Left out are the ones qcc does itself (/model, /effort, /clear, /rename, /fast) and the ones that need its terminal UI or a confirmation (/color, /focus, /design, /ultrareview, …). Claude Code runs a command only from a message that is a plain string starting with it, so such a message goes exactly as written; what qcc would add to it (notes, the paths of attached files) comes with the next message.
  • opencode: its built-in /init and /review, and the commands in .opencode/commands (and command/), ~/.config/opencode/commands and the commands table of opencode.json, read from disk like its skills. In ACP it runs a prompt that starts with a command or a skill's name as that command or with that skill, so the message goes first in the prompt.
  • Codex runs no commands from a message (its own are part of its terminal UI), so none are listed. A skill is still written /name: the bridge sends a message that starts with the name of one of Codex's skills as Codex's own skill mention, $name with the skill's file, and asks Codex for its skills again when it says they changed.

A running session learns about a skill turned on in its thread right away, as a note on the next message. A skill turned off disappears with the thread's next session: what the agent has already read cannot be taken back. A thread's choice is not passed to its children. In the app: the "Skills" screen with a switch for all threads, and the "Thread" tab of a thread's right panel.

The qcc-orchestration skill and the commands of the orchestration plugin are described in Orchestration.