Docs/Server/Check rules

`holaclaw check` rules

Every rule holaclaw check reports, what it checks, how severe it is and how to fix it.

9 min read Updated November 17, 2026
  • Server
  • Reference
  • Configuration

holaclaw check validates the config directory, the secrets and the environment the daemon will run in, and reports each problem as a finding with a rule id. Rule ids are stable: an id never changes meaning and a retired one is never reused.

Terminal
holaclaw check
holaclaw check --offline
holaclaw check --only SEC,NET001

Reading the output

Each finding reads <rule> <severity>: <file>: <key>: <message> (fix: <hint>). The (fix: …) part is left out when there is no hint.

Severity Meaning
error The daemon cannot run safely, or at all, with this.
warning It runs, but probably not the way you want.
info A choice worth keeping visible. It never changes the exit code.

check exits with 2 when there is any error, 1 when the worst finding is a warning, and 0 otherwise.

  • --offline skips every rule that needs the network, such as asking a model endpoint for its context window (MOD002) or the browser sidecar's socket (BRW004).
  • --only and --skip take a comma-separated list of rule ids or prefixes: SEC selects every SEC rule.
  • --json prints the findings as JSON.

Config files (CFG)

These come from loading the config files. A CFG error stops the daemon from starting, and stops every command that reads the config to find the daemon. check itself still runs and lists them.

Rule Checks
CFG001 An unknown key. The hint suggests the closest valid key.
CFG002 A key in the wrong file. The message names the right one.
CFG003 A value of the wrong type.
CFG004 A value outside the allowed set.
CFG005 A required key is missing.
CFG006 A reference to something that does not exist: a model's provider, a role's model, a channel's agent, or an agent's connector.
CFG007 version is missing, not an integer, or not the current version. Run holaclaw config migrate.
CFG008 The files of one directory carry different versions.
CFG009 A literal secret where only an env:VAR reference is allowed. Store it with holaclaw auth set.
CFG010 An unknown tool name, in tools or [policy.tools]. A connector id in tools gets a hint to move it to connectors.
CFG011 A malformed value: TOML that does not parse, a bad duration, a count that is not positive, a bad connector id or one that is a built-in tool name, or a connector granted twice.
CFG012 A file in the config directory is missing or unreadable. Often the command ran as a user who cannot read it.

Secrets (SEC)

Rule Severity Checks Fix
SEC001 error auth.toml is readable by group or others, or is not a regular file. chmod 600 <path>
SEC002 error A provider with auth = "api-key" has no key, neither an env:VAR that is set nor an entry in auth.toml. holaclaw auth set providers.<name> api_key
SEC003 error A channel has no credential: bot_token for Telegram, bot_token and app_token for Slack, service_account for Google Chat. holaclaw auth set channels.<name> <key>
SEC004 warning auth.toml has an entry for a provider, channel or connector no longer in the config. holaclaw auth rm <providers, channels or connectors>.<name>
SEC005 error The config directory, or a file in it, is world-writable. chmod o-w <path>
SEC006 warning A WhatsApp channel is not linked: its session database is missing or holds no device. holaclaw login whatsapp --name <name> --phone <number>
SEC007 warning A provider without auth = "api-key" has a key, which is never sent. Set auth = "api-key", or holaclaw auth rm providers.<name> api_key

Network (NET)

Rule Severity Checks Fix
NET001 error server.listen is off loopback, with no tls_cert and tls_key, and allow_insecure_transport is not set. Set both, listen on loopback, or set allow_insecure_transport = true behind a TLS proxy.
NET002 error tls_cert or tls_key is set, but the file is missing or unreadable. Point it at a readable file.
NET003 error A provider with a key is reached over plain http on a host that is not loopback. Use https, or a loopback address.

Access and policy (ACC, POL)

Rule Severity Checks Fix
ACC001 error A channel has dm = "open" or rooms = "open" while its agent's guest policy allows exec, write or external. Deny all three in [policy.guest], or close access.
ACC002 warning reply = "always" with rooms = "open". Set reply = "mention".
ACC003 warning A Google Chat channel has reply = "always". Chat delivers only @-mentions in spaces, so it never fires in a room. Set reply = "mention".
POL001 warning An agent's policy has exec = "allow". Use "ask" with exec_allow.
POL002 info An agent lists the exec tool while its policy denies exec. Remove "exec" from tools.

Models and prompt budget (MOD, BUD)

Rule Severity Checks Fix
MOD001 warning A model's context is under 4096. Raise it, or use a bigger model.
MOD002 error or info The configured context is larger than what the endpoint (Ollama, llama.cpp) actually allocated. Needs the network. Start the endpoint with a larger window, or lower context.
BUD001 warning or error An agent's fixed prompt (system prompt and tool schemas) is over 1500 tokens, or over a quarter of the chat model's window. Connectors are not counted here. Drop tools, or shorten the prompt.
BUD002 warning An agent's connector tools take more than a quarter of the chat model's window. Grant fewer connectors, or use a model with a larger window.

Data (DAT)

Rule Severity Checks Fix
DAT001 error The data directory cannot be created or is not writable. Make it writable, or set server.data_dir.
DAT002 warning The database file is readable by group or others. chmod 600 <path>/holaclaw.db

Browser (BRW)

Rule Severity Checks Fix
BRW001 error [browser] is configured but there is no usable browser: browser.binary is missing or not executable, nothing is on PATH, or the version is too old. Install Chromium, or set browser.binary.
BRW002 error browser.headless = false (the default) and Xvfb is not on PATH. Install Xvfb, or set browser.headless = true.
BRW003 error Chromium's sandbox cannot start, because unprivileged user namespaces are off or restricted by AppArmor. Run the sysctl in the finding, or add an AppArmor profile. In a container, add --security-opt seccomp=unconfined.
BRW004 warning Nothing listens on browser.socket. Skipped with --offline. Start the browser sidecar.
BRW005 warning An agent can use browser.do with no browser.allow, so it may open any site. Set browser.allow in agent.toml, or accept it.
BRW006 warning An agent can use browser.do with no decide model, so the chat model decides every step. Set models.decide to a decision model in agent.toml.

See The browser.

Connectors (CON)

Rule Severity Checks Fix
CON001 error An auth = "oauth" connector has no sign-in in auth.toml. holaclaw connectors reconnect <id>
CON002 warning A connector is expired (its sign-in can no longer be refreshed) or degraded (checks keep failing; the message carries the reason). holaclaw connectors reconnect <id>. For degraded, look at holaclaw connectors show <id> first.
CON003 error A connector URL is plain http on a host that is not loopback, without allow_insecure_transport. Use https, or a loopback address, then reconnect.
CON004 info A connector is trusted: its results never raise the taint. Confirm it, or set trusted = false.

See Connect an MCP server.

Skills (SKL)

A skill that fails one of these is hidden from the agent. See Skills.

Rule Severity Checks Fix
SKL001 warning A skill requires a tool the agent does not list. Add the tool to tools, or the skill to skills.disabled.
SKL002 warning A skill requires a binary. Binaries are not supported yet. Remove the skill, or add it to skills.disabled.
SKL006 warning An installed skill's files no longer match what was installed, or its origin record cannot be read. Remove the folder and install the skill again.

SKL003, SKL004, SKL005 and SKL007 are reserved for features that are not built yet.

Skill folders that do not parse

Each of these is a warning, and names the SKILL.md to fix.

Rule Checks
SKL101 SKILL.md has no frontmatter, or it is not closed by ---.
SKL102 A YAML syntax error, including duplicate keys.
SKL103 An unknown frontmatter key, at the top level or inside metadata.holaclaw.
SKL104 A required key is missing: name, description, metadata.holaclaw.version, or a key of metadata.holaclaw.learned.
SKL105 A value of the wrong type, or a bad value.
SKL106 name is not 1 to 64 of a-z, 0-9 and -, or differs from the folder name.
SKL107 description is empty, more than one line, or over 1024 characters.
SKL108 The body is over 8000 characters.
SKL109 metadata.holaclaw.learned on a bundled skill.
SKL110 SKILL.md cannot be read.
SKL111 A learned skill has fewer than 2 or more than 24 steps.
SKL112 A step or pitfall is empty, more than one line, or over 300 characters.
SKL113 More than 6 pitfalls.
SKL114 A title is empty, more than one line, or over 128 characters.
SKL115 A reference name is not a relative path to a file under references/.
SKL116 A reference is over 16 KiB.

Was this page helpful?

Can’t find what you need?

Ask the community on Discord.