Docs/Server/CLI reference

CLI reference

Every holaclaw command and its flags, grouped by what it does, from starting the daemon to managing connectors, skills, people, tokens and backups.

13 min read Updated November 17, 2026
  • Server
  • Reference
  • CLI

HolaClaw Server is one binary, holaclaw, that runs the daemon and every command you use to manage it. This page lists every command and its flags. holaclaw help <command> prints the same for one command.

Commands are written as holaclaw …. Run them the way your deployment does, for example docker exec -it holaclaw holaclaw chat in the container.

Conventions

  • Flags. Long flags take two dashes (--config); the single-dash spelling is not accepted. One-letter shorthands take one: -m, -q, -h, and -v, which counts (-vv is two).
  • Order. Flags may come before or after the arguments, except in auth set, memory add and memory search, where everything after the first argument is taken as typed, so a value may start with a dash. -- ends the flags anywhere.
  • Exit codes. -h, --help and holaclaw help <command> print help and exit 0. A wrong invocation, such as an unknown flag or a missing argument, exits 2. Any other failure exits 1. holaclaw check has its own exit codes.
  • Config directory. --config <dir> on any command, else HOLACLAW_CONFIG, else /etc/holaclaw. As a user other than root, on a machine with no /etc/holaclaw, the default is $XDG_CONFIG_HOME/holaclaw (~/.config/holaclaw) and the control socket is $XDG_RUNTIME_DIR/holaclaw.sock.

Reaching the daemon

Most commands talk to the running daemon. Each of them takes these two flags, which the tables below leave out:

Flag Description
--addr <url or path> The daemon's base URL or socket path. Default HOLACLAW_ADDR, else the socket of the config directory.
--token <token> An API token, for a TCP address. Prefer HOLACLAW_TOKEN: an argument is visible to every process in ps.

On the daemon's machine you need neither: the socket makes you the owner, by its file permissions. From another machine, see authentication.

Daemon

holaclaw init

Writes a config for one provider and creates the owner.

Flag Description
--provider <name> openai, openai-codex, openrouter or openai-compat.
--model <id> The model id, instead of the provider's default.
--base-url <url> The endpoint of --provider openai-compat, such as http://localhost:11434/v1.
--token-file <path> Also create one admin token for the owner, and write it to this new file, mode 0600.
--non-interactive Never prompt, even at a terminal. Without a terminal on stdin, init never prompts.

holaclaw run

Starts the daemon. --debug logs more.

holaclaw browser

Starts the browser sidecar. See The browser.

Flag Description
--debug Verbose logging.
--state <dir> State directory. Default $STATE_DIRECTORY, else <data_dir>/browser.

holaclaw status

Shows the version, uptime, active sessions, channels, pending approvals, and every connector that is not connected. Talks to the daemon.

holaclaw version

Prints the version.

Chat

holaclaw chat

Talks to an agent in the terminal, through the running daemon. At a terminal it opens a full-screen interface; ctrl+p lists the slash commands and F1 every key.

Flag Description
--agent <name> The agent. Default main.
-m, --message <text> Send one message, print the answer and exit.
-c, --continue Resume the most recent conversation.
-r, --resume <id> Resume this conversation. Without an id, choose from the most recent.
--plain Line-by-line output instead of the full-screen interface.
-q, --quiet No progress lines while a turn runs.
--trace Print the trace id after each reply.
-v, --verbose With --plain: -v shows tool calls and results, -vv tool arguments and browser moves, -vvv full tool responses.

Inspect

holaclaw check

Runs the configuration checks. It exits 0 when clean, 1 when the worst finding is a warning, and 2 on an error. Every rule is in the check rules reference.

Flag Description
--offline Skip every rule that needs the network, such as asking the model endpoints.
--only <ids> Comma-separated rule ids or prefixes to run, such as SEC,NET001.
--skip <ids> Comma-separated rule ids or prefixes to skip.
--json Print the findings as JSON.

holaclaw prompt-size

Prints an offline token breakdown of an agent's prompt, including its tool schemas and its connectors. --agent <name> (default main).

holaclaw trace

Terminal
holaclaw trace [<trace id>]

Without an id, browses the traces. With one, shows every step of that run. --json prints the trace as JSON. Talks to the daemon.

Approvals

All three talk to the daemon and need admin access.

Command What it does
holaclaw approvals Lists the pending approvals.
holaclaw approve <id> Approves a pending tool call. --session allows the same call for the rest of the conversation; --always from now on, for you only.
holaclaw deny <id> Denies a pending tool call.

Secrets and sign-in

holaclaw auth set

Terminal
holaclaw auth set <providers|channels>.<name> <key> [value]

Stores one secret in auth.toml. With no value, it reads the secret from stdin, so it stays out of your shell history. A multi-line secret, such as a service-account key, is read whole from stdin. See Secrets.

Flag Description
--no-verify Store a channel bot token or service-account key without checking it with the platform.

holaclaw auth list

Lists the entry and key names in auth.toml, never a value.

holaclaw auth rm

Terminal
holaclaw auth rm <providers|channels|connectors>.<name> [key...]

Removes the named keys, or the whole entry.

holaclaw login codex

Signs a ChatGPT subscription provider in with a device code. --name <provider> names the provider (default codex). Talks to the daemon.

holaclaw login whatsapp

Links a WhatsApp channel with a pairing code. Talks to the daemon. Without --phone, it shows again a code still waiting for the phone.

Flag Description
--name <channel> The WhatsApp channel. Default whatsapp.
--phone <number> The number to link, in international format.

holaclaw logout whatsapp

Unlinks a WhatsApp channel from its account. --name <channel> (default whatsapp). Talks to the daemon.

Config

Command What it does
holaclaw config migrate Prints the migration of the config directory to the current version. --write applies it, after one timestamped backup.
holaclaw config schema <file> Prints the JSON Schema of config.toml, channels.toml, connectors.toml or agent.toml.
holaclaw config env Prints the keys an environment variable may set, their value and where it came from.

Connectors

All holaclaw connectors commands talk to the daemon and need admin access. See Connect an MCP server.

holaclaw connectors inspect

Terminal
holaclaw connectors inspect <url>

Asks a remote MCP server what it is, without connecting it. An open server shows its name and tools; one that needs a sign-in shows its authorization servers, scopes and the client identity HolaClaw would use. Nothing is stored.

holaclaw connectors create

Terminal
holaclaw connectors create <id> <url>

Connects a remote MCP server. A server that needs a sign-in answers with an authorization URL: open it in any browser, sign in, and pass the address the browser lands on to connectors code.

Flag Description
--auth <none or oauth> What you expect. Default: what discovery finds.
--scopes <a,b> Scopes to ask for, comma separated. Default: every scope the server offers.
--listen Receive the redirect on 127.0.0.1, ports 26500 to 26504, and wait until connected.
--client-id <id> A client id registered with the authorization server.
--client-secret-stdin Read that client's secret from stdin.
--allow-insecure-transport Reach the server over plain http on any host, or https with a certificate that does not verify.

holaclaw connectors code

Terminal
holaclaw connectors code <id> '<redirect url>'

Finishes a sign-in with the address the browser landed on.

holaclaw connectors reconnect

Terminal
holaclaw connectors reconnect <id>

Signs in to a connector again. The old sign-in serves until the new one is done. Takes --listen, --client-secret-stdin, and --scopes (default: the connector's scopes).

holaclaw connectors list

Lists the connectors and their state.

holaclaw connectors show

Terminal
holaclaw connectors show <id>

Shows one connector, its sign-in and its tools.

holaclaw connectors delete

Terminal
holaclaw connectors delete <id>

Deletes a connector, its sign-in and its cached tools. It asks first; --yes skips the question.

Skills

All holaclaw skills commands talk to the daemon. See Skills.

holaclaw skills

With no subcommand, opens a terminal browser over the agents' skills: pick the agent, then the level, then the skill.

holaclaw skills list

Terminal
holaclaw skills list [agent]

Lists an agent's skills, and whether each one is eligible.

holaclaw skills show

Terminal
holaclaw skills show <name>

Shows one skill and its versions. --agent <name> (default main).

holaclaw skills install

Terminal
holaclaw skills install <path or git url>

Installs a skill, or a collection, from a folder or a git repository.

Flag Description
--agent <name> The agent to install into. Default main.
--git-ref <ref> The tag, branch or commit of a git URL. Default: its default branch.
--git-path <path> The skill or collection folder inside the repository.
--as <name> Install under this name instead of the source's.
--all Install every skill of a collection.
--force Install although the scan found something.
--yes Do not ask. The preview is still shown.

holaclaw skills remove

Terminal
holaclaw skills remove <agent> <name>

Moves a skill to the trash, or deletes it from there for good.

holaclaw skills restore

Terminal
holaclaw skills restore <agent> <name>

Brings a skill back from the trash.

holaclaw skills revert

Terminal
holaclaw skills revert <agent> <name> --to <version>

Makes an earlier version of a skill current. --to is a version number from the skill's history/.

Memory

All holaclaw memory commands talk to the daemon and need admin access.

holaclaw memory

With no subcommand, opens a terminal browser over the agents' memories: pick the agent, then the partition, then the memory.

Terminal
holaclaw memory search <query> --partition <partition>

Searches one partition of an agent's memory.

Flag Description
--agent <name> Default main.
--partition <partition> Required. Such as dm/<user id>.
--layer <layer> note or recall.
--limit <n> Maximum hits.

holaclaw memory add

Terminal
holaclaw memory add <text> --partition <partition>

Saves a note in one partition of an agent's memory.

Flag Description
--agent <name> Default main.
--partition <partition> Required. Such as dm/<user id>.
--about <person> The person the note is about.
--visibility <value> shared or origin.

holaclaw memory forget

Terminal
holaclaw memory forget <id> --partition <partition>

Forgets one memory. Takes --agent (default main) and --partition.

People and access

All of these talk to the daemon and need admin access. See Invite people.

holaclaw identity list

Lists the identities and their bindings. --pending lists only the pending ones.

holaclaw identity show

Terminal
holaclaw identity show <id>

Shows one identity and its bindings.

holaclaw identity create

Creates a confirmed identity with no bindings.

Flag Description
--name <name> What people call this person, such as Rafa. Free text, not unique.
--role <role> user (default) or admin.
--invite <channel> The channel instance to print the first invite for.
--ttl <duration> How long that invite stays valid. Default 15m, at most 24h.

holaclaw identity confirm

Terminal
holaclaw identity confirm <id>

Turns a pending identity into a named user. Takes --name and --role (user by default, or admin).

holaclaw identity assign

Terminal
holaclaw identity assign <pending id> --to <identity id>

Moves a pending identity's bindings onto a confirmed identity: a known person writing from a new account.

holaclaw identity set

Terminal
holaclaw identity set <id>

Renames an identity (--name) or changes its role (--role user or --role admin).

holaclaw identity unbind

Terminal
holaclaw identity unbind <channel>:<alias>

Removes one binding from the identity that holds it.

holaclaw identity disable and enable

Terminal
holaclaw identity disable <id>
holaclaw identity enable <id>

disable switches an identity or a room off: its messages are dropped and its tasks stop. enable switches it back on; a room comes back pending.

holaclaw identity delete

Terminal
holaclaw identity delete <id>

Deletes an identity and forgets its memory. --keep-memory keeps the identity's own notes and recall instead.

holaclaw invite create

Creates a one-shot, expiring invite code for an identity or a room.

Flag Description
--channel <name> The one channel instance the code works on. holaclaw pairs a device.
--identity <id> The identity the redeemed account is bound to. It gets that identity's role.
--room Approve a room instead of binding a person. Telegram, Google Chat and WhatsApp only. In Google Chat, send @<app> <code> in the space.
--scope <scope> For holaclaw only: the paired device's token scope, client (default) or admin.
--ttl <duration> How long the code stays valid. Default 15m, at most 1h, or 24h for an identity with no bindings.

holaclaw token create

Terminal
holaclaw token create --identity <id> --name <name>
holaclaw token create --binding holaclaw:<alias> --name <name>

Creates an API token. The secret is shown once.

Flag Description
--identity <id> The identity the token acts as, through a new holaclaw binding.
--binding holaclaw:<alias> An existing binding to add the token to.
--name <name> The token's name, also the name of a new binding.
--scope <scope> client (default) or admin. admin needs the role owner or admin.

holaclaw token list

Lists the active API tokens.

Flag Description
--all Include revoked tokens.
--identity <id> Only the tokens of this identity.
--binding holaclaw:<alias> Only the tokens of this binding.

holaclaw token set

Terminal
holaclaw token set <id> --scope <client or admin>

Raises or lowers a token's scope. admin needs the role owner or admin.

holaclaw token rotate

Terminal
holaclaw token rotate <id>

Replaces a token with a new secret on the same binding. The old one is revoked.

holaclaw token revoke

Terminal
holaclaw token revoke <id>

Revokes an API token. Its binding stays.

Backups

See Backups and restore.

holaclaw backup

With no subcommand, archives the data and the config without a daemon, for a stopped or broken installation.

Flag Description
--out <path> Output file or directory. Default: the current directory.
--include-secrets Include auth.toml. Off by default, since a backup is meant to travel.

holaclaw backup subcommands

These talk to the daemon and need admin access.

Command What it does
holaclaw backup list Lists the backups the daemon keeps. --json prints them as JSON.
holaclaw backup create Has the daemon take a backup. --wait waits until it is ready or has failed, --include-secrets includes auth.toml, --json prints the backup as JSON.
holaclaw backup download <id> Fetches a backup's archive. --out sets the file or directory; default holaclaw-backup-<id>.tar.gz here.
holaclaw backup upload <file> Hands the daemon an archive to keep.
holaclaw backup verify <id or file> Checks an archive against its manifest.
holaclaw backup restore <id or file> Restores a backup of the daemon, or, with no daemon running, a whole installation from an archive. --yes skips the question.
holaclaw backup rm <id> Deletes a backup.

Shell completion

Terminal
holaclaw completion <bash|zsh|fish|powershell>

Prints a completion script for the shell. --no-descriptions leaves out the descriptions. For example, for the current bash session:

Terminal
source <(holaclaw completion bash)

holaclaw completion <shell> --help says how to install it for every new session.

Was this page helpful?

Can’t find what you need?

Ask the community on Discord.