← Back to Skills Marketplace
chen-feng123

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

by CHEN-feng123 · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ✓ Security Clean
154
Downloads
0
Stars
0
Active Installs
6
Versions
Install in OpenClaw
/install quickrecall
Description
Persistent memory engine for AI agents with semantic recall, hotness prioritization, importance weighting, time decay, and auto-compaction. Zero external dep...
README (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

Usage Guidance
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.
Capability Analysis
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.
Capability Tags
crypto
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install quickrecall
  3. After installation, invoke the skill by name or use /quickrecall
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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)
Metadata
Slug quickrecall
Version 1.0.5
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 6
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 154 downloads so far.

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

Run "/install quickrecall" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

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

Yes, QuickRecall - Zero-Dependency Memory Engine. 常用记忆优先出现。零依赖 AI 记忆引擎,纯 Node.js。/ Prioritizes frequently used memories. Zero deps. is completely free, licensed under MIT-0. You can download, install and use it at no cost.

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

QuickRecall - Zero-Dependency Memory Engine. 常用记忆优先出现。零依赖 AI 记忆引擎,纯 Node.js。/ Prioritizes frequently used memories. Zero deps. is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

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

It is built and maintained by CHEN-feng123 (@chen-feng123); the current version is v1.0.5.

💬 Comments