Install
openclaw skills install @emrys-hong/nightly-workspace-auditNightly workspace audit — auto-discover file dependencies by scanning all workspace files for cross-references, manage HOT/WARM/COLD memory tiers, detect orphaned files, sync inconsistencies, and report workspace health. Works out of the box on any OpenClaw workspace. Supports optional local-overrides.md for custom dependency rules. Use when triggered by a nightly cron job, or when the user asks to audit, clean up, or check workspace health.
openclaw skills install @emrys-hong/nightly-workspace-auditAuto-discover, clean, tier, sync, and report on an OpenClaw workspace.
.md files (MEMORY.md, TODO.md, USER.md, etc.)memory/*.md, projects/*/ filesmemory/archive/Scan every .md and .json file in workspace/ (skip skills/, .git/, archive/).
For each file, extract:
Then cross-reference against:
cron list → extract all file paths from every job's message field → verify each file existsREADME.md or containing a Markdown table with path-like entries → verify linked targets existBuild a dependency graph: {file → [files it references]}.
Flag:
Read all files in memory/ (skip archive/).
memory/archive/After changes, update the workspace structure tree in MEMORY.md if one exists.
Apply tier rules. See tier-rules.md for thresholds and exceptions.
MEMORY.mdMEMORY.md, ensure info exists in a WARM filememory/archive/Every promotion or demotion must be listed in the report.
If local-overrides.md exists, run those additional checks. These are user-specific dependency pairs that can't be auto-discovered (e.g., content-level sync between specific sections).
Skip this step if the file doesn't exist.
Send a concise message to the user:
🔍 Workspace Audit — {date}
**Dependencies**
- {broken links found and fixed/flagged}
- {orphaned files found}
- {content drift detected}
- {or "All dependencies healthy"}
**Cleaned**
- {what was merged/deleted/archived, or "Nothing — all clean"}
**Tier changes**
- ⬆️ Promoted: {item} (WARM → HOT) — reason
- ⬇️ Demoted: {item} (HOT → WARM) — reason
- {or "No tier changes"}
**Sync issues**
- {local override mismatches, or "All in sync"}
**Health**
- {file count} workspace files, {cron count} cron jobs, {error count} cron errors
- {any expiring items}