Skip to content

Instantly share code, notes, and snippets.

@behindthegarage
behindthegarage / OPENCLAW-OPERATING-SYSTEM.md
Created February 14, 2026 20:40
The OpenClaw Operating System: A Layered Guide — How to build a complete AI collaboration system, from foundation to advanced patterns. Built through partnership, not configuration.

The OpenClaw Operating System: A Layered Guide

How to build a complete AI collaboration system — from foundation to advanced patterns

The Core Insight

These aren't separate tools to adopt. They're an evolved system where each layer depends on the one below it.

Layer 1 is the unlock. Without the right AI behavior — autonomous execution, collaboration over reminders, prototype-first — nothing else works. You can't have effective workflow if your AI waits for permission on every file. You can't have group primers if your AI doesn't maintain docs automatically.

@behindthegarage
behindthegarage / OPENCLAW-KB-PATTERN.md
Created February 9, 2026 19:21
OpenClaw: Cross-Session Context Pattern Solves the problem where MEMORY.md only loads in your main 1:1 session — leaving group chats, crons, and sub-agents blind to project context. The fix: Self-contained project docs in projects/ that are readable from any session. • Standardized template (Overview, Stack, API guide, Status) • Living registry …

Project Knowledge Base for OpenClaw

A pattern for solving cross-session context loss

The Problem

By default, OpenClaw loads MEMORY.md and USER.md only in your main 1:1 session. This means:

  • Group chats → No access to personal context
  • Isolated cron jobs → No memory of past conversations
  • Sub-agents → Flying blind on project details