Skip to main content

Synopsis

profclaw config <subcommand> [flags]

Description

config manages two layers of configuration:
  • CLI config - stored locally in ~/.profclaw/config.json. Controls how the CLI connects to the server (API URL and token, default agent, output format).
  • Server settings - stored in config/settings.yml and the database. Controls runtime behavior of the running server (use --server flag).

Subcommands

SubcommandDescription
get [key]Print one or all configuration values
set <key> <value>Set a configuration value
resetReset configuration to defaults
pathPrint the path to the CLI config file
loginConfigure API authentication (URL and token)

config get

key
string
Optional key to retrieve. Omit to print all values. For server settings, use dotted format: system.telemetry.
--json
boolean
Output as JSON.
--server
boolean
Fetch server-side settings from the running API instead of the local CLI config.

config set

key
string
required
Configuration key to set. CLI keys: apiUrl, apiToken, defaultAgent, outputFormat. Server keys use category.key format (e.g., system.telemetry).
value
string
required
Value to set. For server settings, JSON values are parsed automatically (true, false, numbers, objects).
--server
boolean
Apply change to server-side settings via API.

config login

-t, --token
string
API bearer token. Saved to the CLI config file and used for all subsequent API calls.
-u, --url
string
API base URL (e.g., https://my-server.example.com).

CLI Config Keys

KeyDefaultDescription
apiUrlhttp://localhost:3000Base URL of the profClaw API
apiToken-Bearer token for authentication
defaultAgent-Default agent type for task creation
outputFormattableOutput format (table or json)

Examples

profclaw config get