← Back to Skills Marketplace
vnesin-sarai

Rewind Memory — Persistent Bio-Inspired Memory for AI Agents

by SARAI Defence · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
68
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install rewind-memory
Description
Persistent, bio-inspired memory for AI agents. 5-layer architecture (L0-L4) with BM25 keyword search, knowledge graph, vector similarity, and HybridRAG fusio...
Usage Guidance
This skill appears to do what it says: it automatically captures edits, tool outputs, and conversation turns and stores them in a local ~/.rewind data directory; it will also search that memory and inject relevant context into prompts. Things to consider before enabling: - Privacy: Hooks may capture command outputs and file contents (including secrets accidentally printed to stdout). Audit what your tools output and avoid storing sensitive data. - Pro / cloud features: The Pro path sends queued text to an external Modal endpoint using an auth token stored in ~/.rewind/config.yaml; only configure this if you trust the remote service and keep the auth token secret. - Local binaries: The hooks call an external 'rewind' CLI and may call 'ollama pull' during setup; ensure you inspect/approve those tools and their network activity before running them. - Config review: Inspect ~/.rewind/config.yaml (or REWIND_DATA_DIR) before use to confirm providers, endpoints, and tokens. - Minimizing risk: If you want memory but not automatic capture, disable or remove the hooks, or decline to enable Pro/cloud features. If you have low tolerance for automated context injection, do not enable the UserPromptSubmit/PostToolUse hooks. Overall the package is internally coherent (benign), but it has meaningful privacy and exfiltration implications if you enable Pro or provide external endpoints — review configs and opt-ins carefully.
Capability Analysis
Type: OpenClaw Skill Name: rewind-memory Version: 1.0.0 The skill implements a persistent memory system that captures user prompts, command outputs, and file edits, storing them locally or exfiltrating them to a remote Modal endpoint in the 'Pro' tier (hooks/post_tool_use.py, hooks/session_end.py). While these actions align with the stated purpose of building a 'knowledge graph,' the implementation contains shell injection vulnerabilities in several command files (e.g., commands/rewind-search.md, commands/rewind-recall.md) where the agent is instructed to pass raw user arguments into shell commands. Furthermore, the automatic capture of all 'bash' and 'execute' tool outputs poses a significant risk of capturing and transmitting sensitive data like credentials or API keys to the saraidefence.com infrastructure.
Capability Tags
crypto
Capability Assessment
Purpose & Capability
Name/description align with the provided files and hooks. The package implements layered memory (search, KG, vectors), provides CLI integration, and registers hooks to capture and index session data — all consistent with a 'persistent memory' skill.
Instruction Scope
Runtime hooks capture file edits, command outputs, and user prompts and will index or store those as memory. UserPrompt injects prior context into system messages. This scope is consistent with the memory use-case but has high privacy impact (it may capture command outputs and snippets of files automatically). The setup flow can pull local models (ollama) and writes ~/.rewind/config.yaml.
Install Mechanism
No installer spec is embedded in the skill bundle. The SKILL.md instructs users to 'pip install rewind-memory' and to optionally pull models with Ollama; code files do not download arbitrary archives themselves. No suspicious external download URLs or shorteners are embedded in the included files.
Credentials
The skill does not require platform credentials but reads several environment/config values (CLAUDE_PLUGIN_ROOT, REWIND_DATA_DIR, REWIND_API_URL) and the user-writable ~/.rewind/config.yaml. Pro features rely on modal.extract_batch_url and modal.auth_token from that config to POST queued texts to an external Modal endpoint — this is justified by the Pro workflow but is sensitive and should only be enabled with trusted endpoints and tokens.
Persistence & Privilege
The skill registers hooks (PostToolUse, Stop, UserPromptSubmit) that run local Python scripts and write persistent data under ~/.rewind (and a queue directory). always:false (not force-enabled). The behavior is expected for a memory plugin, but it will persistently store session content and can autonomously inject memory into prompts.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install rewind-memory
  3. After installation, invoke the skill by name or use /rewind-memory
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release — 5-layer bio-inspired memory with BM25, knowledge graph, vector search, HybridRAG fusion, OpenClaw hooks, and MCP server
Metadata
Slug rewind-memory
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Rewind Memory — Persistent Bio-Inspired Memory for AI Agents?

Persistent, bio-inspired memory for AI agents. 5-layer architecture (L0-L4) with BM25 keyword search, knowledge graph, vector similarity, and HybridRAG fusio... It is an AI Agent Skill for Claude Code / OpenClaw, with 68 downloads so far.

How do I install Rewind Memory — Persistent Bio-Inspired Memory for AI Agents?

Run "/install rewind-memory" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Rewind Memory — Persistent Bio-Inspired Memory for AI Agents free?

Yes, Rewind Memory — Persistent Bio-Inspired Memory for AI Agents is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Rewind Memory — Persistent Bio-Inspired Memory for AI Agents support?

Rewind Memory — Persistent Bio-Inspired Memory for AI Agents is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Rewind Memory — Persistent Bio-Inspired Memory for AI Agents?

It is built and maintained by SARAI Defence (@vnesin-sarai); the current version is v1.0.0.

💬 Comments