0Pricing
OpenClaw Academy · Lektion

Die Konfigurationsdatei openclaw.json

Öffnen Sie ~/.openclaw/openclaw.json und erfahren Sie, wie das JSON5-Format das Verhalten von OpenClaw bestimmt.

Die Konfigurationsdatei openclaw.json ist eine kostenlose OpenClaw Academy-Lektion auf CoddyKit. Dies ist Lektion 1 von 4. Du kannst die komplette Lektion unten kostenlos lesen – dann übst du sie direkt im Browser mit einem integrierten Code-Editor und einem KI-Tutor rund um die Uhr. Sie ist Teil des OpenClaw Academy-Lernpfads, und dein Fortschritt wird über Web und CoddyKit-App synchronisiert. Der OpenClaw Academy-Kurs umfasst insgesamt 4 Lektionen.

Teile dieser Lektion wurden noch nicht übersetzt und werden auf Englisch angezeigt.

Where Config Lives

OpenClaw reads its settings from a single config file. Edit it and you change how your assistant behaves, all in one place. 🛠️

The Exact Path

The file lives at ~/.openclaw/openclaw.json in your home folder. That hidden folder is where OpenClaw keeps its setup.

cat ~/.openclaw/openclaw.json

It Is JSON5

The file uses JSON5, a friendlier flavor of JSON. It allows comments and trailing commas, so the config is easier to read and edit.

Why JSON5 Helps

Because it is JSON5, you can leave yourself notes with comments. That keeps a growing config clear about why each setting is there.

{
  // who can message me
  channels: {}
}

What the File Shapes

This one file shapes your assistant's behavior: which channels connect, who is allowed in, and when it should reply.

The Top-Level Shape

At the root you will mostly see a channels object plus a messages object. Each holds settings grouped by what they control.

{
  channels: { },
  messages: { }
}

Channels Object

The channels object groups settings per platform, like WhatsApp or Telegram. Each platform gets its own block of options.

channels: {
  whatsapp: { },
  telegram: { }
}

Editing Safely

Open the config in any text editor you like. Save your change, then restart OpenClaw so it picks up the new settings.

nano ~/.openclaw/openclaw.json

Keep It Valid

Even with JSON5, structure matters. A misplaced brace can stop the file from loading, so keep your braces and quotes balanced.

Small Edits Win

Change one setting at a time, then test. Small steps make it easy to see what each option actually does to your assistant.

Your Control Panel

Think of openclaw.json as your control panel. Everything you tune in this course flows from edits to this single file.

Quick Check

Let us confirm where and what the config file is.

Recap

You found OpenClaw's brain: ~/.openclaw/openclaw.json, a JSON5 file. One place to shape channels, access, and replies. Next, who gets in. ✅

Häufig gestellte Fragen

Ist die Lektion „Die Konfigurationsdatei openclaw.json“ kostenlos?

Ja — der vollständige Text von „Die Konfigurationsdatei openclaw.json“ ist hier im Web kostenlos zu lesen. Um sie interaktiv zu üben (integrierter Code-Editor und 24/7 KI-Tutor) und den Rest des OpenClaw Academy-Kurses freizuschalten, upgrade auf CoddyKit PRO. Der OpenClaw Academy-Kurs umfasst insgesamt 4 Lektionen.

Was lerne ich in „Die Konfigurationsdatei openclaw.json“?

Öffnen Sie ~/.openclaw/openclaw.json und erfahren Sie, wie das JSON5-Format das Verhalten von OpenClaw bestimmt. Du übst OpenClaw Academy mit praktischem Code, den du direkt im Browser ausführst, und ein 24/7 KI-Tutor beantwortet deine Fragen während du die Lektion bearbeitest.

Brauche ich Erfahrung, um OpenClaw Academy zu starten?

Keine Vorkenntnisse erforderlich. OpenClaw Academy auf CoddyKit ist für Anfänger bis fortgeschrittene Lernende strukturiert, sodass du hier starten oder von Anfang an beginnen und in deinem eigenen Tempo voranschreiten kannst. Dies ist Lektion 1 von 4.

Wie lange dauert die Lektion „Die Konfigurationsdatei openclaw.json“?

Die meisten CoddyKit-Lektionen dauern etwa 5–10 Minuten. Jede ist kompakt und interaktiv, sodass du stetig Fortschritte machst und genau dort weitermachst, wo du aufgehört hast – im Web und in der App.

Kann ich in dieser OpenClaw Academy-Lektion Code schreiben und ausführen?

Ja. Jede OpenClaw Academy-Lektion enthält einen integrierten Code-Editor, sodass du echten Code direkt in deinem Browser schreibst und ausführst und sofort KI-Feedback erhältst — ohne lokale Einrichtung erforderlich.

Alle Lektionen in diesem Kurs

  1. Die Konfigurationsdatei openclaw.json
  2. Absender mit allowFrom auf die Allowlist setzen
  3. Gruppenregeln mit requireMention und mentionPatterns
  4. Standards bei fehlender Konfiguration
← Zurück zu OpenClaw Academy