Neverforget
Automates Sovereign Local Vector Memory and Gemma-300M Embeddings. Manage local vector embeddings, model configuration, and memory health monitoring without...
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 2 · 553 · 3 current installs · 3 all-time installs
MIT-0
Security Scan
OpenClaw
Suspicious
high confidencePurpose & Capability
The declared purpose (setup local embeddings with node-llama-cpp and Gemma-300M) matches the instructions to install node-llama-cpp, set the local provider, and download a Hugging Face model. However the package.json and SKILL.md ask for broad filesystem indexing (~/) and network access (huggingface, pnpm, npm registry, and an hf-mirror), which is functionally plausible for a full 'sovereign memory' system but is broad in scope and higher-privilege than many users would expect for a single skill.
Instruction Scope
Runtime instructions include writing/appending HEARTBEAT.md into ~/.openclaw/workspace, changing global OpenClaw config (agents.defaults.memorySearch.*), running openclaw gateway restart, and triggering openclaw memory index which will crawl user files. The skill's docs/templating give mixed guidance about symlinks (one file warns 'Do not use symlinks', another encourages creating symlinks to include external directories), which is an internal inconsistency that could dramatically expand what gets indexed. These instructions perform persistent, system-wide changes and can cause broad data collection if allowed.
Install Mechanism
This is instruction-only (no install spec), so nothing is automatically written by a packaged installer. The suggested install uses pnpm to add node-llama-cpp (standard package manager usage) and relies on downloading a model from Hugging Face via the provider path. No arbitrary IP/paste/shortener URLs are present, but package.json lists an additional network entry 'hf-mirror.com' (third-party mirror) — worth verifying the mirror's trustworthiness.
Credentials
The skill declares no required environment variables but the included openclaw manifest requests wide filesystem permissions (~/, ~/.openclaw, etc.) and network access to package/model registries. Indexing the entire home directory is disproportionate for many users because it can include secrets and private data; the manifest attempts to exclude common secret stores (.ssh, .aws, .env, .gnupg) but exclusion lists are error-prone and may miss other sensitive files. The ability to follow symlinks (documented elsewhere) could further expand access.
Persistence & Privilege
The instructions modify global OpenClaw configuration keys (agents.defaults.memorySearch.*), append content to the user's workspace HEARTBEAT.md, restart the gateway, and trigger indexing. Changing global agent defaults and restarting the gateway are system-wide operations that affect other agents and the host environment — this is beyond a purely local skill's internal scope and increases blast radius if misconfigured.
What to consider before installing
Before installing, carefully consider the following: (1) This skill intends to index large parts of your home directory (~) and will change global OpenClaw memory settings and restart the gateway — review and backup ~/.openclaw/openclaw.json first. (2) Confirm the exclusion rules cover all places you consider sensitive; exclusions like **/.ssh/**, **/.aws/** and **/.env** are present but may be incomplete for your environment. (3) The skill will append a HEARTBEAT.md into your workspace and may follow symlinks (different files give contradictory guidance) — do not create symlinks to sensitive external stores if you want them excluded. (4) The install path uses pnpm and downloads a model from Hugging Face (and references an hf-mirror); verify network endpoints and mirror trust before allowing downloads. (5) Prefer running this skill first in an isolated account, container, or VM to observe behavior and disk usage (model downloads can be large). (6) When prompted to run the auto-install script, review the commands line-by-line and decline if you do not accept global config changes or broad indexing. If you want to proceed safely: restrict the filesystem permissions in package.json to only the specific project paths you need, remove symlink recommendations, and test indexing on a small sample directory first.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.4
Download zipdegendogecoinforgetlatestlocallocal-ailocal-memorymemorymemory-corenever-forgetneverforgetragsuper-memoryultimate-memory
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
🧠 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 environment..."
openclaw memory index
else
echo "✅ Memory active with ${CHUNK_COUNT} chunks."
fi
---
### 🐾 Final Summary of the 1.0.3 Memory Stack:
🛡️ Why this passes the "Digital Soldier" Test...
Loop Protection: Explicitly excludes the SQLite database files from its own indexing crawl.
Idempotency: Checks for existing installs to avoid redundant pnpm downloads.
Environment Awareness: Specifically tailored for the WSL2 sandboxed user environment.
* **`package.json`**: Contains your broad sandbox permissions + exclusion rules.
* **`_meta.json`**: Bumped to v1.0.3 for the registry.
* **`HEARTBEAT.md`**: Includes the new Disk Health check.
* **`SKILL.md`**: (Above) Includes the documentation and the master install script.
* **`ULTIMATEMEMORY.md`**: Your universal template for project-level memory.
**Everything is locked in.** Your Degen Digital Soldier is ready for deployment. Rest easy... you now have a world-class local intelligence stack for your agent.
Files
5 totalSelect a file
Select a file to preview.
Comments
Loading comments…
