Auto Memory

WarnAudited by ClawScan on May 10, 2026.

Overview

This is a plausible memory helper, but it automatically persists and indexes chat history, can share derived notes across agents, and includes LLM/API-key use that is not clearly bounded or consistently protected by the promised redaction.

Review the scripts before installing. Only enable heartbeat automation if you are comfortable with OpenClaw chat history being stored and indexed under ~/.openclaw. Do not use it with secrets unless redaction is actually implemented and tested, verify where LLM summaries are sent, and confirm or remove the missing update-long-memory.sh workflow.

Findings (6)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

Private or sensitive conversation content may become persistent, searchable agent memory and can influence future answers even after the original chat is over.

Why it was flagged

The script automatically reads recent chat session JSONL files, appends selected user/assistant content to persistent memory files, and indexes that memory for future retrieval.

Skill content
RECENT_SESSION=$(find "$SESSIONS_DIR" -name "*.jsonl" -mmin -360 2>/dev/null | head -1) ... with open(output_file, 'a') as f: ... openclaw memory index --agent "$AGENT_ID"
Recommendation

Only enable this if you want chat history stored as memory; add explicit opt-in, path limits, redaction before storage/indexing, retention/deletion controls, and a way to review captured content.

What this means

Running this helper can use the user's LLM provider credentials and may incur API usage or send memory content to the configured provider endpoint.

Why it was flagged

The included summarizer reads the local OpenClaw provider configuration and uses the configured API key, but the registry metadata declares no credentials or required config paths.

Skill content
config_file = os.path.expanduser("~/.openclaw/openclaw.json") ... api_key = provider.get('apiKey', '') ... headers={ "Authorization": f"Bearer {api_key}", "Content-Type": "application/json" }
Recommendation

Declare this credential/config access clearly, require user confirmation before provider calls, and document exactly what content is sent and to which endpoint.

What this means

Users may trust the skill with secrets because it claims redaction, while the included implementation does not consistently demonstrate that protection.

Why it was flagged

The documentation promises automatic sensitive-data redaction before LLM use, but the provided scripts show memory content being persisted and the summarizer sending recent memory content to a provider without a visible redaction step.

Skill content
🔒 敏感信息保护 | 自动检测并脱敏 API Key、Token、密码等 ... 2. 发送给 LLM 前脱敏
Recommendation

Implement and test redaction in every path before writing memory or making LLM calls, or remove/qualify the privacy claim so users can make an informed choice.

What this means

Incorrect, sensitive, or prompt-injection-like content from one conversation could be carried into shared memory and affect later agents or sessions.

Why it was flagged

The script writes automatically detected errors and best-practice snippets into a shared learnings area, allowing one session's extracted content to propagate beyond the originating agent/workspace.

Skill content
SHARED_LEARNINGS="$HOME/.openclaw/workspace/.learnings/shared" ... with open(shared_errors, 'a') as f: ... with open(shared_best, 'a') as f:
Recommendation

Make cross-agent sharing opt-in, redact shared entries, label their source, and require review before shared memories are reused.

What this means

If enabled in HEARTBEAT.md, memory updates may keep running automatically rather than only when manually requested.

Why it was flagged

The skill explicitly documents heartbeat-triggered automatic memory updates; this is aligned with the stated purpose but creates continuing background-like behavior once configured.

Skill content
## 配置 HEARTBEAT.md ... ~/.openclaw/scripts/extract-memory.sh main ... ~/.openclaw/scripts/update-long-memory.sh main
Recommendation

Enable heartbeat automation only if you want ongoing memory capture, and document how to disable it and clean up generated memory/index files.

What this means

Users may need to obtain or create an unreviewed helper script to follow the documented setup.

Why it was flagged

The documentation instructs users to install and run update-long-memory.sh, but that file is not in the provided manifest and there is no install spec, leaving part of the intended workflow outside the reviewed artifacts.

Skill content
# update-long-memory.sh ... chmod +x ~/.openclaw/scripts/update-long-memory.sh
Recommendation

Include all referenced scripts in the package or remove the instruction, and provide an install spec that matches the reviewed files.