Create, analyze, and optimize OpenClaw workspace configuration files (SOUL.md, IDENTITY.md, USER.md, MEMORY.md, TOOLS.md, AGENTS.md, STYLE.md, HEARTBEAT.md) with guided workflows and best practices validation. Analyzes existing files for patterns, clarity, injection order, and content placement. All work is done in a sandbox area without modifying originals.
记忆
Workspace Optimizer
试用Audit, optimize, and maintain your OpenClaw agent workspace. Use when workspace needs health check, skill audit, memory cleanup, or performance tuning.
它能做什么
Audit, optimize, and maintain your OpenClaw agent workspace. Use when workspace needs health check, skill audit, memory cleanup, or performance tuning.
技能文档
Workspace Optimizer
Comprehensive workspace audit and optimization skill for OpenClaw agents. Identifies issues, suggests improvements, and provides actionable remediation steps.
Quick Reference
| Situation | Action |
|---|---|
| Workspace health check | Run full audit |
| Skill audit | Check installed vs available skills |
| Memory bloat | Cleanup and prune old files |
| Performance tuning | Optimize cron jobs and heartbeats |
Background
Agent workspaces drift over time — stale cron jobs, orphaned memory files, unused skills, bloated context. This skill provides systematic audit and remediation to keep your workspace lean and performant.
Solution
Step-by-Step Audit
- Core Files Check
# Verify required files exist
$files = @("AGENTS.md","SOUL.md","IDENTITY.md","USER.md","TOOLS.md","MEMORY.md","HEARTBEAT.md")
foreach($f in $files) {
$path = Join-Path $env:USERPROFILE ".openclaw\workspace\$f"
if (Test-Path $path) { Write-Host "✅ $f" -ForegroundColor Green }
else { Write-Host "❌ $f MISSING" -ForegroundColor Red }
}
- Skill Audit
# List installed skills with status
clawhub list
# Check for updates
clawhub outdated
- Memory Health
# Check memory directory structure
Get-ChildItem "$env:USERPROFILE\.openclaw\workspace\memory" -Recurse |
Where-Object { $_.LastWriteTime -lt (Get-Date).AddDays(-30) } |
Select-Object FullName, LastWriteTime, Length
- Cron Job Audit
# List all cron jobs including disabled
openclaw cron list --include-disabled
# Check for orphaned or failed jobs
openclaw cron list --include-disabled | grep -i "disabled\|failed"
Optimization Recommendations
- Remove unused skills:
clawhub uninstall - Prune old memory files: Archive files older than 30 days
- Disable stale cron jobs:
openclaw cron update --enabled false - Trim MEMORY.md: Keep only active, relevant entries
Common Variations
- Quick Check: Just run core files check + cron audit
- Deep Clean: Full audit + memory pruning + skill cleanup
- Pre-Flight: Run before major workspace changes
Gotchas
- Don't delete daily memory files — archive them instead
- Check cron job run history before disabling
- Some skills have dependencies — check before uninstalling
Source
- Author: AgentricAI-Owner
- Created: 2026-06-23
- Origin: DarkCluster workspace optimization patterns
相关技能
OpenClaw workspace health auditor (read-only inspection): scans an agent workspace for directory-structure compliance, task/PROGRESS.md health, memory-log gaps, knowledge-base index orphans and junk files; outputs a severity-graded report (red/yellow/green) with fix suggestions via a zero-dependency
Use when the user wants to inspect, repair, package, or troubleshoot an OpenClaw workspace doctor setup, especially for stale bootstrap state, missing daily...
Audit an OpenClaw agent workspace and generate standardized evaluation reports, scores, and patches. Use when asked to review memory quality, retrieval effic...
OpenClaw workspace initialization & standardization. Sets up a proper agent home: standard directory structure (projects/tasks/outputs/knowledge/scripts/ memory/tmp) + WORKSPACE.md rules + multi-agent config safety (config.patch, never config.apply) + memory log. Use when an agent enters a new/empty
Engine auto-update & discovery skill OpenClaw: scan, evaluate, update, test, install, verify, rollback — dengan validation gate dan safety agar update tidak merusak workspace.