CLI reference
qcc is the client of the daemon, qccd: for people at a terminal and for agents inside their
sessions alike. Every command takes two global options:
--jsonprints machine-readable JSON instead of text.--socket <SOCKET>is the socket of the daemon (default$XDG_RUNTIME_DIR/qcc/qccd.sock, or$QCC_SOCKETwhen it is set).
Inside an agent session started by qcc, QCC_THREAD_ID holds the session's thread: qcc thread spawn makes new threads its children, and plugin commands act on it by default.
Plugins add commands of their own, run as qcc <plugin> <command> [--thread <id>] [--<param> <value>]…; qcc command list shows what is installed. The bundled ones are described
with their plugins, for example handoff and review.
qcc daemon
Section titled “qcc daemon”Inspect the daemon.
qcc daemon status— Show whether the daemon is running and where it lives.
qcc daemon status
Section titled “qcc daemon status”Show whether the daemon is running and where it lives.
qcc daemon status [OPTIONS]qcc thread
Section titled “qcc thread”Create, drive and inspect threads.
qcc thread spawn— Start a new thread with a provider.qcc thread send— Send a message to a thread. While a turn is running the message is queued behind it, or fed into it with --steer.qcc thread mode— Change a thread's permission mode: read-only, ask, accept-edits, auto, full, ordefaultfor the agent's own configuration.qcc thread skills— The skills a thread's sessions get; with --on and --off, turn skills on or off for this thread alone. Off takes effect with its next session; on is told to a running session with the next message.qcc thread mcp— The MCP servers of a thread's session and the ones it keeps off; with --off and --on, turn servers set up in qcc (qcc mcp list) off or on for this thread alone, not the threads it starts. The agent's own servers are shown, not switched.qcc thread rename— Name a thread.qcc thread reset— Start the conversation afresh in the same thread: the next message starts a new session. What came before stays in the timeline as an earlier conversation.qcc thread turns— List the turns of a thread that ended, numbered, and whether the thread can be forked from each one.qcc thread fork— Fork a thread from the end of one of its turns: a new thread whose agent goes on from there with the conversation up to it. The thread itself is left as it is. Only the conversation is forked; the files are as they are now.qcc thread context— Show what the agent's context window holds, part by part, as it last said; for agents that do not break it down, only how full it is.qcc thread compact— Ask the agent to compact its context: to sum up the conversation so far and go on from the summary. Only for agents that can (qcc plugin list).qcc thread deliver— Bring what a thread did in its worktree back to the directory it was made from: as uncommitted changes, or with --merge as a merge of its branch.qcc thread isolate— Move a thread that works in its directory into a worktree of its own, between turns. With --carry its uncommitted changes go along and leave the directory.qcc thread project— Put a thread into a project (id or name), or take it out withnone.qcc thread parent— Place a thread under another thread, or let it stand on its own withnone.qcc thread unqueue— Take a queued message back before it is delivered and print it. The id is thequeue_idthatthread send --jsonprinted.qcc thread agent— Go on with another agent, model or effort. Another agent starts a new session and is told the conversation so far;qcc provider modelslists the models and their effort levels.qcc thread stop— Interrupt the running turn of a thread.qcc thread wait— Wait until threads settle (idle, failed or archived) and print each one's state and last message. Exit code 0: every last turn completed; 1: one failed or was interrupted; 124: the timeout ran out first.qcc thread list— List threads, oldest first, children under their parents.qcc thread changes— List the files a thread changed in its environment, and the commits it made there.qcc thread paths— Find files and folders in a thread's working directory by a fuzzy query, as the app's composer does after@: best first, one path a line, a folder with/at its end.qcc thread cat— Print a text file of a thread's working directory, as the app's viewer reads it. Paths are relative to that directory and may not lead out of it.qcc thread ls— List a folder of a thread's working directory as the app's file tree does: what git ignores is left out, folders first with/at their end.qcc thread search— Find a word in the files of a thread's working directory, as the app's viewer looks up where a name is used: one match a line, aspath:line:column: text. The query is literal text, not a pattern; what git ignores, binary files and files over 2 MiB are left out.qcc thread diff— Print everything a thread changed in its environment as a unified diff.qcc thread archive— Put a thread away: release its session and remove its environment. The timeline stays readable.qcc thread show— Show a thread and its timeline.qcc thread events— Print a thread's events.
qcc thread spawn
Section titled “qcc thread spawn”Start a new thread with a provider.
qcc thread spawn [OPTIONS]--provider <PROVIDER>— Provider id, as listed byqcc plugin list[default: the parent's].--prompt <PROMPT>— The first message to the agent.--attach <FILE>— Attach a file to the first message: qcc keeps a copy, and the agent looks at an image or reads the file. Repeatable.--cwd <CWD>— Working directory of the thread [default: the current directory].--env <ENVIRONMENT>— Give the thread a working directory of its own, made from --cwd by this environment (git-worktree: a worktree on a new branch).--base <REF>— What the environment starts from: for git-worktree a branch, tag or commit [default: the current HEAD].--env-dir <DIR>— Where the environment makes the thread's directory, instead of qcc's data directory: for git-worktree the worktree itself, e.g.tasks/BGT-123/bgt-auth. Relative to the current directory. It must not exist yet or be empty, and inside another git checkout it must be ignored there. Archiving the thread removes it.--branch <NAME>— What the environment calls the thread's branch, e.g.feature/BGT-123[default: qcc/<thread id>]. A branch that exists already, locally or on a remote, is refused without --reuse-branch. Archiving the thread keeps a branch named here unless nothing was committed on it.--reuse-branch— Continue on --branch if it exists already: the local branch, or else the one fetched from a remote. Changes are then counted from where the branch stood.--model <MODEL>--effort <LEVEL>— How hard the model thinks: a levelqcc provider modelslists for it [default: the parent's, the one set for the agent, or the agent's own].--parent <PARENT>— Parent thread [default: $QCC_THREAD_ID, set inside agent sessions]. Environment:QCC_THREAD_ID.--root— Start a thread of the user's own, under no other, even from inside an agent session: the session's thread is recorded as the one that started it.--hidden— Keep the thread out of lists and overviews; it is reached by its id.--project <PROJECT>— Project id or name [default: the parent's, or the project whose folder holds --cwd].--permission-mode <MODE>— How much the agent may do unasked: read-only, ask, accept-edits, auto or full [default: the agent's own configuration].--skill <NAME>— Give the thread a skill offered on request (qcc skill list). Repeatable.--without-skill <NAME>— Leave out a skill every session gets. Repeatable.--follow— Stream the thread's events until the first turn settles.
qcc thread send
Section titled “qcc thread send”Send a message to a thread. While a turn is running the message is queued behind it, or fed into it with --steer.
qcc thread send [OPTIONS] <THREAD> <TEXT><THREAD><TEXT>--steer— Feed the message into the running turn instead of queueing it. Queued anyway if the provider cannot steer.--about <THREAD>— Tell the agent the message is about this thread. Repeatable.--comment <ID>— Hand the agent this comment on its changes in full (qcc comment list). Repeatable.--attach <FILE>— Attach a file to the message: qcc keeps a copy, and the agent looks at an image or reads the file. Repeatable.--follow— Stream the thread's events until the turn that takes this message settles.
qcc thread mode
Section titled “qcc thread mode”Change a thread's permission mode: read-only, ask, accept-edits, auto, full, or default for the agent's own configuration.
qcc thread mode [OPTIONS] <THREAD> <MODE><THREAD><MODE>
qcc thread skills
Section titled “qcc thread skills”The skills a thread's sessions get; with --on and --off, turn skills on or off for this thread alone. Off takes effect with its next session; on is told to a running session with the next message.
qcc thread skills [OPTIONS] <THREAD><THREAD>--on <NAME>— Turn this skill on in the thread. Repeatable.--off <NAME>— Turn this skill off in the thread. Repeatable.
qcc thread mcp
Section titled “qcc thread mcp”The MCP servers of a thread's session and the ones it keeps off; with --off and --on, turn servers set up in qcc (qcc mcp list) off or on for this thread alone, not the threads it starts. The agent's own servers are shown, not switched.
qcc thread mcp [OPTIONS] <THREAD><THREAD>--off <NAME>— Keep this server off in the thread. Repeatable.--on <NAME>— Turn this server on again. Repeatable.
qcc thread rename
Section titled “qcc thread rename”Name a thread.
qcc thread rename [OPTIONS] <THREAD> <TITLE><THREAD><TITLE>
qcc thread reset
Section titled “qcc thread reset”Start the conversation afresh in the same thread: the next message starts a new session. What came before stays in the timeline as an earlier conversation.
qcc thread reset [OPTIONS] <THREAD><THREAD>
qcc thread turns
Section titled “qcc thread turns”List the turns of a thread that ended, numbered, and whether the thread can be forked from each one.
qcc thread turns [OPTIONS] <THREAD><THREAD>
qcc thread fork
Section titled “qcc thread fork”Fork a thread from the end of one of its turns: a new thread whose agent goes on from there with the conversation up to it. The thread itself is left as it is. Only the conversation is forked; the files are as they are now.
qcc thread fork [OPTIONS] <THREAD> [TURN]<THREAD><TURN>— The turn to fork from: its number inqcc thread turns, or its id [default: the latest one it can be forked from].--env <ENVIRONMENT>— Make the fork a working directory of its own from the thread's [default: the thread's own environment, if it has one].--same-dir— Work in the thread's own directory, even if it has an environment.--prompt <PROMPT>— The fork's first message.--follow— Stream the fork's events until its first turn settles.
qcc thread context
Section titled “qcc thread context”Show what the agent's context window holds, part by part, as it last said; for agents that do not break it down, only how full it is.
qcc thread context [OPTIONS] <THREAD><THREAD>
qcc thread compact
Section titled “qcc thread compact”Ask the agent to compact its context: to sum up the conversation so far and go on from the summary. Only for agents that can (qcc plugin list).
qcc thread compact [OPTIONS] <THREAD><THREAD>--follow— Stream the thread's events until the compaction settles.
qcc thread deliver
Section titled “qcc thread deliver”Bring what a thread did in its worktree back to the directory it was made from: as uncommitted changes, or with --merge as a merge of its branch.
qcc thread deliver [OPTIONS] <THREAD><THREAD>--merge
qcc thread isolate
Section titled “qcc thread isolate”Move a thread that works in its directory into a worktree of its own, between turns. With --carry its uncommitted changes go along and leave the directory.
qcc thread isolate [OPTIONS] <THREAD><THREAD>--env <ENVIRONMENT>Default:git-worktree.--carry--env-dir <DIR>— Where the environment makes the thread's directory, instead of qcc's data directory: for git-worktree the worktree itself, e.g.tasks/BGT-123/bgt-auth. Relative to the current directory. It must not exist yet or be empty, and inside another git checkout it must be ignored there. Archiving the thread removes it.--branch <NAME>— What the environment calls the thread's branch, e.g.feature/BGT-123[default: qcc/<thread id>]. A branch that exists already, locally or on a remote, is refused without --reuse-branch. Archiving the thread keeps a branch named here unless nothing was committed on it.--reuse-branch— Continue on --branch if it exists already: the local branch, or else the one fetched from a remote. Changes are then counted from where the branch stood.
qcc thread project
Section titled “qcc thread project”Put a thread into a project (id or name), or take it out with none.
qcc thread project [OPTIONS] <THREAD> <PROJECT><THREAD><PROJECT>
qcc thread parent
Section titled “qcc thread parent”Place a thread under another thread, or let it stand on its own with none.
qcc thread parent [OPTIONS] <THREAD> <PARENT><THREAD><PARENT>
qcc thread unqueue
Section titled “qcc thread unqueue”Take a queued message back before it is delivered and print it. The id is the queue_id that thread send --json printed.
qcc thread unqueue [OPTIONS] <THREAD> <QUEUE_ID><THREAD><QUEUE_ID>
qcc thread agent
Section titled “qcc thread agent”Go on with another agent, model or effort. Another agent starts a new session and is told the conversation so far; qcc provider models lists the models and their effort levels.
qcc thread agent [OPTIONS] <THREAD> <PROVIDER><THREAD><PROVIDER>--model <MODEL>— Absent: the agent's default model.--effort <LEVEL>— Absent: the agent's default effort.
qcc thread stop
Section titled “qcc thread stop”Interrupt the running turn of a thread.
qcc thread stop [OPTIONS] <THREAD><THREAD>--release— Also release the provider session.
qcc thread wait
Section titled “qcc thread wait”Wait until threads settle (idle, failed or archived) and print each one's state and last message. Exit code 0: every last turn completed; 1: one failed or was interrupted; 124: the timeout ran out first.
qcc thread wait [OPTIONS] <THREADS>...<THREADS>--any— Return when any of them settles.--timeout <SECONDS>— Give up after this many seconds.
qcc thread list
Section titled “qcc thread list”List threads, oldest first, children under their parents.
qcc thread list [OPTIONS]--archived— Include archived threads.--parent <THREAD>— Only the children of this thread.--state <STATE>— Only threads in this state: working, waiting (for the user), idle, failed or archived.--hidden— Include hidden threads, which plugins keep for their own use.
qcc thread changes
Section titled “qcc thread changes”List the files a thread changed in its environment, and the commits it made there.
qcc thread changes [OPTIONS] <THREAD><THREAD>--uncommitted— Only what is not committed yet.--from <COMMIT>— Only the changes after this commit, asqcc thread changeslists them; after the base when only--tois given.--to <COMMIT>— Only the changes up to this commit, included; up to the directory as it is now, uncommitted work too, when only--fromis given.
qcc thread paths
Section titled “qcc thread paths”Find files and folders in a thread's working directory by a fuzzy query, as the app's composer does after @: best first, one path a line, a folder with / at its end.
qcc thread paths [OPTIONS] <THREAD> [QUERY]<THREAD><QUERY>— Characters of the path, in order; every path, shortest first, without it.--limit <LIMIT>— At most this many paths.
qcc thread cat
Section titled “qcc thread cat”Print a text file of a thread's working directory, as the app's viewer reads it. Paths are relative to that directory and may not lead out of it.
qcc thread cat [OPTIONS] <THREAD> <PATH><THREAD><PATH>--max-bytes <MAX_BYTES>— Refuse text longer than this many bytes (2 MiB by default).
qcc thread ls
Section titled “qcc thread ls”List a folder of a thread's working directory as the app's file tree does: what git ignores is left out, folders first with / at their end.
qcc thread ls [OPTIONS] <THREAD> [PATH]<THREAD><PATH>— Relative to the working directory; the directory itself without it.--ignored— List what git ignores too (all but.git), marked(ignored).
qcc thread search
Section titled “qcc thread search”Find a word in the files of a thread's working directory, as the app's viewer looks up where a name is used: one match a line, as path:line:column: text. The query is literal text, not a pattern; what git ignores, binary files and files over 2 MiB are left out.
qcc thread search [OPTIONS] <THREAD> <QUERY><THREAD><QUERY>--partial— Match inside longer identifiers too, not only the whole word.-i, --ignore-case— Let letters match in either case.--limit <LIMIT>— At most this many matches (500 by default, up to 5000).
qcc thread diff
Section titled “qcc thread diff”Print everything a thread changed in its environment as a unified diff.
qcc thread diff [OPTIONS] <THREAD> [PATHS]...<THREAD><PATHS>— Only these files, by their paths inqcc thread changes.--uncommitted— Only what is not committed yet.--from <COMMIT>— Only the changes after this commit, asqcc thread changeslists them; after the base when only--tois given.--to <COMMIT>— Only the changes up to this commit, included; up to the directory as it is now, uncommitted work too, when only--fromis given.--full— Show each changed file whole, its unchanged lines as context, not just a few lines around each change.
qcc thread archive
Section titled “qcc thread archive”Put a thread away: release its session and remove its environment. The timeline stays readable. The threads started under it go too, at any depth, deepest first; those still working are stopped. One that refuses (uncommitted work without --force) stays, and so do the threads above it; the rest go.
qcc thread archive [OPTIONS] <THREAD><THREAD>--force— Remove the environments even if uncommitted work is lost.--no-descendants— Archive only this thread and leave the threads under it as they are.
qcc thread show
Section titled “qcc thread show”Show a thread and its timeline.
qcc thread show [OPTIONS] <THREAD><THREAD>--last <N>— Only the last N lines of the timeline (with --json, its last N events).
qcc thread events
Section titled “qcc thread events”Print a thread's events.
qcc thread events [OPTIONS] <THREAD><THREAD>--after <AFTER>— Only events after this sequence number. Default:0.--follow— Keep printing events as they are appended.
qcc comment
Section titled “qcc comment”Comments on lines of a thread's changes: left by the user, dealt with by the agent.
qcc comment list— The open comments on a thread's changes.qcc comment add— Leave a comment on a line of a thread's changes.qcc comment resolve— Mark comments dealt with.qcc comment reopen— Open resolved comments again.qcc comment delete— Take a comment back.
qcc comment list
Section titled “qcc comment list”The open comments on a thread's changes.
qcc comment list [OPTIONS]--thread <THREAD>— The thread [default: $QCC_THREAD_ID, set inside agent sessions]. Environment:QCC_THREAD_ID.--all— Resolved comments too.
qcc comment add
Section titled “qcc comment add”Leave a comment on a line of a thread's changes.
qcc comment add [OPTIONS] <PATH> <LINE> <TEXT>--thread <THREAD>— The thread [default: $QCC_THREAD_ID, set inside agent sessions]. Environment:QCC_THREAD_ID.<PATH>— The file, from the top of the checkout as the thread's diff names it.<LINE>— The line number in the changed file.<TEXT>--old— The line number counts in the code before the change: a removed line.
qcc comment resolve
Section titled “qcc comment resolve”Mark comments dealt with.
qcc comment resolve [OPTIONS] <IDS>...<IDS>--note <NOTE>— What was done about them.
qcc comment reopen
Section titled “qcc comment reopen”Open resolved comments again.
qcc comment reopen [OPTIONS] <IDS>...<IDS>
qcc comment delete
Section titled “qcc comment delete”Take a comment back.
qcc comment delete [OPTIONS] <ID><ID>
qcc interaction
Section titled “qcc interaction”Answer approvals and questions agents are waiting on.
qcc interaction resolve— Answer a pending approval or question.
qcc interaction resolve
Section titled “qcc interaction resolve”Answer a pending approval or question.
qcc interaction resolve [OPTIONS] <--option <OPTION>|--text <TEXT>|--cancel> <THREAD> <INTERACTION><THREAD><INTERACTION>--option <OPTION>— Pick one of the offered options by id.--text <TEXT>— Answer with free text.--cancel— Decline to answer.
qcc secret
Section titled “qcc secret”Secrets agents use without seeing them: store, list, run a command with them, ask the user for one.
qcc secret list— The secrets (never their values) and where the values are kept. Inside an agent's thread: the global ones and those of the thread's project.qcc secret set— Store a secret, or replace its value. The value is read from stdin, or asked for without echo on a terminal; one trailing newline is dropped.qcc secret remove— Delete a secret.qcc secret exec— Run a command with secrets in its environment. Its stdout and stderr come back with those values replaced by[secret:NAME]; the exit code is the command's.qcc secret ask— From an agent's thread: ask the user for a secret. The thread waits until the user stores a value in the app (or withqcc secret answer) or declines. Exits non-zero unless it was stored.qcc secret answer— Answer a thread's request for a secret: the value is read likesetreads it.
qcc secret list
Section titled “qcc secret list”The secrets (never their values) and where the values are kept. Inside an agent's thread: the global ones and those of the thread's project.
qcc secret list [OPTIONS]--project <PROJECT>— A project's secret (by id or name) [default: the project of $QCC_THREAD_ID].--global— A global secret, for every project.
qcc secret set
Section titled “qcc secret set”Store a secret, or replace its value. The value is read from stdin, or asked for without echo on a terminal; one trailing newline is dropped.
qcc secret set [OPTIONS] <NAME><NAME>--project <PROJECT>— A project's secret (by id or name) [default: the project of $QCC_THREAD_ID].--global— A global secret, for every project.
qcc secret remove
Section titled “qcc secret remove”Delete a secret.
qcc secret remove [OPTIONS] <NAME><NAME>--project <PROJECT>— A project's secret (by id or name) [default: the project of $QCC_THREAD_ID].--global— A global secret, for every project.
qcc secret exec
Section titled “qcc secret exec”Run a command with secrets in its environment. Its stdout and stderr come back with those values replaced by [secret:NAME]; the exit code is the command's.
qcc secret exec [OPTIONS] --env <NAMES> -- <COMMAND>...--env <NAMES>— Secrets to put in the environment, under their own names; repeat or separate with commas. A project's secret wins over a global one.--project <PROJECT>— A project's secret (by id or name) [default: the project of $QCC_THREAD_ID].--global— A global secret, for every project.<COMMAND>— The command and its arguments, after--.
qcc secret ask
Section titled “qcc secret ask”From an agent's thread: ask the user for a secret. The thread waits until the user stores a value in the app (or with qcc secret answer) or declines. Exits non-zero unless it was stored.
qcc secret ask [OPTIONS] --prompt <PROMPT> <NAME><NAME>--prompt <PROMPT>— What the secret is for and where the user gets it.--project <PROJECT>— A project's secret (by id or name) [default: the project of $QCC_THREAD_ID].--global— A global secret, for every project.--thread <THREAD>— The thread that asks [default: $QCC_THREAD_ID].
qcc secret answer
Section titled “qcc secret answer”Answer a thread's request for a secret: the value is read like set reads it.
qcc secret answer [OPTIONS] <THREAD> <INTERACTION><THREAD><INTERACTION>--decline— Refuse to give the secret.
qcc plugin
Section titled “qcc plugin”Inspect plugins.
qcc plugin list— List installed plugins, whether each is on, and what it contributes.qcc plugin enable— Turn a plugin on and start it, now and on later starts of the daemon.qcc plugin disable— Turn a plugin off and stop it, now and on later starts of the daemon. Its agents, environments, commands and skills go away; threads made with them stay readable.qcc plugin settings— A plugin's own settings and their values.qcc plugin set— Set one of a plugin's own settings; without a value, go back to its default.
qcc plugin list
Section titled “qcc plugin list”List installed plugins, whether each is on, and what it contributes.
qcc plugin list [OPTIONS]qcc plugin enable
Section titled “qcc plugin enable”Turn a plugin on and start it, now and on later starts of the daemon.
qcc plugin enable [OPTIONS] <PLUGIN><PLUGIN>
qcc plugin disable
Section titled “qcc plugin disable”Turn a plugin off and stop it, now and on later starts of the daemon. Its agents, environments, commands and skills go away; threads made with them stay readable.
qcc plugin disable [OPTIONS] <PLUGIN><PLUGIN>--force— Even while its agents are working: their turns are cut short.
qcc plugin settings
Section titled “qcc plugin settings”A plugin's own settings and their values.
qcc plugin settings [OPTIONS] <PLUGIN><PLUGIN>
qcc plugin set
Section titled “qcc plugin set”Set one of a plugin's own settings; without a value, go back to its default.
qcc plugin set [OPTIONS] <PLUGIN> <SETTING> [VALUE]<PLUGIN><SETTING><VALUE>
qcc project
Section titled “qcc project”Group threads by project: named sets of repositories and folders.
qcc project list— List projects and their folders.qcc project create— Make a project. Threads outside any project that work in its folders join it.qcc project add-folder— Add a folder to a project.qcc project remove-folder— Take a folder out of a project.qcc project rename—qcc project icon— Set the icon the app draws for a project: a name from the app's icon set (rocket,gamepad-2), an emoji, ornonefor the default.qcc project delete— Delete a project. Its threads stay, outside any project.
qcc project list
Section titled “qcc project list”List projects and their folders.
qcc project list [OPTIONS]qcc project create
Section titled “qcc project create”Make a project. Threads outside any project that work in its folders join it.
qcc project create [OPTIONS] --folder <FOLDERS> <NAME><NAME>--folder <FOLDERS>— A repository or folder of the project; repeat for several.--icon <ICON>— An icon of the app's set by name (rocket,gamepad-2) or an emoji.--color <COLOR>— The color of a named icon: brand, red, orange, yellow, green, teal, blue, violet, pink or gray.
qcc project add-folder
Section titled “qcc project add-folder”Add a folder to a project.
qcc project add-folder [OPTIONS] <PROJECT> <FOLDER><PROJECT><FOLDER>
qcc project remove-folder
Section titled “qcc project remove-folder”Take a folder out of a project.
qcc project remove-folder [OPTIONS] <PROJECT> <FOLDER><PROJECT><FOLDER>
qcc project rename
Section titled “qcc project rename”qcc project rename [OPTIONS] <PROJECT> <NAME><PROJECT><NAME>
qcc project icon
Section titled “qcc project icon”Set the icon the app draws for a project: a name from the app's icon set (rocket, gamepad-2), an emoji, or none for the default.
qcc project icon [OPTIONS] <PROJECT> <ICON><PROJECT><ICON>--color <COLOR>— The color of a named icon: brand, red, orange, yellow, green, teal, blue, violet, pink or gray.
qcc project delete
Section titled “qcc project delete”Delete a project. Its threads stay, outside any project.
qcc project delete [OPTIONS] <PROJECT><PROJECT>
qcc automation
Section titled “qcc automation”Prompts the daemon sends an agent on a schedule: every hour, every weekday at nine, ….
qcc automation list— List automations, when each runs next and how its last run went.qcc automation add— Make an automation: on its schedule the daemon starts a thread with the prompt.qcc automation show— An automation's settings and its latest runs.qcc automation edit— Change an automation; what is not given stays as it is.qcc automation enable— Switch an automation on: its schedule counts from now.qcc automation disable— Switch an automation off; it can still be run by hand.qcc automation remove— Delete an automation and its history. The threads it started stay.qcc automation run— Run an automation now, whether it is on or not. Its schedule goes on as before.
qcc automation list
Section titled “qcc automation list”List automations, when each runs next and how its last run went.
qcc automation list [OPTIONS]qcc automation add
Section titled “qcc automation add”Make an automation: on its schedule the daemon starts a thread with the prompt.
qcc automation add [OPTIONS] <NAME><NAME>--schedule <SCHEDULE>— When it runs: a cron expression (0 9 * * 1-5, in local time), @hourly, @daily, @weekly, @monthly, @yearly, or an interval (every 30m,every 2h).--prompt <PROMPT>— The message each run sends the agent.--provider <PROVIDER>— Provider id [default: the agent of the session it runs in ($QCC_THREAD_ID), else the default provider ofqcc settings].--cwd <CWD>— Directory the agent works in [default: the current directory].--env <ENVIRONMENT>— Give each new thread a directory of its own made by this environment (git-worktree).--env nonedrops it.--model <MODEL>—--model defaultgoes back to the agent's default.--effort <LEVEL>—--effort defaultgoes back to the model's default.--permission-mode <MODE>— read-only, ask, accept-edits, auto or full;defaultfor the agent's own configuration. Nobody watches a scheduled run: inask, it waits for you.--threads <MODE>—new: every run is a thread of its own;continue: every run is a message to one thread, which the first run starts [default: new]. One ofnew,continue.--overlap <POLICY>— When a run comes due while the previous one still works: skip it, or start it anyway [default: skip]. One ofskip,allow.--catch-up <BOOL>— Make up for a run missed while the daemon was not running, once [default: no;--catch-up falseturns it off]. One oftrue,false.--disabled— Make it switched off (add).
qcc automation show
Section titled “qcc automation show”An automation's settings and its latest runs.
qcc automation show [OPTIONS] <AUTOMATION><AUTOMATION>--runs <RUNS>— How many runs to show. Default:10.
qcc automation edit
Section titled “qcc automation edit”Change an automation; what is not given stays as it is.
qcc automation edit [OPTIONS] <AUTOMATION><AUTOMATION>--name <NAME>— A new name.--schedule <SCHEDULE>— When it runs: a cron expression (0 9 * * 1-5, in local time), @hourly, @daily, @weekly, @monthly, @yearly, or an interval (every 30m,every 2h).--prompt <PROMPT>— The message each run sends the agent.--provider <PROVIDER>— Provider id [default: the agent of the session it runs in ($QCC_THREAD_ID), else the default provider ofqcc settings].--cwd <CWD>— Directory the agent works in [default: the current directory].--env <ENVIRONMENT>— Give each new thread a directory of its own made by this environment (git-worktree).--env nonedrops it.--model <MODEL>—--model defaultgoes back to the agent's default.--effort <LEVEL>—--effort defaultgoes back to the model's default.--permission-mode <MODE>— read-only, ask, accept-edits, auto or full;defaultfor the agent's own configuration. Nobody watches a scheduled run: inask, it waits for you.--threads <MODE>—new: every run is a thread of its own;continue: every run is a message to one thread, which the first run starts [default: new]. One ofnew,continue.--overlap <POLICY>— When a run comes due while the previous one still works: skip it, or start it anyway [default: skip]. One ofskip,allow.--catch-up <BOOL>— Make up for a run missed while the daemon was not running, once [default: no;--catch-up falseturns it off]. One oftrue,false.--disabled— Make it switched off (add).
qcc automation enable
Section titled “qcc automation enable”Switch an automation on: its schedule counts from now.
qcc automation enable [OPTIONS] <AUTOMATION><AUTOMATION>
qcc automation disable
Section titled “qcc automation disable”Switch an automation off; it can still be run by hand.
qcc automation disable [OPTIONS] <AUTOMATION><AUTOMATION>
qcc automation remove
Section titled “qcc automation remove”Delete an automation and its history. The threads it started stay.
qcc automation remove [OPTIONS] <AUTOMATION><AUTOMATION>
qcc automation run
Section titled “qcc automation run”Run an automation now, whether it is on or not. Its schedule goes on as before.
qcc automation run [OPTIONS] <AUTOMATION><AUTOMATION>
qcc settings
Section titled “qcc settings”Show and change the daemon's settings: paths of agent programs, defaults and environment of each agent.
qcc settings show— Print the settings and which file each agent program is.qcc settings program— Run this file whenever a plugin runs the program NAME (claude,codex,opencode); without a path, go back to looking it up on PATH.qcc settings default-provider— The agent new threads get when none is named;noneto unset.qcc settings provider— Defaults and environment of one agent's threads.
qcc settings show
Section titled “qcc settings show”Print the settings and which file each agent program is.
qcc settings show [OPTIONS]qcc settings program
Section titled “qcc settings program”Run this file whenever a plugin runs the program NAME (claude, codex, opencode); without a path, go back to looking it up on PATH.
qcc settings program [OPTIONS] <NAME> [PATH]<NAME><PATH>
qcc settings default-provider
Section titled “qcc settings default-provider”The agent new threads get when none is named; none to unset.
qcc settings default-provider [OPTIONS] <PROVIDER><PROVIDER>
qcc settings provider
Section titled “qcc settings provider”Defaults and environment of one agent's threads.
qcc settings provider [OPTIONS] <PROVIDER><PROVIDER>--model <MODEL>— The model new threads get;defaultto unset.--effort <LEVEL>— The effort new threads get;defaultto unset.--permission-mode <MODE>— The permission mode new threads get;defaultto unset.--env <NAME=VALUE>— A variable every session of this agent sees: NAME=VALUE. Repeatable.--unset-env <NAME>— Stop setting this variable. Repeatable.--hidden <HIDDEN>— Leave the agent out of the app's pickers (true or false). One oftrue,false.
qcc mcp
Section titled “qcc mcp”MCP servers every agent session gets on top of those of the agent's own configuration.
qcc mcp list— The MCP servers qcc gives agents, and whether each is on.qcc mcp add— Add an MCP server, or replace the one of that name. Either a program the agent starts (qcc mcp add docs -- npx -y docs-mcp) or an HTTP server (qcc mcp add docs --url https://…/mcp). Sessions started from now on get it.qcc mcp remove— Remove an MCP server.qcc mcp enable— Give agents a server that was turned off.qcc mcp disable— Keep a server in the settings but give it to no session.
qcc mcp list
Section titled “qcc mcp list”The MCP servers qcc gives agents, and whether each is on.
qcc mcp list [OPTIONS]qcc mcp add
Section titled “qcc mcp add”Add an MCP server, or replace the one of that name. Either a program the agent starts (qcc mcp add docs -- npx -y docs-mcp) or an HTTP server (qcc mcp add docs --url https://…/mcp). Sessions started from now on get it.
qcc mcp add [OPTIONS] <NAME> [-- <COMMAND>...]<NAME>— Letters, digits,_and-.--url <URL>— The server's streamable HTTP endpoint.--header <NAME=VALUE>— A header the agent sends to an HTTP server: NAME=VALUE. Repeatable.--env <NAME=VALUE>— A variable the server program sees: NAME=VALUE. Repeatable.<COMMAND>— The program to start and its arguments, after--.
qcc mcp remove
Section titled “qcc mcp remove”Remove an MCP server.
qcc mcp remove [OPTIONS] <NAME><NAME>
qcc mcp enable
Section titled “qcc mcp enable”Give agents a server that was turned off.
qcc mcp enable [OPTIONS] <NAME><NAME>
qcc mcp disable
Section titled “qcc mcp disable”Keep a server in the settings but give it to no session.
qcc mcp disable [OPTIONS] <NAME><NAME>
qcc skill
Section titled “qcc skill”Skills plugins offer agents: instructions an agent reads when a task needs them.
qcc skill list— The skills plugins offer, and whether each is on. One offered on request reaches only the threads that ask for it (thread spawn --skill).qcc skill enable— Give agents a skill that was turned off. Sessions started from now on get it.qcc skill disable— Give a skill to no session, whatever a thread asks.
qcc skill list
Section titled “qcc skill list”The skills plugins offer, and whether each is on. One offered on request reaches only the threads that ask for it (thread spawn --skill).
qcc skill list [OPTIONS]qcc skill enable
Section titled “qcc skill enable”Give agents a skill that was turned off. Sessions started from now on get it.
qcc skill enable [OPTIONS] <NAME><NAME>
qcc skill disable
Section titled “qcc skill disable”Give a skill to no session, whatever a thread asks.
qcc skill disable [OPTIONS] <NAME><NAME>
qcc provider
Section titled “qcc provider”Inspect agent providers.
qcc provider models— The models a provider's agent offers, forthread spawn --model.qcc provider skills— The skills a provider's agent finds by itself (its own folders, its plugins), as the agent reports them. qcc shows them; the agent's configuration decides.qcc provider commands— The slash commands a provider's agent runs when a message sent through qcc starts with/name: built-in, the user's and the project's.qcc provider limits— How much of the subscription's usage limits each provider's account has spent (the 5-hour and weekly windows) and when they start over, as the agents last reported. Asks the agents when nothing is known yet.
qcc provider models
Section titled “qcc provider models”The models a provider's agent offers, for thread spawn --model.
qcc provider models [OPTIONS] <PROVIDER><PROVIDER>--refresh— Ask the agent again instead of using what the daemon remembers.
qcc provider skills
Section titled “qcc provider skills”The skills a provider's agent finds by itself (its own folders, its plugins), as the agent reports them. qcc shows them; the agent's configuration decides.
qcc provider skills [OPTIONS] <PROVIDER><PROVIDER>--refresh— Ask the agent again instead of using what the daemon remembers.--thread <THREAD>— Ask about this thread's working directory: the project's own skills are found there.
qcc provider commands
Section titled “qcc provider commands”The slash commands a provider's agent runs when a message sent through qcc starts with /name: built-in, the user's and the project's.
qcc provider commands [OPTIONS] <PROVIDER><PROVIDER>--refresh— Ask the agent again instead of using what the daemon remembers.--thread <THREAD>— Ask about this thread's working directory: the project's own commands are found there.
qcc provider limits
Section titled “qcc provider limits”How much of the subscription's usage limits each provider's account has spent (the 5-hour and weekly windows) and when they start over, as the agents last reported. Asks the agents when nothing is known yet.
qcc provider limits [OPTIONS] [PROVIDER]<PROVIDER>— Only this provider.--refresh— Ask the agents now (without a prompt) instead of using what the daemon remembers.
qcc command
Section titled “qcc command”List the commands plugins contribute.
qcc command list— List every plugin command and how to run it.
qcc command list
Section titled “qcc command list”List every plugin command and how to run it.
qcc command list [OPTIONS]