Install
openclaw skills install workspace-orgStandardized workspace directory layout for multi-agent OpenClaw deployments. All agent-generated files go under files/ to keep root clean. Defines where agents store files, exchange deliverables, and cleanup policies. Trigger on workspace setup, file placement decisions, workspace cleanup, multi-agent convention setup, workspace compliance check.
openclaw skills install workspace-orgStandardized directory conventions for OpenClaw multi-agent workspaces.
workspace/ ← or any agent workspace dir
├── AGENTS.md, SOUL.md ... ← core config (never moved)
├── skills/ ← ClawHub skills
├── memory/ ← long-term memory
├── files/ ← all agent-generated content
│ ├── tmp/ disposable temp files
│ ├── notes/ working docs worth keeping
│ ├── inbox/ deliverables from other agents
│ ├── outbox/ files for owner/other agents
│ ├── archive/ inactive projects
│ └── experts/ (workspace root only) expert engagements
files/{subdir}/. No exceptions.files/outbox/, receiver picks from files/inbox/.| Subdir | Cleanup rule |
|---|---|
files/tmp/ | Eligible for auto-cleanup at any time |
files/notes/ | Keep; never auto-clean |
files/archive/ | Manual review before removal |
files/experts/ | Remove after expert engagement ends |
files/inbox/ | Clear after processing deliverable |
All generated files go into files/ subdirectories:
files/tmp/files/notes/files/inbox/ or files/outbox/files/archive/# Check if current workspace has layout violations
python3 {{SKILL_DIR}}/scripts/sweep.py
# JSON output for automation
python3 {{SKILL_DIR}}/scripts/sweep.py --json
python3 {{SKILL_DIR}}/scripts/apply.py --execute
HEARTBEAT.md can include a periodic sweep to catch drift.
scripts/apply.pyCreates files/ and sub-directories, migrates existing files into correct locations.
Auto-detects workspace root vs agent workspace. Dry-run by default.
Agent directories (containing AGENTS.md) are never moved.
scripts/sweep.pyAudits workspace for layout violations. Returns exit code 0 (clean), 1 (warnings), or 2 (violations).