Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Persistent Memory

v3.0.0

Three-layer persistent memory system (Markdown + ChromaDB vectors + NetworkX knowledge graph) for long-term agent recall across sessions. One-command setup w...

0· 1.2k·7 current·7 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for jakebot-ops/persistent-memory.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Persistent Memory" (jakebot-ops/persistent-memory) from ClawHub.
Skill page: https://clawhub.ai/jakebot-ops/persistent-memory
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Canonical install target

openclaw skills install jakebot-ops/persistent-memory

ClawHub CLI

Package manager switcher

npx clawhub@latest install persistent-memory
Security Scan
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
The code and SKILL.md match the described purpose: parsing workspace markdown, building ChromaDB vectors and a NetworkX graph, and integrating those memories into OpenClaw. The indexer, search, graph, and auto_retrieve scripts implement the three-layer memory, and the configuration script targets OpenClaw memorySearch as promised.
!
Instruction Scope
The runtime instructions tell the user to run a one-command installer (unified_setup.sh) that not only creates a local venv and installs dependencies but also locates and modifies OpenClaw configuration files and attempts to restart OpenClaw. The inline Python used by unified_setup.sh updates ~/.openclaw/openclaw.json or ./openclaw.json directly (without invoking the configure_openclaw.py backup path), which is a system-level change beyond simply adding local memory files. This is in-scope for integrating with OpenClaw but is high-impact and performed without an explicit interactive confirmation or guaranteed backup in the unified path.
Install Mechanism
No registry install spec was provided; setup is performed by the provided shell scripts which create a Python venv and run pip to install pinned packages (sentence-transformers, chromadb, networkx). This is a moderate-risk, expected mechanism for a Python-based tool. Note: running the code will download model weights (sentence-transformers) from external servers at runtime.
Credentials
The skill requests no environment variables or external credentials. It does, however, add many workspace files (SOUL.md, AGENTS.md, IDENTITY.md, USER.md, reference/) to OpenClaw's memorySearch extraPaths — this will expose workspace-local directives and potentially sensitive local files to the memory index. That behavior is coherent with the stated goal but should be reviewed because it broadens what the agent will automatically read/index.
!
Persistence & Privilege
The skill modifies OpenClaw's configuration (a system-wide agent setting) and attempts to restart OpenClaw via the 'openclaw' CLI. The installer path bundled in unified_setup.sh makes these modifications non-interactively (no backup code path is invoked in that inline configure routine). While the action aligns with the skill's function, changing another tool's global config is high-privilege and should be done with explicit user consent and backups.
What to consider before installing
What to do before running this skill: - Inspect the files scripts/configure_openclaw.py and the inline configure code in unified_setup.sh to confirm the exact changes (which extraPaths will be added). - Run configure_openclaw.py with --dry-run first (or run the standalone script instead of unified_setup.sh) to see proposed edits and ensure you have a good backup of ~/.openclaw/openclaw.json. - If you must use unified_setup.sh, run it in a non-production workspace and avoid running as a privileged user; review and commit a backup of your OpenClaw config beforehand. - Be aware the setup will pip-install packages and the sentence-transformers model will download weights from the network; if you have air-gapped or constrained environments, perform installs manually. - Consider removing or excluding sensitive files (IDENTITY.md, USER.md, etc.) from the configured extraPaths if you do not want them indexed by the agent. - If you prefer manual control, run the setup steps one-by-one (create venv, copy scripts, run indexer, then run configure_openclaw.py with --backup) rather than the one-command unified installer.

Like a lobster shell, security has layers — review code before you run it.

chromadbvk97a8yvgavd7gsera5gvqsfjs181dknzknowledge-graphvk97a8yvgavd7gsera5gvqsfjs181dknzlatestvk97435v05f9bqthvgyrqfdp9e181g0r5memoryvk97a8yvgavd7gsera5gvqsfjs181dknzpersistencevk97a8yvgavd7gsera5gvqsfjs181dknzrecallvk97a8yvgavd7gsera5gvqsfjs181dknz
1.2kdownloads
0stars
3versions
Updated 10h ago
v3.0.0
MIT-0

Persistent Memory

Adds persistent three-layer memory to any OpenClaw workspace. The agent gains semantic recall across sessions — decisions, facts, lessons, and institutional knowledge survive restarts.

Architecture

LayerTechnologyPurpose
L1: MarkdownMEMORY.md + daily logs + reference/Human-readable curated knowledge
L2: VectorChromaDB + all-MiniLM-L6-v2Semantic search across all memories
L3: GraphNetworkXRelationship traversal between concepts

All three layers sync together. The indexer updates L2 and L3 from L1 automatically.

⚠️ Critical Integration: OpenClaw Memory Configuration

Problem: OpenClaw has its own built-in memory search system, but by default it only indexes MEMORY.md and memory/*.md files. Critical workspace files like SOUL.md (agent directives), AGENTS.md (behavior rules), and PROJECTS.md (active work) are ignored.

Impact: Agents can violate explicit directives because they're not found in memory searches. This causes operational failures where agents ignore their own rules.

Solution: The configure_openclaw.py script adds a memorySearch configuration block to OpenClaw that indexes all critical workspace files. This makes directive compliance automatic rather than optional.

Setup

One command from workspace root:

bash skills/persistent-memory/scripts/unified_setup.sh

This automatically:

  • ✅ Creates 3-layer memory system (Markdown + Vector + Graph)
  • ✅ Installs all Python dependencies (ChromaDB, NetworkX, sentence-transformers)
  • ✅ Configures OpenClaw memorySearch integration (directive compliance)
  • ✅ Indexes existing MEMORY.md if present
  • ✅ Sets up daily maintenance automation

No manual configuration needed. The script handles everything including OpenClaw integration that prevents agents from ignoring workspace directives (SOUL.md, AGENTS.md, etc.).

Daily Usage

Writing Memories

  • MEMORY.md — Curated long-term knowledge (decisions, architecture, lessons learned). Update after significant events.
  • memory/YYYY-MM-DD.md — Daily logs. Raw notes of what happened each day.
  • reference/*.md — Institutional facts (people, repos, infrastructure, business rules). The agent's encyclopedia.

Indexing (after editing any memory file)

vector_memory/venv/bin/python vector_memory/indexer.py

The indexer parses MEMORY.md, reference/.md, and memory/.md into vector embeddings and rebuilds the knowledge graph. Run after every edit to keep layers in sync.

Searching

vector_memory/venv/bin/python vector_memory/search.py "your query"

Returns top-3 semantically similar chunks with source file and section.

Sync Status Check

vector_memory/venv/bin/python vector_memory/auto_retrieve.py --status

Reports sync health: MEMORY.md hash vs indexed state, chunk count, graph size. Use in heartbeats to detect drift.

Agent Behavior Rules

Add these to AGENTS.md or SOUL.md:

Pre-Response (mandatory)

Before answering questions about prior work, decisions, dates, people, or preferences — search memory first. Use memory_search or run auto_retrieve.py with the query. Never say "I don't remember" without checking.

CRITICAL: OpenClaw's built-in memory search should now automatically find directive files (SOUL.md, AGENTS.md) if configure_openclaw.py was run. If memory searches are not finding agent rules or workspace directives, the OpenClaw integration is missing or broken.

Pre-Action (mandatory)

Before executing any action that references an external identifier (URL, handle, email, repo name, address) — query reference/ files for the exact value. If not found, query vector memory. If still not found, ask the user. Never fabricate identifiers.

Post-Edit (mandatory)

After editing MEMORY.md or any file in reference/ or memory/ — re-index:

vector_memory/venv/bin/python vector_memory/indexer.py

Heartbeat Integration

Add to HEARTBEAT.md:

## Memory Sync Check
Run `vector_memory/venv/bin/python vector_memory/auto_retrieve.py --status` and if status is OUT_OF_SYNC, re-index with `vector_memory/venv/bin/python vector_memory/indexer.py`.

Reference Directory (Optional but Recommended)

Create reference/ in the workspace root as the agent's institutional knowledge base:

reference/
├── people.md          — Contacts, roles, communication details
├── repos.md           — GitHub repositories, URLs, status
├── infrastructure.md  — Hosts, IPs, ports, services
├── business.md        — Company info, strategies, rules
└── properties.md      — Domain-specific entities (deals, products, etc.)

These files are vector-indexed alongside MEMORY.md. The agent queries them before any action involving external identifiers. Facts accumulate over time — the agent that never forgets.

File Structure After Setup

workspace/
├── MEMORY.md              — Curated long-term memory (L1)
├── memory/
│   ├── 2026-02-17.md      — Daily log
│   └── heartbeat-state.json — Sync tracking
├── reference/             — Institutional knowledge (optional)
│   ├── people.md
│   └── ...
└── vector_memory/
    ├── indexer.py          — Index all markdown into vectors + graph
    ├── search.py           — Semantic search CLI
    ├── graph.py            — NetworkX knowledge graph
    ├── auto_retrieve.py    — Status checker + auto-retrieval
    ├── chroma_db/          — Vector database (gitignored)
    ├── memory_graph.json   — Knowledge graph (auto-generated)
    └── venv/               — Python venv (gitignored)

Troubleshooting

  • "No module named chromadb" — Run setup.sh again or activate the venv: source vector_memory/venv/bin/activate
  • OUT_OF_SYNC status — Run the indexer: vector_memory/venv/bin/python vector_memory/indexer.py
  • Empty search results — Check that MEMORY.md has content and the indexer has been run at least once
  • SIGSEGV on indexing — Usually caused by incompatible ML libs. The setup script pins known-good versions.
  • Agent ignoring SOUL.md/AGENTS.md directives — OpenClaw integration missing. Run python skills/persistent-memory/scripts/configure_openclaw.py to fix.
  • Memory searches not finding workspace files — Check OpenClaw configuration: openclaw config get | grep memorySearch
  • "Configuration verification failed" — Restart OpenClaw manually: openclaw gateway restart

Comments

Loading comments...