Swap Memory

# Swap Memory Plugin

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Swap Memory" with this command: npx skills add mikefaierberg-byte/swap-memory

Swap Memory Plugin

Auto-store conversations and retrieve context for OpenClaw agents.

Three-layer memory: hot (6h chunks) → warm (wiki session logs) → cold (wiki lessons).
No cron jobs, no external dependencies. Nothing is ever lost.

Installation

Add to openclaw.json:

{
  "plugins": {
    "entries": {
      "swap-memory": {
        "source": "workspace/plugins/swap-memory/src/index.js",
        "enabled": true,
        "config": {
          "enabled": true,
          "defaultAgent": "main",
          "crossSearchEnabled": false
        }
      }
    }
  }
}

Restart: openclaw gateway restart

Usage

The plugin works automatically — it hooks into agent_end and before_prompt_build to store and retrieve conversation chunks.

Commands

SlashDescription
/swap-statusShow statistics: chunks, pins, retrievals
/swap-dashboardVisual progress bars per agent
/swap-promote <keyword>Pin matching chunks
/swap-cross on|offToggle cross-agent search (OFF by default)

Adding tools to custom agents

If your agent has a tools.profile (e.g. coding, messaging), add to alsoAllow:

"alsoAllow": ["swap_status","swap_dashboard","swap_promote","swap_cross"]

Requirements

  • OpenClaw ≥ 2026.5
  • Memory core enabled (memory.enabled: true)
  • Wiki enabled (wiki.enabled: true)

Links

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Unstructured

Unstructured integration. Manage data, records, and automate workflows. Use when the user wants to interact with Unstructured data.

Registry SourceRecently Updated
Automation

Flexport

Flexport integration. Manage data, records, and automate workflows. Use when the user wants to interact with Flexport data.

Registry SourceRecently Updated
Automation

Cacoo

Cacoo integration. Manage data, records, and automate workflows. Use when the user wants to interact with Cacoo data.

Registry SourceRecently Updated
Automation

Cradl Ai

Cradl AI integration. Manage data, records, and automate workflows. Use when the user wants to interact with Cradl AI data.

Registry SourceRecently Updated