Skip to main content
This reference is generated from the CLI’s own command registry, so it always matches the installed version. Verify yours with squads version.
npm install -g squads-cli

squads init

Plant the seed: create manager agent, CLI skill, and starter squads
squads init
OptionDescription
-p, --provider <provider>LLM provider (claude, gemini, openai, ollama, none)
--pack <packs...>Additional squad packs to install (engineering, marketing, operations, all)
--skip-infraSkip infrastructure setup prompt
--forceSkip requirement checks (for CI/testing)
-y, --yesAccept all defaults (non-interactive mode)
-q, --quickQuick init - create files only, skip interactive prompts

squads add

Add a new squad with directory structure and starter files
squads add <name>
OptionDescription
-d, --description <text>Squad mission (one sentence)
-g, --goal <text>First goal for the squad
-m, --model <model>Default model (default: sonnet)
-f, --forceOverwrite existing squad
-y, --yesAccept all defaults (non-interactive)
-r, --repoCreate a GitHub repository for the squad
-o, --org <org>GitHub organization for —repo (default: detected from git remote)

squads run

Run a squad or agent (no target lists squads). Use —org to run all squads as one coordinated cycle.
squads run [target]
OptionDescription
-v, --verboseVerbose output
-d, --dry-runShow what would be run without executing
-a, --agent <agent>Run specific agent within squad
-t, --timeout <minutes>Per-agent execution timeout in minutes (default: 15)
-p, --parallelRun all agents in parallel (N tmux sessions)
-l, --leadLead mode: single orchestrator using Task tool for parallelization
-b, --backgroundRun agent in background (detached process)
-w, --watchRun in background but tail the log for visibility
--use-apiUse API credits instead of subscription
--effort <level>Effort level: high, medium, low (default: from SQUAD.md or high)
--skills <skills...>Skills to load (skill IDs or local paths)
--provider <provider>LLM provider: anthropic, google, openai, mistral, xai, aider, ollama
--model <model>Model to use (e.g., opus, sonnet, haiku, gemini-2.5-flash, gpt-4o)
--trigger <type>Trigger source: manual, scheduled, event, smart (default: manual)
--cloudDispatch execution to cloud worker via API (requires squads login)
--task <directive>Founder directive for conversation mode (replaces lead briefing)
--max-turns <n>Max conversation turns (default: 20) (default: 20)
--cost-ceiling <usd>Cost ceiling in USD (default: 25) (default: 25)
--no-verifySkip post-execution verification (Ralph loop)
--executeExplicitly execute agents (default for run <target>)
-j, --jsonOutput as JSON
-i, --interval <minutes>Autopilot: minutes between cycles (default: 30)
--max-parallel <count>Autopilot: max parallel squad loops (default: 2)
--budget <usd>Autopilot: daily budget cap ($) (default: 0)
--onceAutopilot: run one cycle then exit
--phasedAutopilot: use dependency-based phase ordering (from SQUAD.md depends_on)
--no-evalSkip post-run COO evaluation
--orgRun all squads as a coordinated org cycle (scan → plan → execute → report)
--forceForce re-run squads that already completed today
--resumeResume org cycle from where quota stopped it
-y, --yesSkip the org-run cost confirmation (for deliberate/non-interactive triggers)
--focus <mode>Cycle focus: create, resolve, review, ship, research, cost (default: create)

squads list

List squads (alias for: squads status)
squads list

squads orchestrate

Run squad with lead agent orchestration
squads orchestrate <squad>
OptionDescription
-f, --foregroundRun lead in foreground (interactive)
-v, --verboseShow detailed output and watch events
-t, --timeout <minutes>Maximum runtime in minutes (default: 60)

squads env

View squad execution environment (MCP, skills, model, budget)
squads env

squads env show

Show execution environment for a squad
squads env show <squad>
OptionDescription
--jsonOutput as JSON

squads env prompt

Output ready-to-use prompt for Claude Code execution
squads env prompt <squad>
OptionDescription
-a, --agent <agent>Agent to execute (required)
--jsonOutput as JSON

squads exec

View execution history and statistics
squads exec

squads exec list

List recent executions
squads exec list
OptionDescription
-s, --squad <squad>Filter by squad
-a, --agent <agent>Filter by agent
--status <status>Filter by status (running, completed, failed)
-n, --limit <n>Number of executions to show (default: 20)
--jsonOutput as JSON

squads exec show

Show execution details
squads exec show <id>
OptionDescription
--jsonOutput as JSON

squads exec stats

Show execution statistics
squads exec stats
OptionDescription
-s, --squad <squad>Filter by squad
--jsonOutput as JSON

squads log

Show run history with timestamps, duration, and status
squads log
OptionDescription
-s, --squad <squad>Filter by squad
-a, --agent <agent>Filter by agent
-n, --limit <n>Number of runs to show (default: 20) (default: 20)
--since <date>Show runs since date (e.g. 7d, 2026-04-01)
-j, --jsonOutput as JSON

squads dashboard

Show dashboards. Use “squads dash” for overview, “squads dash <name>” for specific dashboard, “squads dash —list” to see all.
squads dashboard [name]
Aliases: squads dash
OptionDescription
-v, --verboseShow additional details
-c, --ceoExecutive summary with priorities and blockers
-f, --fullInclude GitHub PR/issue stats (slower, ~30s)
-l, --listList available declarative dashboards
--view <view>Render specific view from dashboard
-j, --jsonOutput as JSON

squads status

Show squad status and state
squads status [squad]
OptionDescription
-v, --verboseShow detailed status
-j, --jsonOutput as JSON

squads context

Get business context for alignment: goals, memory, costs, activity
squads context
Aliases: squads feed
OptionDescription
-s, --squad <squad>Focus on specific squad
-t, --topic <topic>Search memory for relevant context
-a, --agentOutput JSON for agent consumption
-j, --jsonOutput as JSON (alias for —agent)
-v, --verboseShow additional details

squads cost

Show cost summary (today, week, by squad)
squads cost
OptionDescription
-s, --squad <squad>Filter to specific squad
--jsonOutput as JSON

squads budget

Check budget status for a squad
squads budget <squad>
OptionDescription
--jsonOutput as JSON

squads usage

Show local cost/token usage (today, rolling window, by squad)
squads usage
OptionDescription
-w, --window <hours>Rolling-window size in hours (default: 5)
--jsonOutput as JSON

squads health

Quick health check for all infrastructure services
squads health
OptionDescription
-v, --verboseShow optional services

squads doctor

Check local tools, auth, and project readiness
squads doctor
OptionDescription
-v, --verboseShow install hints and optional tools

squads history

Show recent agent execution history
squads history
OptionDescription
-d, --days <days>Days to look back (default: 7)
-s, --squad <squad>Filter by squad
-v, --verboseShow cost and token details
-j, --jsonOutput as JSON

squads results

Show squad results: git activity + KPI goals vs actuals
squads results [squad]
OptionDescription
-d, --days <days>Days to look back (default: 7)
-v, --verboseShow detailed KPIs per goal

squads goal

Manage squad goals
squads goal

squads goal set

Set a goal for a squad
squads goal set <squad> <description>
OptionDescription
-m, --metric <metrics...>Metrics to track

squads goal list

List goals for squad(s)
squads goal list [squad]
OptionDescription
-a, --allShow completed goals too
-j, --jsonOutput as JSON

squads goal complete

Mark a goal as completed
squads goal complete <squad> <index>

squads goal progress

Update goal progress
squads goal progress <squad> <index> <progress>

squads kpi

Track and analyze squad KPIs (defined in SQUAD.md frontmatter)
squads kpi

squads kpi list

List all KPIs across squads
squads kpi list
OptionDescription
-j, --jsonOutput as JSON

squads kpi show

Show KPI status for a squad
squads kpi show <squad>
OptionDescription
-j, --jsonOutput as JSON

squads kpi record

Record a KPI value
squads kpi record <squad> <kpi> <value>
OptionDescription
-n, --note <note>Add a note to the record
-j, --jsonOutput as JSON

squads kpi trend

Show KPI trend over time
squads kpi trend <squad> <kpi>
OptionDescription
-p, --periods <n>Number of periods to show (default: 7)
-j, --jsonOutput as JSON

squads kpi insights

Generate insights from KPI data
squads kpi insights [squad]
OptionDescription
-j, --jsonOutput as JSON

squads progress

Track active and completed agent tasks
squads progress
OptionDescription
-v, --verboseShow more activity

squads progress start

Register a new active task
squads progress start <squad> <description>

squads progress complete

Mark a task as completed
squads progress complete <taskId>
OptionDescription
-f, --failedMark as failed instead

squads feedback

Record and view execution feedback
squads feedback

squads feedback add

Add feedback for last execution (rating 1-5)
squads feedback add <squad> <rating> <feedback>
OptionDescription
-l, --learning <learnings...>Learnings to extract

squads feedback show

Show feedback history
squads feedback show <squad>
OptionDescription
-n, --limit <n>Number of entries to show (default: 5)

squads feedback stats

Show feedback summary across all squads
squads feedback stats

squads autonomy

Show autonomy score and confidence metrics
squads autonomy
OptionDescription
-s, --squad <squad>Filter by squad
-p, --period <period>Time period: today, week, month (default: today)
-j, --jsonOutput as JSON

squads autopilot

[deprecated] Use “squads run” instead — autopilot mode when no target given
squads autopilot
Aliases: squads daemon
OptionDescription
-i, --interval <minutes>Minutes between cycles (default: 30)
-p, --parallel <count>Max parallel agent runs (default: 2)
-b, --budget <dollars>Max daily spend in dollars (0 = unlimited/subscription) (default: 0)
--onceRun one cycle and exit
--dry-runShow what would run without dispatching
-v, --verboseShow detailed scoring

squads stats

Show agent outcome scorecards: merge rate, waste, cost per outcome
squads stats [squad]
OptionDescription
-p, --period <period>Time period: 7d or 30d (default: 7d)
-j, --jsonOutput as JSON

squads memory

Query and manage squad memory
squads memory

squads memory query

Search across all squad memory
squads memory query <query>
OptionDescription
-s, --squad <squad>Limit search to specific squad
-a, --agent <agent>Limit search to specific agent

squads memory read

Show memory for a squad
squads memory read <squad>

squads memory write

Add to squad memory
squads memory write <squad> <content>
OptionDescription
-a, --agent <agent>Specific agent (default: squad-lead)
-t, --type <type>Memory type: state, learnings, feedback (default: learnings)

squads memory list

List all memory entries
squads memory list

squads memory sync

Sync memory from git: pull remote changes, process commits, optionally push to Postgres
squads memory sync
OptionDescription
-v, --verboseShow detailed commit info
-p, --pushPush local memory changes to remote after sync
--no-pullSkip pulling from remote
--postgresSync cycle data (goals, feedback, KPIs, learnings) to Postgres
--dimensionsSync squad/agent definitions to Postgres dim tables
--learningsSync learnings.md files to Postgres
--auto-learnAuto-generate learnings from session commits
Search stored conversations (requires authentication: squads login)
squads memory search <query>
OptionDescription
-l, --limit <limit>Number of results (default: 10)
-r, --role <role>Filter by role: user, assistant, thinking
-i, --importance <importance>Filter by importance: low, normal, high

squads memory extract

Extract memories from recent conversations into Engram
squads memory extract
OptionDescription
-s, --session <session>Extract specific session only
-h, --hours <hours>Look back period in hours (default: 24)
-d, --dry-runPreview without sending to Engram

squads learn

Capture a learning for future sessions
squads learn <insight>
OptionDescription
-s, --squad <squad>Squad to associate learning with
-c, --category <category>Category: success, failure, pattern, tip
-t, --tags <tags>Comma-separated tags
--context <context>Additional context

squads learnings

View and search learnings
squads learnings

squads learnings show

Show learnings for a squad
squads learnings show <squad>
OptionDescription
-n, --limit <n>Number to show (default: 10)
-c, --category <category>Filter by category
--tag <tag>Filter by tag
Search learnings across all squads
squads learnings search <query>
OptionDescription
-n, --limit <n>Max results (default: 10)

squads sync

Git memory synchronization (Postgres sync optional)
squads sync
OptionDescription
-v, --verboseShow detailed commit info
-p, --pushPush local memory changes to remote after sync
--no-pullSkip pulling from remote
--postgresSync cycle data to Postgres

squads trigger

Manage smart triggers
squads trigger

squads trigger list

List triggers
squads trigger list [squad]

squads trigger sync

Sync SQUAD.md triggers to scheduler
squads trigger sync

squads trigger fire

Manually fire a trigger
squads trigger fire <name>

squads trigger enable

Enable a trigger
squads trigger enable <name>

squads trigger disable

Disable a trigger
squads trigger disable <name>

squads trigger status

Show scheduler status
squads trigger status

squads approval

Manage approval requests for agent actions
squads approval

squads approval send

Send approval request to Slack
squads approval send <type>
OptionDescription
-t, --title <title>Approval title
-d, --description <desc>Detailed description
-s, --squad <squad>Squad name
-a, --agent <agent>Agent name
-p, --priority <n>Priority 1-10 (1=urgent) (default: 5)
-e, --expires-in <time>Expiration time (24h, 1h, 30m) (default: 24h)
-j, --json <json>Full payload as JSON (use - for stdin)

squads approval list

List approvals
squads approval list
OptionDescription
--pendingOnly show pending approvals (default: true)
-s, --squad <squad>Filter by squad
-j, --jsonOutput as JSON

squads approval check

Check approval status
squads approval check <id>
OptionDescription
-w, --waitWait for decision (polls every 5s)
-t, --timeout <minutes>Wait timeout in minutes (default: 60)

squads approval cancel

Cancel pending approval
squads approval cancel <id>

squads autonomous

Local scheduling daemon for autonomous agent execution
squads autonomous
Aliases: squads auto

squads autonomous start

Start the scheduling daemon
squads autonomous start

squads autonomous stop

Stop the scheduling daemon
squads autonomous stop

squads autonomous status

Show daemon status, running agents, and next runs
squads autonomous status

squads autonomous pause

Pause the daemon (e.g. quota exhausted)
squads autonomous pause [reason]

squads autonomous resume

Resume a paused daemon
squads autonomous resume

squads sessions

Show active Claude Code sessions across squads
squads sessions
OptionDescription
-v, --verboseShow session details
-j, --jsonOutput as JSON

squads sessions history

Show session history and statistics
squads sessions history
OptionDescription
-d, --days <days>Days of history to show (default: 7)
-s, --squad <squad>Filter by squad
-j, --jsonOutput as JSON

squads sessions summary

Show pretty session summary (auto-detects current session or pass JSON)
squads sessions summary
OptionDescription
-d, --data <json>JSON data for summary (overrides auto-detection)
-f, --file <path>Path to JSON file with summary data
-j, --jsonOutput as JSON instead of pretty format

squads session

Manage current session lifecycle
squads session

squads session start

Register a new session
squads session start
OptionDescription
-s, --squad <squad>Override squad detection
-q, --quietSuppress output

squads session stop

End current session
squads session stop
OptionDescription
-q, --quietSuppress output

squads session heartbeat

Update session heartbeat
squads session heartbeat
OptionDescription
-q, --quietSuppress output

squads detect-squad

Detect current squad based on cwd (for use in hooks)
squads detect-squad

squads login

Log in to Squads (Pro & Enterprise)
squads login

squads logout

Log out from Squads
squads logout

squads whoami

Show current logged in user
squads whoami

squads eval

Evaluate agent readiness for deployment (e.g., squads eval company/coo)
squads eval <target>
OptionDescription
-j, --jsonOutput as JSON
-v, --verboseShow detailed scoring info

squads deploy

Deploy agents to the Squads platform
squads deploy
OptionDescription
-n, --dry-runShow what would be deployed without pushing
-s, --squad <squad>Deploy only a specific squad
-v, --verboseShow detailed agent and trigger info

squads deploy status

Show current platform deployment status
squads deploy status

squads deploy pull

Pull execution data and learnings from platform
squads deploy pull
OptionDescription
-v, --verboseShow detailed execution info

squads cognition

Business cognition engine — beliefs, decisions, reflections
squads cognition

squads cognition brief

Executive summary: hot beliefs + recent signals + pending decisions
squads cognition brief

squads cognition beliefs

Display world model beliefs
squads cognition beliefs
OptionDescription
-d, --domain <domain>Filter by domain (revenue/product/operations/market/team)
-j, --jsonOutput as JSON

squads cognition decisions

Decision journal with outcome scores
squads cognition decisions
OptionDescription
-e, --evaluatedOnly show evaluated decisions
-j, --jsonOutput as JSON

squads cognition reflect

Trigger meta-cognition reflection
squads cognition reflect
OptionDescription
-s, --scope <scope>Reflection scope (business, squad:X, agent:X) (default: business)

squads contract

Agent Contracts — the governed definition of what each agent may do
squads contract

squads contract validate

Derive + validate every agent contract; non-zero exit on any violation
squads contract validate
OptionDescription
--squad <name>validate a single squad
--jsonmachine-readable output

squads catalog

Service catalog — browse, inspect, and validate services
squads catalog

squads catalog list

List all services in the catalog
squads catalog list
OptionDescription
--type <type>Filter by type (product, domain)
--jsonOutput as JSON

squads catalog show

Show detailed info for a service
squads catalog show <service>
OptionDescription
--jsonOutput as JSON

squads catalog check

Run scorecard checks for a service (or all)
squads catalog check [service]
OptionDescription
--jsonOutput as JSON

squads release

Release management — pre-deploy checks and status
squads release

squads release pre-check

Validate dependencies and health before deploying a service
squads release pre-check <service>
OptionDescription
--skip-healthSkip health endpoint checks

squads obs

Observability — execution history, token costs, and trends
squads obs

squads obs history

Show execution history with tokens and cost
squads obs history
OptionDescription
-s, --squad <squad>Filter by squad
-a, --agent <agent>Filter by agent
-n, --limit <n>Number of records (default: 20)
--since <date>Since date (ISO or relative: 1d, 7d, 30d)
--jsonOutput as JSON

squads obs cost

Show token spend summary
squads obs cost
OptionDescription
-p, --period <period>Time period: today, 7d, 30d, all (default: 7d)
--jsonOutput as JSON

squads obs sync

Backfill JSONL execution data to Postgres (Tier 2)
squads obs sync
OptionDescription
--dry-runShow what would be synced without sending

squads tier

Show active infrastructure tier and available services
squads tier
OptionDescription
--jsonOutput as JSON

squads services

Manage local Docker services for your project
squads services

squads services up

Start local services (Docker required)
squads services up
OptionDescription
--file <path>Path to docker-compose.yml

squads services down

Stop local services
squads services down
OptionDescription
--file <path>Path to docker-compose.yml

squads services status

Show running Docker containers and health
squads services status
OptionDescription
--file <path>Path to docker-compose.yml

squads goals

Dashboard of all squad goals — status at a glance
squads goals
OptionDescription
-s, --squad <squad>Show goals for a specific squad
--jsonOutput as JSON

squads credentials

Manage per-squad GCP service accounts and credentials
squads credentials

squads credentials create

Create a service account and key for a squad
squads credentials create <squad>
OptionDescription
--forceRecreate even if credential exists

squads credentials create-all

Create credentials for all squads with GCP config in SQUAD.md
squads credentials create-all
OptionDescription
--forceRecreate even if credentials exist

squads credentials rotate

Rotate a squad credential (create new key, delete old)
squads credentials rotate <squad>

squads credentials list

List all squad credentials and their status
squads credentials list

squads credentials revoke

Delete a squad service account and all keys
squads credentials revoke <squad>

squads review

Post-cycle evaluation — goals, costs, blockers, founder actions
squads review
OptionDescription
-s, --squad <squad>Detail view for a specific squad
--since <period>Look back period (e.g. 24h, 7d, 30d) (default: 7d)
--jsonOutput as JSON

squads brief

Read recent sessions, extract founder intentions, create GitHub issues
squads brief
OptionDescription
-n, --sessions <n>Number of recent sessions to read (default: 5)
--dry-runShow proposed issues without creating them
--cooWrite founder-focus.md for COO context

squads providers

Show available LLM CLI providers (claude, gemini, codex, etc.)
squads providers
OptionDescription
-j, --jsonOutput as JSON

squads update

Check for and install updates
squads update
OptionDescription
-y, --yesAuto-confirm update without prompting
-c, --checkCheck for updates without installing

squads version

Show version information
squads version

squads commands

List the live command tree (machine-readable with —json)
squads commands
OptionDescription
--jsonOutput as JSON
--allInclude hidden/removed commands