← 返回 Skills 市场
chen-feng123

QuickRecall - Zero-Dependency Memory Engine. 常用记忆优先出现。零依赖 AI 记忆引擎,纯 Node.js。/ Prioritizes frequently used memories. Zero deps.

作者 CHEN-feng123 · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ✓ 安全检测通过
154
总下载
0
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install quickrecall
功能描述
Persistent memory engine for AI agents with semantic recall, hotness prioritization, importance weighting, time decay, and auto-compaction. Zero external dep...
使用说明 (SKILL.md)

Memory Enhancement Engine

记忆增加引擎 — Persistent memory engine with hotness-prioritized semantic recall.

Memories that are recalled more often appear first — not just keyword matches.

Quick Start

# Node.js API
const { MemorySystem } = require('./memory-enhancement-engine/memory.js');
const mem = new MemorySystem();

# CLI tool (view / search / compact)
node memory-enhancement-engine/memo.cjs status
node memory-enhancement-engine/memo.cjs query "something to find"

Core Usage

const { MemorySystem } = require('./memory-enhancement-engine/memory.js');

// Create engine (stores to MEMORY_STORE.json automatically)
const mem = new MemorySystem({ decayHalfLifeHours: 2 });

// Write a memory
mem.add({
  content: "Paris is the capital of France.",
  importance: 1.5,
  metadata: { tags: ["geography", "fact"] }
});

// Semantic search
const results = mem.query("France capital");
console.log(results);

// Get recent memories
const recent = mem.recent(10);

// Compact old memories (summarize low-importance clusters)
mem.compact(5, 0.3);

API

Method Description
add(content, importance, metadata) Write a memory
retrieve(query, k) Semantic search (returns sorted by score)
getRecent(n) Get N most recent memories
remove(predicate) Remove memories matching predicate
compact(groupSize, minImportance) Compact old memories into summaries
getStatus() Get engine stats (count, size, etc.)

Scoring Formula

score = similarity × 0.5 + recency × 0.3 + hotness × 0.2

Where hotness = log(1 + access_count) × exp(-time_delta / 86400)

Features

  • Hotness-Prioritized Recall — Frequently accessed memories get boosted scores
  • Semantic Search — Bigram overlap + character-level similarity
  • Importance Weighting — 0.0 (trivial) to 2.0 (critical)
  • Time Decay — Half-life configurable (default 2 hours)
  • Auto-Prune — Beyond 1000 entries, least important are pruned
  • Auto-Compaction — Merge low-importance groups into summaries
  • No Server Needed — Direct Node.js require, stores to local JSON

Installation

Method Command
Copy Copy memory.js + memo.cjs to your project
ClawHub clawhub install memory-enhancement-engine

File Structure

memory-enhancement-engine/
├── SKILL.md
├── memory.js            # Core engine
├── memo.cjs             # CLI tool
├── package.json
├── assets/
│   └── icon.svg
├── references/
│   ├── API_SPEC.md
│   └── USE_GUIDE.md
└── scripts/
    ├── init-memory.mjs  # One-time migration
    └── test-client.js

License

MIT

安全使用建议
This skill is reasonable to install if you want local persistent memory. Before using it, understand that memories are stored as a local JSON file, not encrypted by this code, and may be reused in later sessions. Do not save secrets unless that is intentional, and use backup, cleanup, compact, or clear commands carefully.
功能分析
Type: OpenClaw Skill Name: quickrecall Version: 1.0.5 The skill bundle implements a local semantic memory engine for AI agents as described. Analysis of the core logic in memory.js and the CLI tool memo.cjs reveals no network activity, data exfiltration, or unauthorized system access. The file operations are restricted to local JSON persistence and user-initiated migrations, and the code contains no obfuscation or malicious instructions.
能力标签
crypto
能力评估
Purpose & Capability
The capability is coherent with the stated purpose: a local persistent memory engine with add, retrieve, recent, compact, cleanup, and clear operations. The main user-visible risk is that saved memories may persist across sessions.
Instruction Scope
The documented commands are user-directed and scoped to the memory store. Destructive memory operations are present, but the CLI warns and requires confirmation for clearing all memories.
Install Mechanism
No install spec, external dependencies, remote scripts, or package-install hooks are shown. The bundled code uses Node.js built-ins only.
Credentials
File access is proportionate to the memory purpose: the code reads and writes a local MEMORY_STORE.json file by default, and migration reads a user-specified JSON file. No broad local indexing, credential access, or network transmission is shown.
Persistence & Privilege
Persistence is central to the skill and is disclosed. The artifacts do not show background processes, privilege escalation, or autonomous activity outside the local memory file.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install quickrecall
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /quickrecall 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
Version 1.0.5 - No changes detected in the skill files or documentation. - No new features, fixes, or updates in this release.
v1.0.4
No changes detected in this version. - Version 1.0.4 contains no file or documentation updates since the previous release. - All features, API, and documentation remain unchanged.
v1.0.3
No changes detected in this version. - No updates or modifications found in the latest version. - Functionality and documentation remain unchanged.
v1.0.2
**Major update: Refactored, streamlined, and rebranded the memory engine with expanded Node.js and CLI support.** - Project renamed to "memory-enhancement-engine"; description and documentation updated to reflect new features and usage. - Simplified file structure: removed server/api scripts and legacy assets; added core `memory.js`, CLI `memo.cjs`, and migration/init utilities. - Dropped external REST API endpoints; direct Node.js integration and CLI operations are now primary usage methods. - Enhanced memory scoring: semantic/bigram recall, hotness, time-decay, and importance weighting. - Auto-compaction, pruning, and stat reporting features introduced. - Zero external dependencies retained—pure Node.js memory engine.
v1.0.1
Version 1.0.1 — No code or functionality changes. - No file changes detected. - Documentation, features, and API remain the same as in the previous version.
v1.0.0
First release. QuickRecall v1.0 — Zero-dependency memory engine with hotness-prioritized recall. 11 RESTful API endpoints (health, license, status, write, query, compact, tags, by-tag, get-by-id, delete, session-restore) Hybrid scoring: 50% semantic similarity + 30% recency decay + 20% access frequency (hotness) Tag-based filtering for exact AND queries Chinese synonym expansion for semantic search In-memory LRU cache with configurable TTL Automatic persistence to JSON file Auto-decay: old/low-importance memories fade over time Max 1000 memories with automatic least-important eviction Data stays local — no telemetry, no network calls Single dependency: express (69 packages total)
元数据
Slug quickrecall
版本 1.0.5
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 6
常见问题

QuickRecall - Zero-Dependency Memory Engine. 常用记忆优先出现。零依赖 AI 记忆引擎,纯 Node.js。/ Prioritizes frequently used memories. Zero deps. 是什么?

Persistent memory engine for AI agents with semantic recall, hotness prioritization, importance weighting, time decay, and auto-compaction. Zero external dep... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 154 次。

如何安装 QuickRecall - Zero-Dependency Memory Engine. 常用记忆优先出现。零依赖 AI 记忆引擎,纯 Node.js。/ Prioritizes frequently used memories. Zero deps.?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install quickrecall」即可一键安装,无需额外配置。

QuickRecall - Zero-Dependency Memory Engine. 常用记忆优先出现。零依赖 AI 记忆引擎,纯 Node.js。/ Prioritizes frequently used memories. Zero deps. 是免费的吗?

是的,QuickRecall - Zero-Dependency Memory Engine. 常用记忆优先出现。零依赖 AI 记忆引擎,纯 Node.js。/ Prioritizes frequently used memories. Zero deps. 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

QuickRecall - Zero-Dependency Memory Engine. 常用记忆优先出现。零依赖 AI 记忆引擎,纯 Node.js。/ Prioritizes frequently used memories. Zero deps. 支持哪些平台?

QuickRecall - Zero-Dependency Memory Engine. 常用记忆优先出现。零依赖 AI 记忆引擎,纯 Node.js。/ Prioritizes frequently used memories. Zero deps. 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 QuickRecall - Zero-Dependency Memory Engine. 常用记忆优先出现。零依赖 AI 记忆引擎,纯 Node.js。/ Prioritizes frequently used memories. Zero deps.?

由 CHEN-feng123(@chen-feng123)开发并维护,当前版本 v1.0.5。

💬 留言讨论