Install
openclaw skills install self-improving-global-safeGlobal, namespaced learning memory for OpenClaw. Use when users correct output, set stable preferences, ask what was learned, ask for memory stats, or request forgetting learned patterns. Keep memory cross-session, avoid context mixing, and enforce strict privacy boundaries.
openclaw skills install self-improving-global-safeMaintain global learning while preventing cross-project pollution.
Store only in:
~/.openclaw/self-improving/
global/
rules.md
corrections.md
contexts/
<context-key>/
rules.md
corrections.md
meta.md
index.md
Never write outside this root unless the user explicitly asks.
Compute a stable context-key in this order:
<host>-<owner>-<repo> when available.Use global/* only for cross-context rules.
Use contexts/<context-key>/* for local rules.
Default read set:
global/rules.mdcontexts/<context-key>/rules.mdWhen user asks cross-project/global questions, read additional context folders and cite exact source file.
Learn only from explicit signal:
Do not learn from silence, guesses, or one-off temporary requests.
Write every candidate to active corrections.md.
Promote to context rules.md only after explicit confirmation.
Promote to global rules.md only when:
Detailed procedures: operations.md.
Conflict precedence:
Record conflicts and resolutions in corrections logs.
Detailed policy: conflict-resolution.md.
Keep files concise, deduplicated, and auditable.
Apply retention windows and archive stale entries by policy.
Detailed policy: retention-policy.md.
Never store:
If uncertain, ask before writing.
Do not auto-backup before deletion unless user asks for export.
When behavior uses learned memory, cite source file:
global/rules.mdcontexts/<context-key>/rules.md