Skip to content

CLI reference

77 commands (schema v1). Agents: run gigai agent-context --json for the machine-readable form.

  • effect: read never changes state; write may change GigAI state or files (for some commands only with certain options).
  • external: the strongest thing the command can reach. none is offline, model may call a model provider (cost, and text leaves this machine), network may make other network requests.

Print the machine-readable command manual (this file merged with the live Click tree).

gigai agent-context [OPTIONS]

effect: read · external: none · output: One summary line; –json emits the full manual (schemaVersion, commandCount, commands).

Example:

Terminal window
gigai agent-context
gigai agent-context --json

Offline; reads only the packaged manifest and the command tree.

Print a recommended Claude Code permissions snippet (deny reading ~/.gigai, allow the GigAI CLI) for you to apply.

gigai agent-permissions [OPTIONS]

effect: read · external: none · output: A JSON snippet and a short plain explanation on stdout.

Example:

Terminal window
gigai agent-permissions
gigai agent-permissions --agent claude-code
gigai agent-permissions --port 8766

Offline. Prints only; GigAI never edits your agent’s settings. The curl rules name Scout’s port: pass –port if you started Scout with gigai scout run --port.

Print the instructions that teach your AI agent the daily Scout loop (a Claude Code SKILL.md, or an AGENTS.md section).

gigai agent-skill [OPTIONS]

effect: read · external: none · output: The instructions text on stdout; with –out, one line naming the file written.

Example:

Terminal window
gigai agent-skill
gigai agent-skill --format agents-md
gigai agent-skill --format skill --out SKILL.md

Offline. Prints by default; –out writes only the file you name and refuses to replace an existing one without –force. Never writes into an agent’s own folders by itself.

Seal one pending proposal as an offline approved Gig version.

gigai approve [OPTIONS] PROPOSAL_ID

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai approve prop-1

Approval is offline; no model is called.

Show one bundled catalog entry.

gigai catalog inspect [OPTIONS] CATALOG_ID

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai catalog inspect scout

Install a bundled catalog entry into the target project.

gigai catalog install [OPTIONS] CATALOG_ID

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai catalog install scout --target .

List the bundled catalog entries.

gigai catalog list [OPTIONS]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai catalog list

Validate one bundled catalog entry.

gigai catalog validate [OPTIONS] CATALOG_ID

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai catalog validate scout

Validate one existing proposal workpad without creating or changing it.

gigai check [OPTIONS] [GIG_ID]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai check scout

Resume an interrupted comparison without rerunning terminal cases.

gigai comparison resume [OPTIONS] COMPARISON_ID

effect: write · external: model · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai comparison resume cmp-1 --gig scout --local-target ollama-local --luna-target codex --confirm

Calls the two named model targets; needs –confirm.

Run the same frozen synthetic cases through two named model setups (local and Luna).

gigai comparison run [OPTIONS]

effect: write · external: model · output: Human-readable text; –json emits one JSON object.

Also registered as: gigai comparison start

Example:

Terminal window
gigai comparison run --gig scout --local-target ollama-local --luna-target codex --confirm

Calls the two named model targets; needs –confirm. comparison start is the same command.

Read one journal-authenticated comparison without rerunning it.

gigai comparison show [OPTIONS] COMPARISON_ID

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai comparison show cmp-1 --gig scout

Alias of comparison run.

gigai comparison start [OPTIONS]

effect: write · external: model · output: Human-readable text; –json emits one JSON object.

Also registered as: gigai comparison run

Example:

Terminal window
gigai comparison start --gig scout --local-target ollama-local --luna-target codex --confirm

Calls the two named model targets; needs –confirm. comparison start is the same command.

Read authenticated attempt and per-case checkpoint status of a comparison.

gigai comparison status [OPTIONS] COMPARISON_ID

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai comparison status cmp-1 --gig scout

Create a proposal from an explicit agent invocation envelope (command=create).

gigai create [OPTIONS] NAME

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai create scout --invocation create.json

Requires –invocation; ordinary conversation is not imported. Refreshes the local runtime discovery snapshot; no model call.

Run offline, zero-token installation and configured-mount checks.

gigai doctor [OPTIONS]

effect: write · external: model · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai doctor --json
gigai doctor --repair-journal

Default is offline, zero-token and read only. –live with –model-target makes one budget-bounded provider call (external=model). –repair-journal is the only option that writes (effect=write), and it runs instead of the checks. When a process died in the middle of a save (a crash, a power loss), later saves are refused until this has run (and, when the process died after the save’s files were written, reads too): with journal_reconciliation_required, which names this command (next_action in –json and in the API error); in that second case plain doctor also fails journal.index and its remediation names it. It finishes that interrupted write in every managed workpad of the home and reports what it finished: the journal.repair check lists finished_gig= sequence= commit= per finished write and failed_gig= code= reason= per journal it could not reconcile (overall FAIL, exit code 1); a workpad whose Git ownership markers do not name the folder it is in is refused that way, and nothing is written to it. The interrupted save is completed, not dropped; retry the refused save afterwards. On a healthy home it reports nothing to repair and changes no file. Safe to run again, and beside a running Scout server. Never run automatically. Pass the same –home the refused command used.

Record verbatim operator feedback for one pending proposal.

gigai feedback [OPTIONS] PROPOSAL_ID

effect: write · external: none · output: Human-readable text.

Example:

Terminal window
gigai feedback prop-1 --text "Make the summary shorter"

Check an installed gig, a gig.toml file or a gig project directory against the gig contract; exits 1 on any FAIL.

gigai gig check [OPTIONS] GIG

effect: read · external: none · output: Human-readable text: one PASS/FAIL/WARN/SKIP line per check, then the counts.

Example:

Terminal window
gigai gig check hello
gigai gig check path/to/gig.toml
gigai gig check path/to/project

A directory stands for the one gig.toml in it, in a package folder below it, or below its src/. A gig.toml that is not an installed gig’s gets the schema and core-range checks, plus the static half of item 11 (the [evals] table: step references and dataset licences) when it has an [evals] table; when the gig.toml sits in a package, item 11 also checks its prompt files, datasets (sha256, and paths that stay inside the package or {data}) and imports its scorer and postprocess symbols in a child interpreter. An installed gig is loaded to check its commands, and its project’s tests run when its source checkout is next to the package.

Show one installed gig (or a gig.toml file or gig project directory): status, core range, verbs, keys, data dirs and docs.

gigai gig info [OPTIONS] GIG

effect: read · external: none · output: Human-readable text.

Example:

Terminal window
gigai gig info hello
gigai gig info path/to/project

Install a gig (a wheel, sdist, project directory, git URL or PyPI name) into the gigai you are running, keeping the gigai version where it is.

gigai gig install [OPTIONS] SPEC

effect: write · external: network · output: The uv command it runs (argv on one line), uv’s own output, then the gig check verdict for the new gig.

Example:

Terminal window
gigai gig install ./gigai-demo
gigai gig install gigai-demo --dry-run

With a uv tool install of gigai it runs uv tool install gigai==<installed> with the whole –with list plus this gig, then uv tool install gigai with the same list (keeps what was installed and drops the pin), so the gig survives uv tool upgrade gigai; in a plain venv it runs uv pip install -c gigai==<installed>. A gig that needs a newer gigai than yours is refused (exit 2) and nothing changes; run uv tool upgrade gigai first. pipx and a system Python are refused (exit 2), as is a gig named like a gigai command or an installed gig. –dry-run prints the command and stops.

List installed gigs (gigai.gigs entry points) with their status, without importing any of them.

gigai gig list [OPTIONS]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai gig list --json

Write a new gig project into ./gigai-NAME/: its package, gig.toml, docs and contract tests, ready for gigai gig check.

gigai gig new [OPTIONS] NAME

effect: write · external: none · output: Human-readable text: the directory it wrote and the next commands.

Example:

Terminal window
gigai gig new hello
gigai gig new hello --server process

Offline: nothing is installed or fetched. NAME is a gig name (2-32 lowercase letters, digits and ‘-’, starting with a letter); it is refused (exit 2) when it is a gigai command or an installed gig’s name, and so is a ./gigai-NAME that exists and is not an empty directory. –server process adds a [server] table that core starts with gigai NAME run; –server mount adds a WSGI app that core does not serve yet.

Remove an installed gig from the gigai you are running; the gigai version stays.

gigai gig uninstall [OPTIONS] GIG

effect: write · external: network · output: The uv command it runs (argv on one line), then uv’s own output.

Example:

Terminal window
gigai gig uninstall demo
gigai gig uninstall demo --dry-run

Rewrites the uv tool receipt without this gig, or runs uv pip uninstall in a plain venv. The gig folder under /gigs/ is left alone. –dry-run prints the commands and stops.

Reinstall one installed gig at its newest compatible release (an older one when the installed release is gone from the index); the gigai version does not change.

gigai gig update [OPTIONS] GIG

effect: write · external: network · output: The uv command it runs (argv on one line), uv’s own output, then the gig check verdict.

Example:

Terminal window
gigai gig update demo
gigai gig update demo --dry-run

Runs uv tool install gigai==<installed> --reinstall-package <gig package> --upgrade-package <gig package> with the receipt’s full –with list, then uv tool install gigai with that list to drop the pin (uv tool install), or uv pip install --reinstall-package <gig package> --upgrade-package <gig package> -c gigai==<installed> in a plain venv. If the new release needs a newer gigai than yours it refuses (exit 2) and changes nothing. To move gigai itself use uv tool upgrade gigai; the installed gigs are kept. –dry-run prints the command and stops.

Atomically stage a v2 Graph Set from a definition file; never approves or runs it.

gigai graph-set propose [OPTIONS]

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai graph-set propose --definition graphs.json

List committed journal transitions for one Gig in sequence order.

gigai history [OPTIONS] [GIG_ID]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai history scout

Initialize the package boundary and recoverable default instances.

gigai init [OPTIONS]

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai init --confirm

Validate one explicit agent invocation envelope without creating GigAI authority.

gigai invoke [OPTIONS]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai invoke --input envelope.json

Migrate one existing clean workpad to the authenticated v2 layout.

gigai layout migrate [OPTIONS]

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai layout migrate --gig scout

Show model discovery; optionally run one explicit readiness probe.

gigai models [OPTIONS]

effect: write · external: model · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai models --json

–refresh re-captures the local runtime discovery snapshot (writes). –probe TARGET makes one bounded readiness call to that target (external=model).

Close a terminal occurrence without creating another Run.

gigai occurrence close [OPTIONS] OCCURRENCE_ID

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai occurrence close occ-1

Compare one completed occurrence with its explicitly named prior occurrence.

gigai occurrence compare [OPTIONS] CURRENT_OCCURRENCE_ID

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai occurrence compare occ-2 --prior-occurrence occ-1

Declare one explicit recurrence slot without starting a Run.

gigai occurrence declare [OPTIONS] {daily|weekly|monthly} OCCURRENCE_KEY

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai occurrence declare weekly 2026-W40 --snapshot snap-1

Record an explicit occurrence outcome without starting a Run.

gigai occurrence mark [OPTIONS] OCCURRENCE_ID {missed|skipped|unavailable|cancelled|blocked|failed}

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai occurrence mark occ-1 skipped --reason "on holiday" --actor-id me

Reconcile a prepared occurrence without relaunching its Run.

gigai occurrence reconcile [OPTIONS] OCCURRENCE_ID

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai occurrence reconcile occ-1

Trigger one declared occurrence through the existing Run path (needs –confirm).

gigai occurrence trigger [OPTIONS] OCCURRENCE_ID

effect: write · external: model · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai occurrence trigger occ-1 --confirm

Uses the same Run path as gigai run, so a provider-backed Graph may call a model.

Launch the structured editor for the declared, existing locations of a Gig.

gigai open [OPTIONS] [GIG_ID]

effect: read · external: none · output: Human-readable text.

Example:

Terminal window
gigai open scout

Starts the configured editor process; changes no GigAI state itself.

Export validated portable package bytes without project or Gig authority.

gigai package export [OPTIONS] PACKAGE_PATH DESTINATION

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai package export pkg.gigai out.gigai

Validate one package and report its portable identity.

gigai package inspect [OPTIONS] PACKAGE_PATH

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai package inspect pkg.gigai

Install portable package bytes without importing project or Gig authority.

gigai package install [OPTIONS] PACKAGE_PATH

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai package install pkg.gigai --target .

Render the proposed or approved Goal Graph without starting work.

gigai plan [OPTIONS] [GIG_ID]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai plan scout

Assess one authenticated posting with explicitly selected private revisions.

gigai proposal [OPTIONS] [GIG_ID]

effect: write · external: model · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai proposal scout --model-target ollama-local --posting-selector post-1 --private-selector rev-1 --confirm

Calls the named local Ollama target; needs –confirm.

Show the proposal envelope currently committed for one Gig.

gigai proposals [OPTIONS] [GIG_ID]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai proposals scout

Record a direct operator decision on a provider review; never approval or Run authority.

gigai provider-review closeout [OPTIONS]

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai provider-review closeout --run run-1 --plan plan-1 --confirm

Create a private record revision from a kind, content family and id.

gigai record create [OPTIONS]

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai record create --kind profile_preferences --content-family g45_reference --content-id ref-1 --operation-key op-1

Archive one native record.

gigai record native archive [OPTIONS]

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai record native archive --id rec-1 --parent-revision rev-1 --operation-key op-1

Show the native record context for this Gig.

gigai record native context [OPTIONS]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai record native context

Create a native record from a content file.

gigai record native create [OPTIONS]

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai record native create --content-file content.json --operation-key op-1

In the JSON, projection_pending: true needs no action: the record is stored, and the internal index of records follows when Scout next starts. rebuild_action is always null; there is no command to run.

List native records (metadata only).

gigai record native list [OPTIONS]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai record native list

Create a task-context override of a native record from a content file.

gigai record native override [OPTIONS]

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai record native override --content-file content.json --base-record rec-1 --base-revision rev-1 --operation-key op-1

In the JSON, projection_pending: true needs no action: the record is stored, and the internal index of records follows when Scout next starts.

Read one native record revision.

gigai record native read [OPTIONS]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai record native read --id rec-1

Append a new revision to a native record from a content file.

gigai record native update [OPTIONS]

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai record native update --id rec-1 --parent-revision rev-1 --content-file content.json --operation-key op-1

Read one private record revision.

gigai record read [OPTIONS]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai record read --id rec-1

Import a file as a private reference (resume, project evidence, role history, cover letter).

gigai reference add [OPTIONS]

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai reference add --kind resume --file resume.md

List imported private references (metadata only).

gigai reference list [OPTIONS]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai reference list

Show one imported private reference.

gigai reference show [OPTIONS] REFERENCE_ID

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai reference show ref-1

Reject one pending proposal without creating an executable Gig version.

gigai reject [OPTIONS] PROPOSAL_ID

effect: write · external: none · output: Human-readable text.

Example:

Terminal window
gigai reject prop-1 --reason "not needed"

Produce a new validated proposal linked to a prior pending proposal.

gigai revise [OPTIONS] PROPOSAL_ID

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai revise prop-1 --change "shorter summary"

Run one approved Gig through its deterministic local capability.

gigai run [OPTIONS] [GIG_ID]

effect: write · external: model · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai run scout --confirm

Local and deterministic by default. –execute-review runs the sealed provider-backed review participants (external=model). Needs –confirm.

Read durable state for one Run without starting work.

gigai run-details [OPTIONS] RUN_ID

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai run-details run-1

Store a run input (for example a pasted job description) as a private record.

gigai run-input add [OPTIONS]

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai run-input add --file job.txt

Show one stored run input.

gigai run-input show [OPTIONS] RUN_INPUT_ID

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai run-input show ri-1

Directly approve one frozen requirements baseline; never seals a Run Plan.

gigai run-plan approve-baseline [OPTIONS]

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai run-plan approve-baseline --input baseline.json --confirm

Seal one immutable Run Plan; never allocates a Run.

gigai run-plan create [OPTIONS]

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai run-plan create --version 1

List sealed Run Plans.

gigai run-plan list [OPTIONS]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai run-plan list

Show one sealed Run Plan.

gigai run-plan show [OPTIONS] RUN_PLAN_ID

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai run-plan show plan-1

Store a credential for a service (read from –stdin, never echoed).

gigai secrets add [OPTIONS] SERVICE

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai secrets add openai --stdin

Stores a secret in the local secret store.

List stored credential service names (never values).

gigai secrets list [OPTIONS]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai secrets list

Remove the stored credential for a service.

gigai secrets rm [OPTIONS] SERVICE

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai secrets rm openai

Run terminal setup, or update configuration non-interactively.

gigai setup [OPTIONS]

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai setup --non-interactive --model-target ollama-local

Writes GigAI settings under the home directory.

Show the canonical projection for one explicit or active Gig.

gigai show [OPTIONS] [GIG_ID]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai show scout

Report the explicit proposal and active-version state for one Gig.

gigai status [OPTIONS] [GIG_ID]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai status scout

Generate explicitly requested private documents; never applies or submits.

gigai tailor [OPTIONS] [GIG_ID]

effect: write · external: model · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai tailor scout --model-target ollama-local --posting-selector post-1 --private-selector rev-1 --confirm

Calls the named local Ollama target; needs –confirm.

Migrate a supported v0.1.6 installation and project boundary.

gigai upgrade [OPTIONS]

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai upgrade --confirm

List registered workpads for the bound project without writing workpad state.

gigai workpad list [OPTIONS]

effect: read · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai workpad list --json

Print the canonical path of one already-registered Gig workpad.

gigai workpad path [OPTIONS] [GIG_ID]

effect: read · external: none · output: Human-readable text.

Example:

Terminal window
gigai workpad path scout

Make one registered, approved workpad the active one for this project.

gigai workpad use [OPTIONS] GIG_ID

effect: write · external: none · output: Human-readable text; –json emits one JSON object.

Example:

Terminal window
gigai workpad use scout