AGENT SKILL

simplemem

Efficient Lifelong Memory for LLM Agents - semantic compression, cross-session memory, and intent-aware retrieval

License 许可
MIT
最近更新
2026-06-07
Stars
★ 0
Forks
1

01 前言 Front Matter

name
simplemem
version
1.0.0
metadata
{ "openclaw": { "emoji": "🧠", "homepage": "https://github.com/aiming-lab/SimpleMem", "requires": { "env": [ "OPENAI_API_KEY" ], "bins": [ "python" ] }, "primaryEnv": "OPENAI_API_KEY" } }
description
Efficient Lifelong Memory for LLM Agents - semantic compression, cross-session memory, and intent-aware retrieval

03 SKILL.md 正文

SimpleMem Skill

Integrates SimpleMem: Efficient Lifelong Memory for LLM Agents into OpenClaw.

What it does

SimpleMem provides semantic memory compression and retrieval for agents:

  • Store: Compresses interactions into compact memory units
  • Synthesize: Merges related memories on-the-fly
  • Retrieve: Intent-aware planning for efficient context retrieval

Installation

# Install Python dependency
pip install simplemem

# Or via repo
git clone https://github.com/aiming-lab/SimpleMem.git
cd SimpleMem
pip install -r requirements.txt

Configuration (Optional - Full Features)

For full SimpleMem features, set your OpenAI API key:

$env:OPENAI_API_KEY = "your-openai-key"

Without API key: Uses JSON fallback (basic keyword search) With API key: Uses full SimpleMem with semantic embeddings

Usage

PowerShell Script

# Agregar memoria
.\simplemem.ps1 -Action add -Content "El usuario prefiere cafe con leche de avena"

# Buscar memorias
.\simplemem.ps1 -Action search -Query "cafe"

# Ver estadisticas
.\simplemem.ps1 -Action stats

Python API

from simplemem import SimpleMemSystem, set_config, SimpleMemConfig

# With API key (full features)
config = SimpleMemConfig()
config.openai_api_key = "your-key"
set_config(config)
system = SimpleMemSystem()

# Add memory
system.add("User preference: coffee with oat milk", user_id="user1")

# Retrieve
results = system.retrieve("What does user like?", user_id="user1")

Key Features

  • Cross-session memory: Persistent across conversations (64% better than Claude-Mem)
  • Semantic compression: 43.24% F1 on LoCoMo benchmark
  • Fast retrieval: 388ms average retrieval time
  • Multi-index: Semantic + Lexical + Symbolic layers
  • Fallback: JSON-based storage when no API key available

Files

  • simplemem.py - Main Python wrapper
  • simplemem.ps1 - PowerShell CLI script
  • data/ - Storage directory (created on first use)

Credits

04 同仓库更多 Skills

javimosch
javimosch/open-claw-skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

★ 0
javimosch
javimosch/open-claw-skills

ceaser

Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).

★ 0
javimosch
javimosch/open-claw-skills

ceaser-send

Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.

★ 0
javimosch
javimosch/open-claw-skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

★ 0
javimosch
javimosch/open-claw-skills

moldium

Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.

★ 0
javimosch
javimosch/open-claw-skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.

★ 0