Skip to content
Agentmart
Submit a tool

openclaw-config

OpenClaw gateway configuration reference.

Skill by Hashi-Ai-Dev

IndexedMIT★ 6
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/hashi-ai-dev-openclaw-config

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

OpenClaw gateway configuration reference. Use when auditing, editing, or troubleshooting openclaw.json. Covers ALL config keys: agents, channels, memory, tools, providers, session, messages, sandbox, plugins, env, model routing. Triggers on: "config", "openclaw.json", "configuration", "config reference", "config audit", "gateway config", "session config", "channel config", "runtime", "model routing", "env vars", "gateway won't start", "config error", "how to configure", "openclaw doctor", "pairing", "background process", "remote gateway", "auth", "credential", "SecretRef", "secretref", "usage tracking", "secrets plan", "credential surface", "gateway HTTP API", "telemetry", "prometheus", "opentelemetry", "multiple gateways". For gateway HTTP API, telemetry endpoints, secrets backend, sandbox policies, and gateway runtime: see also openclaw-gateway.

Use cases: backend, security, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/openclaw-config

What's inside

Skill name
openclaw-config
Description
OpenClaw gateway configuration reference. Use when auditing, editing, or troubleshooting openclaw.json. Covers ALL config keys: agents, channels, memory, tools, providers, session, messages, sandbox, plugins, env, model routing. Triggers on: "config", "openclaw.json", "configuration", "config reference", "config audit", "gateway config", "session config", "channel config", "runtime", "model routing", "env vars", "gateway won't start", "config error", "how to configure", "openclaw doctor", "pairing", "background process", "remote gateway", "auth", "credential", "SecretRef", "secretref", "usage tracking", "secrets plan", "credential surface", "gateway HTTP API", "telemetry", "prometheus", "opentelemetry", "multiple gateways". For gateway HTTP API, telemetry endpoints, secrets backend, sandbox policies, and gateway runtime: see also openclaw-gateway.
License
MIT
Instructions
99 lines in SKILL.md · view on GitHub

Files (53)

  • SKILL.md
  • auth-credential-semantics.md · references/
  • authentication.md · references/
  • background-process.md · references/
  • bonjour.md · references/
  • bridge-protocol.md · references/
  • cli-backends.md · references/
  • config-agents.md · references/
  • config-channels.md · references/
  • config-tools.md · references/
  • configuration-reference.md · references/
  • configuration.md · references/
  • diagnostics.md · references/
  • discovery.md · references/
  • doctor.md · references/
  • environment.md · references/
  • external-apps.md · references/
  • gateway-config.md · references/
  • gateway-index.md · references/
  • gateway-lock.md · references/
  • gateway-troubleshooting.md · references/
  • health.md · references/
  • heartbeat.md · references/
  • index.md · references/
  • local-model-services.md · references/
  • local-models.md · references/
  • logging.md · references/
  • model-failover.md · references/
  • multiple-gateways.md · references/
  • network-model.md · references/
  • network-proxy.md · references/
  • oauth.md · references/
  • openshell.md · references/
  • operator-scopes.md · references/
  • pairing.md · references/
  • prompt-caching.md · references/
  • protocol.md · references/
  • remote-gateway-readme.md · references/
  • remote-gateway.md · references/
  • remote.md · references/
  • retry.md · references/
  • sandboxing.md · references/
  • secretref-credential-surface.md · references/
  • secrets-plan-contract.md · references/
  • secrets.md · references/
  • security.md · references/
  • audit-checks.md · references/security/
  • index.md · references/security/
  • tailscale.md · references/
  • timezone.md · references/
  • tools-invoke-http-api.md · references/
  • trusted-proxy-auth.md · references/
  • usage-tracking.md · references/

SKILL.md (first lines)

## Routing hints

You should route to this skill when the user asks about any OpenClaw config key, the `openclaw.json` schema, `~/.openclaw/openclaw.json` location, secrets management, `SecretRef` references, authentication, auth profiles, model failover, retry policy, gateway config, or any field-by-field configuration question. References: `configuration-reference.md`, `gateway-config.md`, `secrets.md`, `authentication.md`, `config-agents.md`, `config-channels.md`, `config-tools.md`, `retry.md`, `model-failover.md`, `protocol.md`, `cli-backends.md`, `doctor.md`, `operator-scopes.md`, `secretref-credential-surface.md`, `prompt-caching.md`, `timezone.md`.


# OpenClaw Config Reference

Complete reference for `~/.openclaw/openclaw.json`.

## Quick cheatsheet

```json5
{
  agents: {
    defaults: {
      workspace: "~/.openclaw/workspace",
      model: { primary: "provider/model", fallbacks: [] },
      memorySearch: { provider: "openai" },
      subagents: { maxConcurrent: 3, runTimeoutSeconds: 300 },
      contextPruning: { mode: "cache-ttl" },
    },
    list: [{ id, model, bindings, skills, runtime: { type: "acp" } }]
  },
  memory: { backend: "builtin", citations: "auto" },
  plugins: { slots: { memory: "openclaw-honcho" }, entries: {} },
  channels: { discord: { token: "BOT", dmPolicy: "pairing" } },
  tools: { profile: "coding", elevated: { enabled: false } },
  session: { scope: "per-sender", dmScope: "main" },
  env: { vars: {} }
}
```

## Critical defaults (safety)

| Feature | Default | Risk if enabled accidentally |
|---------|---------|----------------------------|
| `tools.loopDetection` | `false` | Infinite loops run forever |
| `execApprovals` | not set | Any user can trigger exec |
| `session.maintenance.enforce` | not set | Sessions grow unbounded |

## Common fixes

**Honcho as memory (most common misconfig):**
```json5
plugins: {
  slots: { memory: "openclaw-honcho" },
  entries: { "openclaw-honcho": { enabled: true, config: { baseUrl: "http://127.0.0.1:8000" } } }
}
```
Restart required. Do NOT set `memory.backend` — the slot override handles it.

**Discord bot silent:**
- `dmPolicy: "pairing"` — approve via `openclaw pairing approve discord <CODE>`
- `allowFrom` must include your Discord user ID
- Enable Message Content Intent in Discord Developer Portal

## Config editing

**`config.patch`** (preferred — partial merge):
```javascript
gateway(action: "config.patch", raw: "{ channels: { telegram: { enabled: true } } }", baseHash: "<hash>")
```
- Objects merge recursively
- `null` deletes a key
- Arrays replace entirely

**`config.apply`** (full replacement — use sparingly)

**Hot reload:** Gateway watches `~/.openclaw/openclaw.json` and auto-reloads. Restart required for: `memory.backend`, `plugins.slots`, `agents.defaults.*`.

**Rate limit:** 3 config writes per 60 seconds per device.

## Secrets

Use SecretRefs instead of plaintext:
```json5
{ apiKeyRef: "secret:my-key" }
```
Stored under `~/.openclaw/credentials/`. Startup fails fast on unresolved refs.

## Restart triggers

| Require restart | Hot-reload only |
|----------------|-----------------|
| `memory.backend` | `tools.web.search.apiKey` |
| `plugins.slots` | `agents.defaults.memorySearch.remote` |
| `agents.defaults.*` | Channel `enabled` |
| `session.identityLinks` | Most other changes |

## References

- `references/gateway-config.md` — full config reference (all keys)
- `references/secrets.md` — SecretRef details
- `references/config-channels.md` — channel config
- `openclaw-memory/references/memory-config.md` — memory knobs
- `openclaw-concepts/references/session.md` — session system
- `openclaw-troubleshooting/references/diagnostic-flowchart.md` — triage

From Hashi-Ai-Dev/openclaw-clawdoc, MIT.

Signals

Stars
6
Forks
0
Open issues
0
Last commit (this folder)
Jul 1, 2026 (4 months ago)
Last release
Jul 6, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Hashi-Ai-Dev

Cite this page

openclaw-config skill. Agent Mart. https://agentmart.dev/skills/hashi-ai-dev-openclaw-config (last updated 2026-10-24)