Install
openclaw skills install sage-memoryPersistent, consensus-validated memory for AI agents via SAGE MCP server. Gives you institutional memory that survives across conversations — memories go thr...
openclaw skills install sage-memoryYou have persistent institutional memory via SAGE — a governed, consensus-validated knowledge layer. Your memories are not a flat file. They go through BFT consensus, have confidence scores, and decay over time. Only committed memories are returned to you.
This skill enables persistent memory storage for AI agents. By design:
sage_turn and sage_remember — typically summaries
of conversation topics, task outcomes, and user preferences. The agent decides what to store; raw
conversation transcripts are NOT automatically captured.~/.sage/data/sage.db (SQLite).
Nothing is sent to any cloud service. SAGE runs entirely on localhost.sage_forget..mcp.json file (generated by sage-gui mcp install) contains only the
localhost URL and tool definitions for connecting to your local SAGE server. It contains no
credentials, API keys, or sensitive tokens.sage_inception returns operating instructions from your local SAGE server
(not from any remote service). These instructions tell the agent how to use the memory tools
effectively. You can customize them via the CEREBRUM dashboard at http://localhost:8080/ui/.On the first message of every new conversation, before responding to the user:
sage_inception (or sage_red_pill) — this checks if your brain is online and returns your operating instructionsCall sage_turn every turn with:
topic: what the current conversation is about (used for contextual recall)observation: what just happened — the user's request and key points of your responsedomain: a specific knowledge domain (see Domains below)This atomically recalls relevant committed memories AND stores your episodic observation. Like human memory — you build understanding turn by turn.
Create domains organically based on what you're working on. Don't dump everything into general.
Examples:
go-debuggingproject-architectureci-cduser-preferencesSpecific domains = better recall.
When using sage_remember:
| Tool | Purpose |
|---|---|
sage_inception | Boot your brain. Call first in every new session. |
sage_turn | Per-turn memory cycle. Recalls + stores atomically. |
sage_remember | Store a new memory with content, type, domain, and confidence. |
sage_recall | Retrieve memories by topic and/or domain. |
sage_reflect | After tasks, store dos and don'ts. Both make you better. |
sage_forget | Deprecate a memory by ID. |
sage_list | List memories with filters (domain, type, status). |
sage_timeline | View memory activity over time. |
sage_status | Check brain health — memory counts, domains, last activity. |
sage_register | Register this agent with the SAGE node. |
sage_task | Create/update tasks for tracking work. |
sage_backlog | View pending tasks. |
sage_red_pill | Alias for sage_inception. |
After completing significant tasks, call sage_reflect with:
dos: what worked well (reinforces good patterns)donts: what failed or should be avoided (prevents repeating mistakes)task_summary: brief description of what was donedomain: relevant domainThis feedback loop is critical — it was empirically validated (rho=0.716 with memory vs rho=0.040 without).
Call sage_recall with topic critical lessons to check for known pitfalls before:
sage-gui servesage-gui mcp install in your project directory to generate .mcp.json, then restart your sessionYou can review the generated .mcp.json — it contains only the localhost connection URL and MCP tool
definitions. No credentials or API keys are included.