Skip to content
Back to skills

Openclaw Memory Core

ASecurity

Core utilities for OpenClaw memory plugins (redaction, local store, embeddings).

  • 14 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
ai-agentsgobashawsazuregitapidatabase

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 18 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill openclaw-memory-core --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openclaw Memory Core?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Openclaw Memory Core
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-openclaw-memory-core/badge)](https://www.skillsdirectory.com/skills/modbender-openclaw-memory-core)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: openclaw-memory-core
description: Core utilities for OpenClaw memory plugins (redaction, local store, embeddings).
---

# OpenClaw Memory Core

Shared library powering OpenClaw's memory plugins (`openclaw-memory-brain` and `openclaw-memory-docs`). Provides three core modules:

## Redaction

Automatically detects and redacts secrets before they reach memory storage. Covers:
- API keys (OpenAI, Anthropic, Stripe, Google, GitHub PATs)
- AWS credentials (access keys, secret keys)
- Azure storage keys, HashiCorp Vault tokens
- JWTs, Bearer tokens, PEM private key blocks

Usage: pipe any text through the redactor before storing — secrets are replaced with safe `[REDACTED:TYPE]` placeholders.

## JSONL Store

Local file-based memory store using append-only `.jsonl` files. Features:
- CRUD for memory items (kinds: `fact`, `decision`, `doc`, `note`)
- Expiration support (`expiresAt` field)
- Semantic search via cosine similarity on embeddings
- No external database required — everything lives in flat files

## Embeddings

Deterministic, offline, dependency-free text embedder (`HashEmbedder`):
- FNV-1a hash-based vector generation (default 256 dimensions)
- L2 normalization for cosine similarity search
- No API calls, no model downloads — works fully offline
- Not SOTA semantics, but stable and fast for local vector search

## Integration

This is a dependency library, not a standalone plugin. Install it as a package dependency:

```bash
npm install @elvatis_com/openclaw-memory-core
```

Used internally by `openclaw-memory-brain` (auto-capture) and `openclaw-memory-docs` (explicit capture).

Files in this skill

  • README.md14.3 KB
  • SKILL.md1.6 KB
  • package-lock.json48.6 KB
  • package.json1 KB
  • scripts/scan-secrets.sh2 KB
  • src/embedding.ts1.8 KB
  • src/index.ts1.1 KB
  • src/redaction.ts4 KB
  • src/store-jsonl.ts9.6 KB
  • src/types.ts4.7 KB
  • src/utils.ts2.1 KB
  • tests/embedding.test.ts7.9 KB
  • tests/injection.test.ts56.9 KB
  • tests/redaction.test.ts20 KB
  • tests/store.test.ts12 KB
  • tests/ttl.test.ts11.9 KB
  • tests/utils.test.ts5.1 KB
  • tsconfig.json375 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…