Install
openclaw skills install defragmenterStructural knowledge defragmentation for OpenClaw workspaces. Finds information, rules, and operational facts that are spread across the wrong files or embedded in the wrong layer, then rewrites them into the proper files without deleting source material. Use when the workspace feels fragmented, logic is embedded in cron/jobs instead of flow files, preferences are scattered, or facts exist but are not assembled into one coherent working structure.
openclaw skills install defragmenterdefragmenter is a structural reorganization skill for OpenClaw workspaces.
It does not behave like a cleaner, trash collector, or memory compressor. It does not delete information.
Its job is to find knowledge that already exists, but is fragmented across the wrong places, and reassemble it into the correct structural locations.
Defragmenter looks for situations like:
CONTAINER_STATE.mdThen, after user confirmation, it:
Reorganize, not destroy.
Defragmenter may:
Defragmenter does not:
Use this skill when:
A cron message contains detailed workflow logic.
Defragmenter should:
A container repair decision exists in chat or daily notes, but not in CONTAINER_STATE.md.
Defragmenter should:
CONTAINER_STATE.mdFood, browser, or workflow preferences exist in conversation history but not in their proper file.
Defragmenter should:
Defragmenter may only reorganize knowledge into files within the current workspace that match these patterns:
MEMORY.mdmemory/*.mdCONTAINER_STATE.mdflows/*.mdDefragmenter must not modify:
skills/ or any SKILL.md file (including its own).env, credentials, or configuration files not listed aboveFirst, return a dry-run structural report for user review:
Defragmentation scan complete. Proposed changes:
- MOVE workflow logic from cron text → flows/deploy.md
- COPY operational facts → CONTAINER_STATE.md
- COPY scattered preference rules → preferences.md
- No deletions proposed
Awaiting confirmation to apply.
After the user approves, apply changes and return a confirmation report.
Defragmenter exists to restore structural coherence across workspace knowledge.
It is focused on placement, source-of-truth repair, and reassembly of fragmented context across files and layers.