[OpenClaw] OpenClaw + Claude
- docker exec -it <CONTAINER_ID> sh
- openclaw onboard
- ◆ I understand this is personal-by-default and shared/multi-user use requires lock-down. Continue?
│ ● Yes / ○ No (我知道這是個人單機模式) - ◇ Setup mode
│ QuickStart - ◆ Config handling
│ ● Use existing values
│ ○ Update values
│ ○ Reset - ◆ Model/auth provider
│ ● Anthropic (Claude CLI + API key) - ◆ Anthropic auth method
│ ○ Anthropic Claude CLI
│ ● Anthropic API key (自 https://platform.claude.com/settings/keys 取得)
│ ○ Anthropic setup-token
│ ○ Back - ◆ Default model
│ ● Keep current (anthropic/claude-opus-4-7) - ◆ Search provider
│ ● DuckDuckGo Search (experimental) (Free web search fallback with no API key required · key-free) - ◆ Configure skills now? (recommended)
│ Yes - ◆ Install missing skill dependencies (按空白鍵選擇、Enter 鍵送出)
│ ◼ Skip for now (Continue without installing dependencies) - 沒用到就全部選 ● No
- ◆ Set GOOGLE_PLACES_API_KEY for goplaces?
- ◆ Set NOTION_API_KEY for notion?
- ◆ Set OPENAI_API_KEY for openai-whisper-api?
- ◆ Set ELEVENLABS_API_KEY for sag?
- ◆ Enable hooks?
│ ◼ Skip for now - ◆ How do you want to hatch your bot?
│ ● Hatch in Terminal (recommended)
- ◆ I understand this is personal-by-default and shared/multi-user use requires lock-down. Continue?
- exit
- openclaw onboard
- docker restart openclaw-openclaw-gateway-1
- 備份
openclaw.json- 查看現有備份檔:
ls ~/.openclaw/openclaw.json* - 備份:
cp~/.openclaw/openclaw.json ~/.openclaw/openclaw.json.bak.X
- 查看現有備份檔:
nano ~/.openclaw/openclaw.json"models": { "mode": "merge", "providers": { ..., "anthropic": { "api": "anthropic", "models": [ { "id": "claude-opus-4-7", "name": "Claude Opus 4.7", "reasoning": true, "input": ["text", "image"], "cost": { "input": 5, "output": 25, "cacheRead": 0.5, "cacheWrite": 1.25 }, "contextWindow": 1000000, "maxTokens": 128000, "compat": { "supportsTools": true, "supportsUsageInStreaming": true } } ] } } }- docker restart openclaw-openclaw-gateway-1
Last Updated on 2026/05/20 by A1go