config command provides both a setup wizard (when run without subcommands) and direct get/set/unset operations for configuration values.
config (wizard)
Run the interactive setup wizard for credentials, channels, gateway, and agent defaults. This is an alias for theconfigure command.
Configure wizard sections (repeatable). Use with no subcommand.
config get
Get a config value by dot path.Config path (dot or bracket notation)
Output JSON
Examples
config set
Set a config value by dot path.Config path (dot or bracket notation)
Value (JSON5 or raw string)
Strict JSON5 parsing (error instead of raw string fallback)
Legacy alias for
--strict-jsonExamples
Path Notation
The config path supports both dot notation and bracket notation:- Dot notation:
gateway.mode,agents.main.workspace - Bracket notation:
gateway["mode"],agents["main"]["workspace"] - Array indices:
channels.allowlist[0],providers[1].apiKey - Escaped dots: Use backslash to escape dots in keys:
some\\.key.value
Value Parsing
By default, the command attempts to parse values as JSON5. If parsing fails, it falls back to treating the value as a raw string.- Numbers:
123,45.67 - Booleans:
true,false - Strings:
"hello"orhello(fallback) - Objects:
{"key": "value"} - Arrays:
[1, 2, 3] - Null:
null
--strict-json to enforce JSON5 parsing and error on invalid JSON.
config unset
Remove a config value by dot path.Config path (dot or bracket notation)
Examples
Notes
- All
config setandconfig unsetoperations require a gateway restart to take effect. - The config file is located at
~/.simpleclaw/config.yamlby default. - Invalid config paths will result in an error.
- Use
simpleclaw doctorif the config becomes invalid or corrupted.