Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

dual-memory双内存

Agent Skill

dual-memory 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,516

周安装

221

GitHub Stars

公开资料未说明

下载量

1,786
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:dual-memory(双内存)
来源仓库:https://github.com/dobrinalexandru/dual-memory
安装命令:
openclaw skills install dual-memory
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install dual-memory

简介

dual-memory 同时运行内存核心与外部插件如 SuperMemory。

  • 适用于需融合本地与云端记忆的复杂推理任务。
  • 提供全面 Dream 支持,扩展代理的知识检索维度。
  • 安装命令为 openclaw skills install dual-memory,仅限 OpenClaw 使用。
  • OpenClaw 只允许一个内存插件,需手动禁用其他冲突模块。

SKILL.md

name
dual-memory
description
Run memory-core AND external memory providers (like SuperMemory) together in one slot — with full dreaming support. OpenClaw only allows one memory plugin, so this composite proxy lets you keep local QMD search + MEMORY.md + dreaming (Light/REM/Deep) while also getting cloud persistence from SuperMemory or other providers. Searches merge across all backends, writes go to both.
version
1.0.7
metadata
{"openclaw":{"primaryEnv":"SUPERMEMORY_OPENCLAW_API_KEY"}}

Dual Memory Plugin

Keep memory-core + dreaming AND add external memory providers like SuperMemory — all in one memory slot. No more choosing between local and cloud.

The Problem

OpenClaw only allows one plugin per kind: "memory". You have to choose between:

  • memory-core — local MEMORY.md, QMD vector search, dreaming (Light/REM/Deep consolidation)
  • External providers like SuperMemory — cloud persistence across sessions, devices, and agents

This plugin eliminates the choice. You get memory-core + dreaming + any external provider in a single slot. The proxy pattern means you never lose native dreaming when adding cloud memory.

How It Works

The plugin legitimately holds the memory slot and delegates to both backends via a proxy pattern:

dual-memory (holds memory slot)
├── Proxy API → memory-core (local)
│   ├── QMD vector search
│   ├── MEMORY.md management
│   └── Dreaming consolidation
└── Proxy API → supermemory (cloud)
    ├── Cloud vector search
    ├── Cross-session persistence
    └── Profile/entity context
  • Searches query both backends, results are merged and deduplicated
  • Writes go to memory-core (local MEMORY.md). SuperMemory captures conversation content automatically via auto-capture hook.
  • Dreaming runs through memory-core's native consolidation cycle
  • Recall injects context from both local (QMD) and cloud (SuperMemory) sources

Install

Via ClawdHub

npx clawhub@latest install dual-memory

Manual

# Clone to extensions
cp -r dual-memory ~/.openclaw/extensions/
cd ~/.openclaw/extensions/dual-memory
npm install

Dependency

This plugin requires openclaw-supermemory as a sibling extension:

~/.openclaw/extensions/
├── dual-memory/   ← this plugin
└── openclaw-supermemory/        ← required sibling

Install supermemory from ClawdHub: npx clawhub@latest install supermemory

Configuration

Add to your OpenClaw config. Disable the individual plugins — the composite replaces them:

plugins:
  entries:
    # Disable individual plugins (composite handles both)
    memory-core:
      enabled: false
    openclaw-supermemory:
      enabled: false
    # Enable composite
    dual-memory:
      enabled: true
      config:
        supermemory:
          apiKey: "${SUPERMEMORY_OPENCLAW_API_KEY}"
          containerTag: "my_agent"
          autoRecall: true
          autoCapture: true
          maxRecallResults: 5
          captureMode: "everything"
        memoryCore:
          dreaming:
            enabled: true
            frequency: "30 2 * * *"

SuperMemory Options

KeyTypeDefaultDescription
apiKeystringenv varSuperMemory API key (supports ${ENV_VAR})
containerTagstringhostnameIsolates memories per agent/machine
autoRecallbooleantrueAuto-inject relevant memories
autoCapturebooleantrueAuto-store important info
maxRecallResultsnumber5Max memories per conversation (1-20)
captureModestringeverythingCapture mode
profileFrequencynumberProfile refresh interval (1-500)
debugbooleanfalseVerbose logging
enableCustomContainerTagsbooleanfalseAllow multiple containers
customContainersarrayCustom container definitions

Memory Core Options

KeyTypeDefaultDescription
dreaming.enabledbooleantrueEnable dreaming cycles
dreaming.frequencystringcron exprDreaming schedule

What You Get

Local (memory-core)

  • QMD search — fast local vector search over MEMORY.md and workspace files
  • MEMORY.md management — automatic memory file updates
  • Dreaming — Light (recent recall), REM (consolidation), Deep (pruning) phases
  • Flush plans — controlled memory writes

Cloud (SuperMemory)

  • Cross-session persistence — memories survive restarts, compaction, model switches
  • Cross-device sync — same memories on Mac Mini, Mac Studio, mobile
  • Entity context — user profiles and preferences injected automatically
  • Custom containers — isolate memories per agent or project

Composite Benefits

  • Merged search — queries both backends, deduplicates results by relevance score
  • Dual recall — local QMD results + cloud SuperMemory context injected together. Writes go to memory-core (local MEMORY.md); SuperMemory captures conversation content automatically via its auto-capture hook.
  • Dreaming — runs natively through memory-core's consolidation cycle (Light/REM/Deep phases)
  • Single slot — clean config, no hacks

Architecture

Proxy Pattern

The plugin creates proxy OpenClawPluginApi objects for each sub-plugin. These proxies intercept:

  • registerMemoryRuntime — captures the runtime from each backend
  • registerMemoryPromptSection — captures prompt injection from each
  • registerMemoryFlushPlan — captures flush plans (memory-core only)

After both sub-plugins register, the composite builds unified versions and registers them on the real API.

Files

FilePurpose
index.tsEntry point — loads backends, registers composite
composite-runtime.tsMerged memory runtime
composite-prompt.tsMerged prompt section
composite-search-manager.tsSearch merging and deduplication
proxy-api.tsProxy API factory
config.tsConfig parsing
openclaw.plugin.jsonPlugin manifest

Requirements

  • OpenClaw >= 2026.1.29
  • Node.js 20+
  • openclaw-supermemory extension (sibling directory)
  • SuperMemory API key (supermemory.com)

Security Notes

  • No hardcoded tokens or keys — API keys are read from config or environment variables only
  • Network calls via SuperMemory client — the plugin instantiates a SupermemoryClient for cloud search. This makes HTTPS calls to SuperMemory's API (api.supermemory.com) to search and store memories. The client comes from the openclaw-supermemory sibling extension. No other network calls are made.
  • Required env var: SUPERMEMORY_OPENCLAW_API_KEY — needed for cloud memory. Get one at supermemory.com. No other env vars are read.
  • No file system writes — memory writes are delegated to memory-core's native flush plan
  • No exec/spawn — no shell commands or child processes
  • Relative sibling imports — this plugin imports from ../openclaw-supermemory/ because OpenClaw's extension loader requires plugins to be co-located. This is the standard pattern for composite plugins that wrap other extensions

Troubleshooting

"both backends failed to load" — Check that openclaw-supermemory exists as a sibling extension and npm install was run in both directories.

"memory-core not available" — The plugin tries to resolve memory-core from OpenClaw's built-in extensions. Make sure your OpenClaw version is >= 2026.1.29.

No cloud memories appearing — Verify SUPERMEMORY_OPENCLAW_API_KEY is set in your environment or .env file.

Dreaming not running — Check that memoryCore.dreaming.enabled is true and you have a cron job configured for the dreaming schedule.

License

MIT

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

79.6%
按下载量换算1,422

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills