Skip to content

Instantly share code, notes, and snippets.

@jongan69
Created March 23, 2026 12:59
Show Gist options
  • Select an option

  • Save jongan69/03d60424da3391c0a9c209eedfcaf0cf to your computer and use it in GitHub Desktop.

Select an option

Save jongan69/03d60424da3391c0a9c209eedfcaf0cf to your computer and use it in GitHub Desktop.
For when I have a good setup
{
"update": {
"channel": "stable",
"auto": {
"enabled": true
}
},
"secrets": {
"providers": {
"env_file": {
"source": "exec",
"command": "cat",
"args": [
"/root/.openclaw-secrets/anthropic-key"
],
"timeoutMs": 5000,
"jsonOnly": false,
"allowInsecurePath": true
}
}
},
"auth": {
"profiles": {
"anthropic:default": {
"provider": "anthropic",
"mode": "api_key"
},
"ollama:default": {
"provider": "ollama",
"mode": "api_key"
}
},
"cooldowns": {
"billingBackoffHoursByProvider": {
"anthropic": 0.1
}
}
},
"models": {
"mode": "merge",
"providers": {
"ollama": {
"baseUrl": "http://127.0.0.1:11434/v1",
"apiKey": "ollama",
"api": "openai-responses",
"models": [
{
"id": "qwen2.5-coder:32b",
"name": "Qwen 2.5 Coder 32B",
"contextWindow": 32768
}
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "ollama/qwen2.5-coder:32b",
"fallbacks": [
"anthropic/claude-sonnet-4-6",
"anthropic/claude-opus-4-6"
]
},
"models": {
"ollama/qwen2.5-coder:32b": {
"alias": "Coder"
},
"anthropic/claude-sonnet-4-6": {
"alias": "Sonnet",
"params": {
"cacheRetention": "long"
}
},
"anthropic/claude-opus-4-6": {
"alias": "Opus",
"params": {
"cacheRetention": "long"
}
}
},
"workspace": "~/.openclaw/workspace",
"memorySearch": {
"enabled": false
},
"compaction": {
"mode": "safeguard",
"model": "ollama/qwen2.5-coder:32b",
"memoryFlush": {
"enabled": false
}
},
"timeoutSeconds": 300,
"mediaMaxMb": 10,
"imageMaxDimensionPx": 1600,
"heartbeat": {
"every": "24h"
},
"maxConcurrent": 3,
"subagents": {
"maxConcurrent": 3,
"maxSpawnDepth": 2
}
}
},
"tools": {
"profile": "coding",
"media": {
"image": {
"enabled": true,
"scope": {
"default": "allow"
},
"maxBytes": 5242880,
"timeoutSeconds": 30,
"attachments": {
"mode": "all",
"maxAttachments": 10
}
},
"audio": {
"enabled": true,
"scope": {
"default": "allow"
},
"maxBytes": 20971520,
"models": [
{
"provider": "openai",
"model": "whisper-1"
}
]
}
},
"exec": {
"security": "allowlist",
"ask": "on-miss",
"timeoutSec": 300
}
},
"messages": {
"ackReactionScope": "group-mentions"
},
"commands": {
"native": "auto",
"nativeSkills": "auto",
"restart": true,
"ownerDisplay": "raw"
},
"session": {
"dmScope": "per-channel-peer"
},
"hooks": {
"internal": {
"enabled": true,
"entries": {
"session-memory": {
"enabled": false
},
"bootstrap-extra-files": {
"enabled": false
},
"boot-md": {
"enabled": false
},
"command-logger": {
"enabled": true
},
"auto-install": {
"enabled": false
}
}
}
},
"channels": {
"telegram": {
"enabled": true,
"dmPolicy": "pairing",
"botToken": "",
"groups": {
"*": {
"requireMention": true
}
},
"groupPolicy": "open",
"streaming": "partial"
}
},
"gateway": {
"port": 18789,
"mode": "local",
"bind": "lan",
"auth": {
"mode": "token",
"token": "",
"rateLimit": {
"maxAttempts": 10,
"windowMs": 60000,
"lockoutMs": 300000
}
},
"tailscale": {
"mode": "off",
"resetOnExit": false
},
"nodes": {
"denyCommands": [
"camera.snap",
"camera.clip",
"screen.record",
"calendar.add",
"contacts.add",
"reminders.add"
]
}
},
"skills": {
"install": {
"nodeManager": "bun"
}
},
"plugins": {
"entries": {
"telegram": {
"enabled": true
},
"diffs": {
"enabled": false
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment