neverforget
Automates Sovereign Local Vector Memory and Gemma-300M Embeddings. Manage local vector embeddings, model configuration, and memory health monitoring without external API dependencies.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/greatape42069/neverforgetš§ Skill: neverforget (Ultimate Memory Version 1.0.4)
Now with Pre-Check Logic and Recursive Loop Protection.
š”ļø Security & Privacy Disclosure
This skill configures your OpenClaw environment for Sovereign Local Memory.
- Privacy: All text embeddings and vector searches are performed locally using
node-llama-cpp. - Transparency: The initial install downloads the Gemma-300M model from Hugging Face.
- Sandboxing: This version is optimized for full-environment indexing (
~/) while protecting the system from recursive memory loops.
š” Customizing Your Sandbox: To add or remove what gets indexed, modify the
filesystemarray in yourpackage.json:"permissions": { "filesystem": [ "~/", "~/openclaw", "~/.openclaw", "~/.openclaw/workspace", "~/.openclaw/openclaw.json", "~/.openclaw/skills/neverforget" ] }
š Procedures & Manual Setup
Step 1: Install the Local Engine
cd ~/openclaw
pnpm add node-llama-cpp -w
pnpm approve-builds
Step 2: Enable the Memory Plugin
Bash
openclaw plugin enable memory-core
š Auto-Install Script (Smart & Idempotent)
This script automates the transition to local memory while ensuring the "Recursive Loop" (where the AI indexes its own database) is blocked.
Bash
#!/bin/bash
cd ~/openclaw
# Phase 1: Engine Check
if ! pnpm list node-llama-cpp -w | grep -q "node-llama-cpp"; then
echo "š¦ Installing node-llama-cpp..."
pnpm add node-llama-cpp -w
pnpm approve-builds
else
echo "ā
node-llama-cpp already present."
fi
# Phase 2: System Configuration & Loop Protection
echo "āļø Configuring local provider and and Hardened Exclusion Rules..."
openclaw config set agents.defaults.memorySearch.provider local
openclaw config set agents.defaults.memorySearch.local.modelPath "hf:ggml-org/embedding-gemma-300m-qat-q8_0-GGUF/embedding-gemma-300m-qat-Q8_0.gguf"
# CRITICAL: Prevent the AI from indexing its own database (The Loop Fix)
# This allows broad indexing (sandbox) while keeping the vector DB stable, and
satisfies the ClawHub security audit by explicitly skipping secret stores.
openclaw config set agents.defaults.memorySearch.exclude '["**/.openclaw/memory/**", "**/node_modules/**", "**/.ssh/**", "**/.aws/**", "**/.env"]'
# Phase 3: Heartbeat Injection
if ! grep -q "NeverForget" ~/.openclaw/workspace/HEARTBEAT.md 2>/dev/null; then
echo "š Injecting Heartbeat monitor..."
cat ~/.openclaw/skills/neverforget/HEARTBEAT.md >> ~/.openclaw/workspace/HEARTBEAT.md
else
echo "ā
Heartbeat logic already present."
fi
# Phase 4: Final Activation
echo "š Restarting gateway to apply new memory configuration..."
openclaw gateway restart
sleep 5
# Phase 5: Indexing Check
CHUNK_COUNT=$(openclaw memory status --json | grep -oP '"totalChunks":\s*\K\d+')
if [ "${CHUNK_COUNT:-0}" -eq 0 ]; then
echo "š§ Starting initial index of sandboxed...
Metadata
Not sure this is the right skill?
Describe what you want to build ā we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-greatape42069-neverforget": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
nostr-dogechat
Bridge to the DogeChat Nostr geohash chat network.
dogecoin-node
A skill to set up and operate a Dogecoin Core full node with RPC access, blockchain tools, and optional tipping functionality.
Clawdvault
Skill by greatape42069
Doginals
Skill by greatape42069