Browse / Software development / openclaw-workspace-template

openclaw-workspace-template

ivancheungckn

Ready-to-use workspace template for OpenClaw with 4-layer context memory system, agent specs, and distillation process

Open ivancheungckn/openclaw-workspace-template → Checked against the four rules.

Works with any agent

ships AGENTS.md, the cross-tool instruction file.

In its own words

README.mdivancheungckn/openclaw-workspace-template

A ready-to-use workspace template for OpenClaw with a 4-layer context memory system, agent specs, and distillation process.

Memory System (4 Layers)

Data flows up, never down:

Sub-agents can only write to PROPOSALS.md. Only the coordinator promotes to MEMORY.md. This prevents memory pollution.

Agent Roles (5 included)

  • Clear role definition
  • Explicit "must NOT" constraints (prevents role bleed)
  • Output format specification
  • Tool access rules
Proper multi-agent (recommended)

See memory/agents-spec.md for full specs, setup instructions, and role definitions.

Distillation Process

  • Working → SUMMARY/LOOPS: every ~10-20 turns or when context feels large
  • SUMMARY → MEMORY: milestones only (task done, decision made, lesson learned)
  • Weekly: prune stale proposals, archive closed loops, dedupe memory

What never goes into long-term memory:

  • Secrets, tokens, passwords
  • One-off chat banter
  • Unverified assumptions
  • Transient debugging logs

See memory/distillation-process.md for the full process.

Automation (Optional)

Add these cron jobs for automated memory management:

Daily distillation (10pm) — auto-extracts facts from today's conversations into PROPOSALS.md:

Weekly hygiene (Monday 10am) — reviews proposals, promotes accepted ones, prunes stale:

Quoting 65% of the README. Read the rest on GitHub ↗

Where it came from

inspired by MadsLorentzen/ai-job-search An AI-powered job application framework built on Claude Code. yesterday

What this copy built: +memory — top-level directories this copy added on top of the original.

See the whole ai-job-search family — 125 entries →

Read from the repository's git tree on 2026-08-17.