OpenClaw Workspace Structure and Self-Improvement Approach from Longtime User

Core Workspace Structure
The user's main workspace is located at C:\Users\sandm\clawd with this simplified structure:
clawd/ ├─ AGENTS.md ├─ SOUL.md ├─ USER.md ├─ MEMORY.md ├─ HEARTBEAT.md ├─ TOOLS.md ├─ SECURITY.md ├─ memory/ ├─ skills/ ├─ tools/ ├─ projects/ ├─ docs/ ├─ logs/ ├─ drafts/ ├─ reports/ ├─ research/ ├─ secrets/ └─ agents/
Critical Markdown Files
These markdown files serve distinct, non-overlapping purposes:
SOUL.md- voice, posture, and behavioral styleAGENTS.md- startup behavior, memory rules, and operational conventionsUSER.md- the human user's goals, preferences, and contextMEMORY.md- lightweight index instead of giant memory dumpHEARTBEAT.md- recurring checks and proactive behaviorTOOLS.md- local tool references, integrations, and real-world usage notesSECURITY.md- hard rules and outbound caution
Key Implementation Lessons
Self-Improvement Approach
The most significant insight was that OpenClaw becomes dramatically more effective when the agent is allowed to improve its own environment through:
- Updating its own internal documentation
- Editing its own operating files
- Refining prompt and config structure over time
- Building custom tools for itself
- Writing scripts that make future work easier
- Documenting lessons so mistakes don't repeat
This transforms the workspace from static prompt scaffolding into a living operating system the agent helps maintain.
Memory Management
Instead of one giant memory file, the user implemented:
MEMORY.mdas an indexmemory/people/for person-specific contextmemory/projects/for project-specific contextmemory/decisions/for important decisions- Daily logs as raw journals
The system loads only the index initially and drills down when needed.
Skills Development
Valuable skills are tied to real recurring work like research, documentation, calendar, email, Notion, project workflows, memory access, and development support. The test for whether a skill should exist: "Would I notice if this skill disappeared tomorrow?" If no, it shouldn't be a skill yet.
📖 Read the full source: r/openclaw
👀 See Also

AGENTS.md Done Right: A 25% Correctness Boost — or a 30% Drop
Augment Code tested AGENTS.md files head-to-head: the best ones rival a model upgrade from Haiku to Opus; the worst ones hurt output. Decision tables, procedural workflows, and progressive disclosure win.

Scaling Agentic Coding to 150+ PRs/Week: Lessons from $85K in Tokens at Lovable
Alexander Lebedev shares how he scaled from 20–30 PRs/week with one human to 150+ PRs/week with a swarm of AI agents, spending $85K in tokens since January. Key learnings: risk classification, AI review replacing human code review, and the challenge of preserving knowledge diffusion.

Claude Code Cheat Sheet with 140 Tips and LLMs.txt File
A GitHub repository contains a Claude Code cheat sheet with 140 tips organized into 14 sections, tagged by difficulty. The repository includes an llms.txt file that can be fed directly to Claude for learning or applying the tips.

OpenClaw 3.22 Upgrade Checklist: Practical Steps from a Developer Who Got Burned
A developer shares specific upgrade steps for OpenClaw 3.22, including checking for deprecated environment variables, creating backups, running migration commands, and verifying plugin compatibility.