automem

automem is a skill for Claude Code from verygoodplugins/mcp-automem. It costs 16 tokens per session (559 once invoked), scanned A, original, MIT.

A legacy AutoMem memory skill that communicates with the memory service through HTTP requests made with curl. It documents how to store, recall, update, and delete memories.

In plain words
What is it for?
Use it in legacy integrations that need curl commands for saving project context, searching memories, changing stored information, or deleting it.
Why use it?
It supports setups that do not use the newer native AutoMem tools, but requires configured service and authentication environment variables.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: built for openclaw.

Good fit Use it in legacy integrations that need curl commands for saving project context, searching memories, changing stored information, or deleting it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/verygoodplugins/mcp-automem/skill-legacy
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 verygoodplugins/mcp-automem --skill skill-legacy
Clone the repo
git clone --depth 1 https://github.com/verygoodplugins/mcp-automem

Made for: Claude Code.

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 automem

README.md
[![agentmods](https://agentmods.dev/badge/skills/verygoodplugins/mcp-automem/skill-legacy/github.svg)](https://agentmods.dev/skills/verygoodplugins/mcp-automem/skill-legacy)
Your own site
<a href="https://agentmods.dev/skills/verygoodplugins/mcp-automem/skill-legacy"><img src="https://agentmods.dev/badge/skills/verygoodplugins/mcp-automem/skill-legacy/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 automem

Your own site · 80×15
<a href="https://agentmods.dev/skills/verygoodplugins/mcp-automem/skill-legacy"><img src="https://agentmods.dev/badge/skills/verygoodplugins/mcp-automem/skill-legacy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 559 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Memory Poisoning · line 52
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
  • medium Data Exfiltration · line 25
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00016 $0.00559
Opus 5 $0.00008 $0.00280
Sonnet 5 $0.00003 $0.00112
Haiku 4.5 $0.00002 $0.00056

Measured 9d ago against content hash 1dba8bb8fef7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

automem scanned grade A with 1 finding 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 9d ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

description: Persistent AutoMem memory via the legacy curl-based AutoMem skill.
templates/openclaw/skill-legacy/SKILL.md · 69 lines

What it actually says

AutoMem Legacy Skill

This mode uses direct HTTP calls with curl.

API usage

Base URL: $AUTOMEM_API_URL

Store memory:

curl -s -X POST "$AUTOMEM_API_URL/memory" \
  -H "Content-Type: application/json" \
  ${AUTOMEM_API_KEY:+-H "Authorization: Bearer $AUTOMEM_API_KEY"} \
  -d '{
    "content": "Brief title. Context and details. Impact/outcome.",
    "tags": ["project-slug", "decision"],
    "importance": 0.7
  }'

Recall memory:

curl -s \
  ${AUTOMEM_API_KEY:+-H "Authorization: Bearer $AUTOMEM_API_KEY"} \
  "$AUTOMEM_API_URL/recall?query=QUERY&limit=20&format=detailed"

Update memory:

curl -s -X PATCH "$AUTOMEM_API_URL/memory/MEMORY_ID" \
  -H "Content-Type: application/json" \
  ${AUTOMEM_API_KEY:+-H "Authorization: Bearer $AUTOMEM_API_KEY"} \
  -d '{"content":"Updated context."}'

Delete memory:

curl -s -X DELETE "$AUTOMEM_API_URL/memory/MEMORY_ID" \
  ${AUTOMEM_API_KEY:+-H "Authorization: Bearer $AUTOMEM_API_KEY"}

Rules

  • Recall preferences first with tags=preference, then task context with one semantic query built from the user's actual nouns.
  • For debugging, recall with the error symptom as the semantic query and no tags= parameters — bugfix/solution tagging is incomplete, and a tag gate hides cross-corpus fixes.
  • Tags are a hard gate. Use bare tags only, and avoid platform tags like openclaw.
  • Store durable outcomes only.
  • Default project tags belong on stores, not on every recall.
  • If delete targets are ambiguous, recall likely matches first and ask for confirmation before deleting.
  • Use memory-core and local memory files alongside AutoMem when file-backed notes are useful.
  • Only call /health when AutoMem requests are failing and you need to debug the connection.
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. 9d ago First seen · 69 lines · 16 tokens per session scan A 1dba8bb8fef7

Subscribe to this mod's changes

automem is a skill published in the GitHub repository verygoodplugins/mcp-automem (64 stars, last pushed 5d ago), licensed MIT. It adds 16 tokens to every session and 559 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

omnigraph

Operate OmniGraph graphs and deployments. Use for .pg schemas, .gq queries, OmniGraph CLI commands, file:///s3:///az:// graph URIs, cluster.yaml, operator config, bearer-authenticated servers, graph-backed knowledge or memory, Blob values, embeddings, branches, commits, and change feeds. Apply especially before schema…

ModernRelay/omnigraph · 94 tokens

codebase-memory

Use the codebase knowledge graph for structural code queries. Triggers on: explore the codebase, understand the architecture, what functions exist, show me the structure, who calls this function, what does X call, trace the call chain, find callers of, show dependencies, impact analysis, dead code, unused functions…

narumiruna/pi-extensions · 98 tokens

context-recovery

Recovers project handoff context from local Codex, Claude Code, Gemini, CodeBuddy, and codexmate-derived sessions. Use when the user asks what happened in prior project/PR/branch/file/error work, needs a handoff brief, wants old decisions or validations recovered, or asks to summarize cross-session project activity…

SakuraByteCore/codexmate · 72 tokens

refactor-memory

Use when about to refactor or refine Claude Code auto memory, the MEMORY.md index and its topic files, to delete stale or derivable memories, fix inconsistencies, promote standing decisions to CLAUDE.md or rules, and regroup the index. Not for CLAUDE.md or rules files themselves.

vinta/hal-9000 · 64 tokens

Wikimate Query

A read-only search and question-answering workflow for a personal Wikimate knowledge base, made from an Obsidian note vault and a Notion index. It checks that note files really exist before using them as evidence.

sodam-ai/SoDam-WikiMate · 200 tokens

Wikimate Summarize

A note-summarizing workflow for Wikimate, a personal note system. It creates a one-line summary or, when needed, a separate atomic note containing the main idea.

sodam-ai/SoDam-WikiMate · 158 tokens