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

openclaw-memory-stackOpenClaw 记忆 stack

Agent Skill

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

总安装

7,344

周安装

306

GitHub Stars

1

下载量

2,448
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install openclaw-memory-stack

简介

openclaw-memory-stack 实现高效本地搜索与智能重复数据删除,召回率显著提升。

  • 适合在 OpenClaw 中快速检索跨代理共享的结构化事实与知识片段。
  • 通过 clawhub 安装,使用 openclaw skills install 命令,支持五引擎联合查询。
  • 安装前需确认本地存储资源充足,避免因索引过大导致性能下降。
  • 具备标记减少 90% 的能力,优化内存占用同时保持高准确性。

SKILL.md

name
openclaw-memory-stack
description
Total recall, 90% fewer tokens. Open source OpenClaw memory plugin — 5-engine local search, structured fact extraction, smart dedup, cross-agent sharing, and self-healing. Replace native memory with something that actually remembers. No cloud API, no subscription, MIT licensed and free.
version
0.6.1
license
mit
metadata
openclaw
requires
bins
anyBins
emoji
\F9E0
homepage
https://github.com/Apptah/openclaw-memory-stack
tags
pricing
model
free
amount
0
currency
usd
url
https://github.com/Apptah/openclaw-memory-stack
note
Free and open source under MIT license. No activation, no cloud dependency.
network
purpose
Update check on manual upgrade. Sends only current_version.
purpose
Local MLX LLM for fact extraction. Never leaves machine.
purpose
Local Ollama LLM for fact extraction. Never leaves machine.
purpose
Cloud LLM fallback for fact extraction. Only active if user sets API key. User-configurable endpoint.
permissions
shell
purpose
Local database read/write for all 5 search engines. No arbitrary command execution.
purpose
QMD CLI for vector search and collection management.
fileAccess
read
["~/.openclaw/memory-stack/", "~/.openclaw/memory/external/", ".openclaw/"]
write
["~/.openclaw/memory-stack/", "~/.openclaw/memory/"]
envVars
purpose
API key for cloud LLM fact extraction (optional)
sentTo
user-configured llmEndpoint only
purpose
Fallback API key for OpenAI (optional)
sentTo
api.openai.com or user-configured llmEndpoint
purpose
Override lossless DB path (local only)
purpose
Override router config path (local only)
purpose
Override backends config path (local only)
dataFlow
localOnly
All search/storage (5 engines, sqlite3, markdown) runs on-device. Shell execution targets only local databases.
remote
LLM extraction sends conversation excerpts to user-configured endpoint only. No license verification, no activation keys.
neverTransmitted
Raw memory content never sent to apptah.com. No telemetry or analytics.

OpenClaw Memory Stack

Total recall. 90% fewer tokens.

Your agent forgets past decisions and burns tokens re-reading the same context. Memory Stack runs 5 search engines locally, returns only what matters, and never loses a fact.

Free and open source. MIT license. No subscription, no cloud API costs. All search and storage runs entirely on your machine. GitHub: github.com/Apptah/openclaw-memory-stack

Architecture

┌──────────────────────────────────────────────────────────────┐
│                  OPENCLAW MEMORY STACK                        │
├──────────────────────────────────────────────────────────────┤
│                                                              │
│  SEARCH PIPELINE (runs on every conversation turn)           │
│                                                              │
│  ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐               │
│  │  E1  │ │  E2  │ │  E3  │ │  E4  │ │  E5  │               │
│  │ Full │ │Vector│ │ DAG  │ │ Fact │ │  MD  │               │
│  │ Text │ │Search│ │Compr.│ │Store │ │Files │               │
│  └──┬───┘ └──┬───┘ └──┬───┘ └──┬───┘ └──┬───┘               │
│     └────────┴────────┴────────┴────────┘                    │
│                        │                                     │
│                        ▼                                     │
│               ┌──────────────┐                               │
│               │ Result Fusion│                               │
│               │ + Reranking  │                               │
│               └──────────────┘                               │
│                        │                                     │
│              ┌─────────┼─────────┐                           │
│              ▼         ▼         ▼                           │
│          ┌──────┐  ┌──────┐  ┌──────┐                        │
│          │  L0  │  │  L1  │  │  L2  │  Token Budget           │
│          │~100t │  │~800t │  │ full │  Control                │
│          └──────┘  └──────┘  └──────┘                        │
│                                                              │
│  CAPTURE (runs after every conversation turn)                │
│                                                              │
│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐        │
│  │    Fact       │  │   Entity     │  │   Dedup &    │        │
│  │  Extraction   │  │  Tracking    │  │  Supersede   │        │
│  │  (8 types)    │  │  (queryable) │  │  (3-level)   │        │
│  └──────────────┘  └──────────────┘  └──────────────┘        │
│                                                              │
│  CROSS-AGENT SHARING                                         │
│                                                              │
│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐        │
│  │   CLI API    │  │  Drop Zone   │  │   Unified    │        │
│  │ query/add/   │  │  ~/.openclaw │  │   Global     │        │
│  │   recent     │  │  /external/  │  │   Memory     │        │
│  └──────────────┘  └──────────────┘  └──────────────┘        │
│         ▲                 ▲                 ▲                 │
│  Claude Code       Cursor / Windsurf    Any MCP client       │
│                                                              │
│  SELF-HEALING MAINTENANCE (24h cycle, zero config)           │
│                                                              │
│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐        │
│  │  Auto-Init   │  │   Graceful   │  │   Health     │        │
│  │  workspace   │  │   Fallback   │  │   Monitor    │        │
│  │  + indexing   │  │  FTS5-only   │  │  + alerting  │        │
│  └──────────────┘  └──────────────┘  └──────────────┘        │
│                                                              │
└──────────────────────────────────────────────────────────────┘

Built-in Code Search

Find function names, variable names, or any pattern across your entire memory — instantly. No extra tools needed, works offline, gets faster the more you use it.

5-Engine Search

Five engines search in parallel on every conversation turn:

EngineWhat it does
Full-textKeyword matching with relevance ranking
VectorSemantic search — understands meaning, not just words
Compressed historyConversation DAG with drill-down
Fact storeStructured facts — decisions, deadlines, requirements
MarkdownScans memory files directly

Results are merged with rank fusion, deduplicated, reranked for diversity, and scored with time decay.

3-Tier Token Control

Every wasted token is money burned. Memory Stack eliminates the waste.

TierTokensWhen used
L0~100Auto-recall every turn — minimal cost
L1~800On-demand search summary
L2fullFull content on request

The agent generates summaries — no separate LLM service required.

When the OpenClaw agent stores or surfaces a memory, it should also produce L0/L1 summaries from its own context (it is already an LLM) and persist them via:

openclaw-memory tier set <file> \
  --l0 "<one-sentence abstract, ≤100 tokens>" \
  --l1 "<focused overview, ≤800 tokens, covers what + why + when to use>"

Read back at any tier:

openclaw-memory tier show <file> --level L0   # or L1, L2

For unattended/offline contexts where no agent is available, fall back to a pure heuristic (first non-empty line for L0, char-bounded prefix for L1):

openclaw-memory tier auto <file>

Structured Fact Memory

Extracts 8 fact types automatically: decisions, deadlines, requirements, entities, preferences, workflows, relationships, corrections.

  • Structured key/value storage with confidence scores
  • Negation-aware — "We will NOT use MongoDB" preserved correctly
  • Automatic supersede — when a fact changes, old version archived, new one takes over

Smart Dedup & Conflict Resolution

  • 3-level write-time dedup: exact match, normalized text, structured key match
  • Full audit trail via archive table
  • Removes duplicates before sending — you never pay twice for the same memory

Cross-Agent Memory Sharing

Works across Claude Code, Cursor, Windsurf, and any MCP-compatible client.

  • CLI commands: openclaw-memory query/add/recent — any tool can read/write facts
  • Drop zone: drop .md files into ~/.openclaw/memory/external/ — auto-ingested, no duplicates
  • Unified global memory under ~/.openclaw/memory/ — your memory follows you across workspaces

Self-Healing Maintenance

Zero maintenance. The plugin takes care of itself.

  • Auto-init: detects workspace, creates search index, schedules embedding — no manual setup
  • Graceful fallback: if vector search unavailable, runs in keyword-only mode — always functional
  • 24h maintenance cycle: rebuilds index on corruption, archives stale facts, alerts on health issues

OpenClaw Native vs Memory Stack

NativeMemory Stack
Search engines25 (parallel, fused)
Token efficiencyFull text every timeUp to 90% fewer
Output tiersFull text3 tiers (~100 / ~800 / full)
Fact extractionNo8 types, structured, negation-aware
Duplicate handlingCan pay twice3-level dedup, auto-supersede
Entity trackingNoYes, queryable
Cross-agentNoCLI + drop zone, works with any tool
Memory across projectsSeparate per workspaceUnified global memory — follows you everywhere
Self-healingNoAuto-maintain, auto-fallback
Runs locallyYesYes — all search runs locally, no cloud dependency

Memory Stack vs Other AI Memory Systems

Most AI memory systems make you choose between control and convenience. Memory Stack doesn't.

Hermes AgentGoogle Always-OnMemory Stack
TriggerExplicit tool callAutomatic (Google decides)Deterministic router — 7 explicit rules
Routing logicAgent judgment (opaque)Black boxKeyword pattern matching — fully inspectable
Fallback on poor recallNoneUncontrollableSequential chain — relevance < 0.4 → next backend
Storage locationDeveloper-managed DBGoogle cloudLocal git branch + SQLite — nothing leaves your machine
Token controlNoneNone3 tiers: ~100 / ~800 / full
DeduplicationManualUnknown4-level auto-dedup
Works offlineDepends on DBNoYes — core search fully offline
Open sourceVariesNoMIT — full source on GitHub
Setup timeHoursMinutes (Gemini only)One command, any MCP client

Hermes gives developers control but no routing or fallback infrastructure. Google gives convenience but no privacy and no control. Memory Stack gives you both.

Install

npx clawhub@latest package install openclaw-memory-stack

Or clone and run directly:

git clone https://github.com/Apptah/openclaw-memory-stack
cd openclaw-memory-stack
./install.sh

Runs on macOS, Linux, and Windows (WSL2). Requires bash, python3, and OpenClaw 2026.3.2 or later. Bun is optional (enables QMD vector search).

What the installer does

The included install.sh performs the following actions:

  • Files: Copies plugin and backend files to ~/.openclaw/memory-stack/, registers plugin in ~/.openclaw/extensions/openclaw-memory-stack/, updates ~/.openclaw/openclaw.json
  • Upgrade downloads: install.sh --upgrade downloads new versions with mandatory SHA-256 checksum verification
  • No telemetry: No usage data, memory content, or analytics are ever sent
  • Optional LLM: OPENCLAW_LLM_API_KEY / OPENAI_API_KEY env vars are optional, used only for LLM-powered fact extraction. If not set, falls back to local Ollama/MLX. These keys are sent only to the endpoint you configure (default: api.openai.com), never to our servers

All search and storage runs entirely on your machine.

License

MIT. Free and open source. See LICENSE.

Support

Questions or issues? Open a GitHub issue at github.com/Apptah/openclaw-memory-stack.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

83.75%
按下载量换算2,050

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

可疑

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills