cleanup

Run the self-improving loop before session end. config - enable/disable individual tasks [config.md], hook-review - review hook errors and suggest improvements [hook-review.md], rag-store - persist to RAG before session end + sync fix_plan completed items to RAG (medium matrix fallback) [rag-store.md], run - 5-step sequential execution (commit → self-improve → knowledge persist → checklist record → next-action recommendation) [run.md]. Mistake recording (retrospect) and FA pruning moved to the fa skill — invoke Skill("fa") / Skill("fa", "fa-prune"). Supports Ralph mode (records to improvements.md instead of AskUserQuestion). Use on "wrap up", "session cleanup", "end session", "cleanup", "record mistake", "save feedback", "improve", "retrospect", "hook error", "next action", "RAG store", "qdrant store", "fix_plan sync".

Install

openclaw skills install @drumrobot/cleanup

Cleanup

Sequentially run cleanup tasks before session end.

Topics

TopicDescriptionGuide
configEnable/disable individual tasksconfig.md
hook-reviewReview hook errors and suggest improvementshook-review.md
rag-storePersist to RAG before session end + sync completed fix_plan items (medium matrix fallback)rag-store.md
run5-step sequential execution (commit → self-improve → knowledge persist → checklist record → next-action recommendation) + automated helper script execution (fa-analyze.py, hybrid_sweep_rag.py, sync_dual_wiki.py)run.md

Moved topics: retrospect and fa-prune are owned by the fa skill — invoke Skill("fa") / Skill("fa", "fa-prune"). The stubs retrospect.md / fa-prune.md only redirect.

Quick Reference

Run everything

text
/cleanup              # run topic (default)
/cleanup run          # explicit run

Change settings

text
/cleanup config                    # view current settings
/cleanup config disable serena     # disable serena memory
/cleanup config enable serena      # enable serena memory