Docs navigation
Docs / CLI Reference

CLI Reference

The opensquilla CLI is the fastest way to configure, run, inspect, and automate OpenSquilla.

Run:

opensquilla --help
opensquilla <command> --help

Main Commands

CommandPurpose
opensquilla initInitialize a workspace.
opensquilla doctorDiagnose readiness and print recovery steps.
opensquilla onboardRun or inspect first-run setup.
opensquilla configureReconfigure provider, router, channels, search, image generation, or memory embedding.
opensquilla gatewayRun and manage the gateway server.
opensquilla chatStart interactive terminal chat.
opensquilla agentRun a single automation-friendly agent turn.
opensquilla sessionsList, inspect, resume, abort, delete, or export sessions.
opensquilla skillsList, search, view, install, update, publish, and inspect skills.
opensquilla memoryInspect and maintain memory.
opensquilla channelsConfigure and inspect messaging channels.
opensquilla providersConfigure and inspect LLM providers.
opensquilla searchConfigure and use web search.
opensquilla sandboxInspect or change default sandbox posture.
opensquilla cronManage scheduled OpenSquilla runs.
opensquilla costInspect usage and estimated cost.
opensquilla diagnosticsEnable or disable runtime diagnostics logging.
opensquilla replayReplay a recorded turn from the decision log.
opensquilla migrateImport state from external agent runtimes.
opensquilla modelsInspect available models.
opensquilla agentsManage durable agents.
opensquilla mcp-serverRun the OpenSquilla MCP server bridge.
opensquilla distEmit a reproducible workspace-state inventory.
opensquilla resetReset a session and flush memory synchronously.

Run Surfaces

Web UI and gateway:

opensquilla gateway run
opensquilla gateway start --json
opensquilla gateway status
opensquilla gateway restart
opensquilla gateway stop

Terminal chat:

opensquilla chat
opensquilla chat --model gpt-5.4-mini
opensquilla chat --session <session-key>
opensquilla chat --standalone --workspace /path/to/project

One-shot automation:

opensquilla agent -m "Review the current directory"
opensquilla agent --json -m "Return a short machine-readable summary"
opensquilla agent --workspace /path/to/project --workspace-strict -m "Inspect this repo"
opensquilla agent --timeout 600 --max-iterations 30 -m "Run a bounded investigation"

Useful automation flags:

FlagPurpose
--workspaceSet the workspace root.
--workspace-strictRestrict read-side file tools to the workspace.
--workspace-lockdownContain writes to workspace or scratch directory.
--scratch-dirPlace temporary scripts/logs/candidate patches in a known directory.
--timeoutSet total agent wall-clock timeout.
--max-iterationsBound the model/tool loop.
--max-provider-retriesBound transient provider retries.
--length-capped-continuationsBound automatic continuations after length-limited provider output.
--thinkingOverride reasoning level.
--permissionsSelect restricted, bypass, or full permission posture.
--transcript-pathWrite a JSONL transcript for automation.
--usage-pathWrite usage JSON.
--session-db-pathPersist session replay across invocations.

Configuration Commands

Provider and router:

opensquilla onboard
opensquilla onboard status
opensquilla configure provider --provider openrouter --api-key-env OPENROUTER_API_KEY
opensquilla configure router --router recommended
opensquilla providers list
opensquilla providers configure openrouter
opensquilla providers status

Search:

opensquilla search list
opensquilla search configure duckduckgo
opensquilla search query "latest OpenSquilla release"
opensquilla configure search --search-provider duckduckgo

Channels:

opensquilla channels types
opensquilla channels describe telegram
opensquilla channels add telegram --name personal
opensquilla channels list
opensquilla channels status
opensquilla channels enable personal
opensquilla channels disable personal
opensquilla channels restart personal
opensquilla channels remove personal

Raw config:

opensquilla config get llm.provider
opensquilla config set gateway.port 18791

More detail:

Skills and Meta-Skills

opensquilla skills list
opensquilla skills search pdf
opensquilla skills view pdf-toolkit
opensquilla skills install <skill-name>
opensquilla skills update --all
opensquilla skills uninstall <skill-name>
opensquilla skills inspect meta-skill-creator
opensquilla skills meta proposals list
opensquilla skills meta runs list
opensquilla skills meta runs show <run-id>
opensquilla skills meta runs steps <run-id>
opensquilla skills meta runs replay <run-id> --dry-run

Use skills inspect when you want to see the compiled step plan for a meta-skill before invoking it.

Read:

Sessions and History

opensquilla sessions list
opensquilla sessions show <session-key>
opensquilla sessions resume <session-key>
opensquilla sessions abort <session-key>
opensquilla sessions export <session-key>
opensquilla sessions delete <session-key>

Read: sessions.md

Memory

opensquilla memory status
opensquilla memory index
opensquilla memory list
opensquilla memory search "preference"
opensquilla memory show <path>
opensquilla memory dream
opensquilla memory flush-session <session-key>
opensquilla memory repair list
opensquilla memory raw-fallbacks list

Read: features/memory.md

Durable Agents and Scheduling

opensquilla agents list
opensquilla agents add research --name Research --workspace /path/to/research
opensquilla agents delete research
opensquilla cron list
opensquilla cron add --every 1h --text "Summarize important updates" --name hourly-summary
opensquilla cron status <job-id>
opensquilla cron runs <job-id>

Read:

Cost, Diagnostics, and Replay

opensquilla cost
opensquilla diagnostics status
opensquilla diagnostics on
opensquilla diagnostics off
opensquilla replay --session <session-key> --turn <turn-id>

Use diagnostics and replay when you need to understand why a turn behaved a certain way.

Read:

MCP Server Bridge

opensquilla mcp-server run
opensquilla mcp-server run --gateway ws://localhost:18792/ws

Read: mcp-server.md


Docs index · Product guide · Improve this page · Report a docs issue

Edit this page on GitHub OpenSquilla docs · synced from dev