Command reference

The qargi command reference: every command, verb, argument and option, the help topics, files and environment variables, from the release it names.

Updated

qargi dispatches one-off, task-scoped development tasks to sandboxed agents and takes the work back as reviewable patches. An agent is a member on this machine (local, the default) or a cloud agent (only when you ask for it in that request). Agents work in their own clone and never push. A team adds a lead that coordinates members for build, write and review on one task. Everything qargi stores about you and your projects lives outside every repository. Inside a project's repository you can leave out its name.

A gathering place for agent work: dispatch, review, remember. This reference is generated from the command description of qargi 0.2.1, so it matches that release.

Set up #

CommandWhat it does
projectStore the answers about a project, once, outside the repository
methodologyList and inspect the development and release methodologies
cloudWhich ant profile and workspace each project uses
agentName the members: the local agents that do the work
roleList and check the roles: what a member or cloud agent is for
providerList and check the model providers: tiers, models and what each can do
provisionCreate the cloud agent, deployment and environment of an instance
envWhat a repository declares about its development environment
instancesRegister, inspect and manage agent instances
skillCreate or import skills and attach them by scope
toolCreate or import tools (MCP servers with an allowlist) and attach them by scope
packsRender, load or apply the skills and tools a role gets
discoverFind, recommend and install tools for the roles of a project

Run a task #

CommandWhat it does
featureDevelop on a feature branch; merge it into develop once, when complete
marshalWho leads which open feature: lease, status, goal, plan, handoff
releaseReleases and hotfixes by the git-flow rules
branchBranch housekeeping: delete the merged agent and feature branches and their worktrees
changelogNumbered changelog items: find duplicate numbers and renumber them
upstreamFollow an upstream repository: how far behind, what is new, sync its branch
refRecord in the lead's ref journal a branch move that no flow verb made
startStart a standby cloud session for an instance
sendSend a task to an idle cloud session
statusShow tracked cloud sessions, or one session
reportCost per applied change, what waits for review, what looks stuck
noticedWhat members noticed and did not act on, and what became of it
watchWait for a cloud session to stop; prints one line when it does
collectDownload a session's output files into a fresh directory
stopInterrupt a running cloud session
closeArchive a finished cloud session
markRecord what happened to a session's work
trackTrack a session that was started elsewhere (for example in the console)
localPrepare, verify, list and clean a local run that has no way to push
superviseFind stalled agent runs: notify, prepare a nudge, never act alone

Review and apply #

CommandWhat it does
reviewCheck what an agent returned and put it on a task branch
teamRun a task with a lead and role agents (opt-in)

Memory #

CommandWhat it does
memoryCheck a memory store, list its tiers, read a note, split, merge or copy stores
canonBring a project's two memory stores to the standard layout and keep them there

Lead and credentials #

CommandWhat it does
leadThe lead session: its context, and the cloud lead's right to push
credentialCheck or set up the tokens qargi uses
hookClaude Code hooks

Export and import #

CommandWhat it does
exportSave a project's setup, definitions and memories to one file
importRestore from an export, choosing what and how

Other #

CommandWhat it does
upgradeMove the installed tool to a newer branch or tag of its origin
helpShow help
versionPrint the version

Topics, files and environment #

Typical use #

Once per project

qargi project template acme > acme.json   # edit it
qargi project init acme --answers acme.json
qargi provision plan acme-build    # then apply it with --plan and --approved

One task, cloud

qargi send acme-build "$BRIEF" --label rename-verb --asked "use the cloud builder"
qargi watch SID    # in the background
qargi collect SID ./out
qargi review check ./out

A team

qargi team brief acme code-docs --task "rename the verb" --done "make test" --base develop
qargi lead status acme
qargi team check ./run