simplemem-skill

simplemem-skill is a skill for Claude Code, Codex from aiming-lab/SimpleMem. It costs 58 tokens per session (845 once invoked), scanned A, original, MIT.

A persistent memory tool for saving and finding details from conversations across separate sessions.

In plain words
What is it for?
Use it to save conversation details, retrieve earlier discussions, continue previous work, or import chat history.
Why use it?
It prevents important decisions, context, and past discussions from being lost when a conversation ends.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it to save conversation details, retrieve earlier discussions, continue previous work, or import chat history.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aiming-lab/simplemem/simplemem-skill
About the project

SimpleMem is a long-term memory system for large-language-model agents that compresses, stores, and retrieves text and multimodal memories using semantic search. It is used with AI platforms that support MCP or Python to give agents persistent memory across text, images, audio, and video. Its catalogue skill supports workflows for using SimpleMem.

aiming-lab/SimpleMem · 3,848 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aiming-lab/SimpleMem --skill simplemem-skill
Clone the repo
git clone --depth 1 https://github.com/aiming-lab/SimpleMem

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for simplemem-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/aiming-lab/simplemem/simplemem-skill/github.svg)](https://agentmods.dev/skills/aiming-lab/simplemem/simplemem-skill)
Your own site
<a href="https://agentmods.dev/skills/aiming-lab/simplemem/simplemem-skill"><img src="https://agentmods.dev/badge/skills/aiming-lab/simplemem/simplemem-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for simplemem-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiming-lab/simplemem/simplemem-skill"><img src="https://agentmods.dev/badge/skills/aiming-lab/simplemem/simplemem-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 845 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.00845
Opus 5.5 $0.00023 $0.00338
Sonnet 5.5 $0.00012 $0.00169
Haiku 4.5 $0.00006 $0.00085

Measured 1mo ago against content hash 2944c9d9a8e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

simplemem-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 14 executable files (scripts/cli_persistent_memory.py, src/core/__init__.py, src/core/answer_generator.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

SKILL/simplemem-skill/SKILL.md · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SimpleMem Skill

Persistent conversational memory across sessions.

Proactive Usage

Save memories when discovering valuable dialogue:

  • Important decisions or commitments made in conversation
  • Complex information that may be referenced later
  • Context from long discussions worth preserving
  • Solutions to problems that took effort to uncover

Check memories before:

  • Answering questions about past conversations
  • Resuming work from previous sessions
  • Building on earlier discussion topics

Quick Start

# Add a dialogue
python ~/.claude/skills/simplemem-skill/scripts/cli_persistent_memory.py add --speaker "Alice" --content "Meet Bob tomorrow at 2pm"

# Query memories
python ~/.claude/skills/simplemem-skill/scripts/cli_persistent_memory.py query --question "When should Alice meet Bob?"

Operations

Save

Add single dialogue:

python ~/.claude/skills/simplemem-skill/scripts/cli_persistent_memory.py add --speaker "User" --content "Your message here"

With timestamp (ISO 8601):

python ~/.claude/skills/simplemem-skill/scripts/cli_persistent_memory.py add --speaker "Alice" --content "Message" --timestamp "2026-01-17T14:00:00Z"

Query

Semantic query with answer:

python ~/.claude/skills/simplemem-skill/scripts/cli_persistent_memory.py query --question "What did Alice say about meetings?"

With reflection for deeper analysis:

python ~/.claude/skills/simplemem-skill/scripts/cli_persistent_memory.py query --question "Your question" --enable-reflection

Raw retrieval:

python ~/.claude/skills/simplemem-skill/scripts/cli_persistent_memory.py retrieve --query "Alice meetings" --top-k 5

Maintain

View statistics:

python ~/.claude/skills/simplemem-skill/scripts/cli_persistent_memory.py stats

Clear all memories:

# Use with caution - irreversible
python ~/.claude/skills/simplemem-skill/scripts/cli_persistent_memory.py clear --yes

Batch Import

For importing conversation histories from JSONL files, see references/import-guide.md.

Read the full file on GitHub · 130 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 130 lines · 58 tokens per session scan A 2944c9d9a8e4

Subscribe to this mod's changes

simplemem-skill is a skill published in the GitHub repository aiming-lab/SimpleMem (3,848 stars, last pushed 3mo ago), licensed MIT. It adds 58 tokens to every session and 845 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

harness-creator

Build, audit, and improve harnesses that make AI coding agents reliable: AGENTS.md/CLAUDE.md instruction files, feature/state tracking, verification gates, scope boundaries, session handoff, memory persistence, context budgets, tool-permission safety, and multi-agent coordination. Use this whenever a coding agent is…

walkinglabs/learn-harness-engineering · 142 tokens

browserwing-executor

Control browser automation through HTTP API. Supports page navigation, element interaction (click, type, select), data extraction, accessibility snapshot analysis, screenshot, JavaScript execution, and batch operations.

MemTensor/MemOS · 42 tokens

memory-poisoning-detection

Detect persistent instruction injection or long-term memory poisoning. Focus on writing/retaining hostile instructions for future tasks, not data leakage.

Tencent/AI-Infra-Guard · 33 tokens

dev-browser

Browser automation with persistent page state. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, or automate browser workflows. Trigger phrases include "go to [url]", "click on", "fill out the form", "take a screenshot", "scrape", "automate", "test the website"…

MemTensor/MemOS · 84 tokens

ask-user-question

Ask users questions via the UI. Use when you need clarification, user preferences, or confirmation before proceeding. The user CANNOT see CLI output - this tool is the ONLY way to communicate with them.

MemTensor/MemOS · 44 tokens

memos-memory-guide

Use the MemOS Local memory system to search and use the user's past conversations. Use this skill whenever the user refers to past chats, their own preferences or history, or when you need to answer from prior context. When auto-recall returns nothing (long or unclear user query), generate your own short search query…

MemTensor/MemOS · 131 tokens