OpenClaw Config Edit: Kompletter Einrichtungs- und Konfigurationsleitfaden (2026)
Meistern Sie openclaw config edit Befehle für WhatsApp, Discord, Telegram, Ollama und mehr. Schritt-für-Schritt-Anleitung zur Konfiguration von Kanälen, Modellen, Anbietern und Behebung häufiger OpenClaw-Konfigurationsfehler.
Kurzfassung
Schnellreferenz für die häufigsten OpenClaw Config-Befehle:
openclaw config edit
openclaw config set channels.whatsapp.enabled true
openclaw config set model.provider openai
openclaw config set model.name gpt-4o
openclaw config show
openclaw doctor
openclaw doctor --fix
openclaw config reset
Was ist OpenClaw?
OpenClaw ist ein Open-Source KI-Assistent-Framework, das große Sprachmodelle mit Messaging-Kanälen wie WhatsApp, Discord, Telegram und Slack verbindet. Es unterstützt mehrere Modellanbieter — OpenAI, Anthropic, Ollama (lokale Modelle), Google und mehr — und kann mit benutzerdefinierten Skills und Plugins erweitert werden.
Das Herzstück von OpenClaw ist sein Konfigurationssystem. Fast alles wird über Config-Dateien gesteuert. openclaw config edit zu beherrschen ist der Schlüssel, um OpenClaw nach Ihren Wünschen zum Laufen zu bringen.
openclaw config edit: Die Grundlagen
Den Config-Editor öffnen
openclaw config edit
Dies öffnet Ihre Konfigurationsdatei im Standard-Terminal-Editor. Die Config-Datei befindet sich typischerweise in ~/.openclaw/config.yaml oder ~/.config/openclaw/config.yaml.
Config-Dateistruktur
model:
provider: openai
name: gpt-4o
temperature: 0.7
max_tokens: 4096
channels:
whatsapp:
enabled: false
phone_number_id: ""
access_token: ""
discord:
enabled: false
bot_token: ""
telegram:
enabled: false
bot_token: ""
slack:
enabled: false
bot_token: ""
app_token: ""
skills:
- web_search
- calculator
- weather
stt:
provider: whisper
model: whisper-1
system_prompt: "You are a helpful assistant."
Einzelne Werte setzen
openclaw config set model.provider anthropic
openclaw config set model.name claude-sonnet-4-6
openclaw config set model.temperature 0.5
Be first to build with AI
Y Build is the AI-era operating system for startups. Join the waitlist and get early access.
Kanäle einrichten
WhatsApp-Integration erfordert ein Meta Business-Konto und WhatsApp Business API-Zugang.
openclaw config set channels.whatsapp.enabled true
openclaw config set channels.whatsapp.phone_number_id "YOUR_PHONE_NUMBER_ID"
openclaw config set channels.whatsapp.access_token "YOUR_ACCESS_TOKEN"
openclaw config set channels.whatsapp.verify_token "YOUR_VERIFY_TOKEN"
openclaw config set channels.whatsapp.webhook_url "https://your-domain.com/webhook/whatsapp"
Discord
openclaw config set channels.discord.enabled true
openclaw config set channels.discord.bot_token "YOUR_DISCORD_BOT_TOKEN"
Telegram
openclaw config set channels.telegram.enabled true
openclaw config set channels.telegram.bot_token "YOUR_TELEGRAM_BOT_TOKEN"
openclaw config set channels.telegram.mode polling
Für Produktion: Webhook-Modus verwenden.
Slack
openclaw config set channels.slack.enabled true
openclaw config set channels.slack.bot_token "xoxb-YOUR-BOT-TOKEN"
openclaw config set channels.slack.app_token "xapp-YOUR-APP-TOKEN"
Modellanbieter konfigurieren
OpenAI
openclaw config set model.provider openai
openclaw config set model.name gpt-4o
export OPENAI_API_KEY="sk-..."
Anthropic (Claude)
openclaw config set model.provider anthropic
openclaw config set model.name claude-sonnet-4-6
export ANTHROPIC_API_KEY="sk-ant-..."
Ollama (Lokale Modelle)
ollama pull llama3.3
openclaw config set model.provider ollama
openclaw config set model.name llama3.3
openclaw config set model.base_url "http://localhost:11434"
Google (Gemini)
openclaw config set model.provider google
openclaw config set model.name gemini-2.5-pro
export GOOGLE_API_KEY="..."
xAI (Grok)
openclaw config set model.provider openai
openclaw config set model.name grok-4.1
openclaw config set model.base_url "https://api.x.ai/v1"
export OPENAI_API_KEY="xai-..."
Häufige Config-Fehler und Lösungen
Fehler: "Unknown config key"
Prüfen Sie auf Tippfehler. Führen Sie openclaw config show aus, um alle gültigen Schlüssel zu sehen.
Fehler: "Channel auto-enabled without credentials"
openclaw config set channels.whatsapp.enabled false
openclaw config set channels.discord.enabled false
openclaw config set channels.slack.enabled false
Fehler: "Model provider not configured"
echo 'export ANTHROPIC_API_KEY="sk-ant-..."' >> ~/.zshrc
source ~/.zshrc
openclaw doctor verwenden
openclaw doctor
openclaw doctor --fix
Erweiterte Konfiguration
Benutzerdefinierte Skills
skills:
- web_search
- calculator
- custom_skill:
path: ./my-skills/custom_tool.py
config:
api_key_env: CUSTOM_API_KEY
Sprache-zu-Text (STT)
stt:
provider: whisper
model: whisper-1
language: auto
Tuya Smart Home Integration
tuya:
enabled: true
access_id: "YOUR_TUYA_ACCESS_ID"
access_key: "YOUR_TUYA_ACCESS_KEY"
endpoint: "https://openapi.tuyaus.com"
Mehrere Modellkonfigurationen
models:
default:
provider: openai
name: gpt-4o
fast:
provider: ollama
name: llama3.3
reasoning:
provider: anthropic
name: claude-opus-4-6
Häufig gestellte Fragen
Wo wird die OpenClaw Config-Datei gespeichert?
Standardmäßig in ~/.openclaw/config.yaml. Führen Sie openclaw config show --path aus.
Kann ich OpenClaw ohne Cloud-API nutzen?
Ja. Konfigurieren Sie Ollama als Modellanbieter und nutzen Sie Telegram im Polling-Modus.
Wie aktualisiere ich OpenClaw?
pip install --upgrade openclaw
Kann ich mehrere Kanäle gleichzeitig betreiben?
Ja. OpenClaw behandelt sie gleichzeitig.
Wie setze ich meine Config zurück?
openclaw config reset
Möchten Sie etwas Einfacheres?
Y Build übernimmt den gesamten Stack — Deployment, Produktvideos, KI-SEO und Analytics. Keine Config-Dateien. Kein Terminal. Einfach bauen und ausliefern. Kostenlos starten →Quellen:
Be first to build with AI
Y Build is the AI-era operating system for startups. Join the waitlist and get early access.