external-memory

A skill for storing, retrieving, searching, updating, and deleting persistent semantic memories through an MCP server.

In plain words
What is it for?
Use it to retain user preferences, project facts, meeting notes, configuration details, and other information an agent may need later.
Why use it?
It keeps information available across sessions and makes it searchable by meaning, with optional organization by namespaces, tags, and metadata.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/daedalus/mcp-external-memory/external-memory
Any agent
npx skills add daedalus/mcp-external-memory --skill external-memory
Clone the repo
git clone --depth 1 https://github.com/daedalus/mcp-external-memory

Made for: Claude Code, Codex.

Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 831 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00126 $0.00831
Opus 5 $0.00063 $0.00415
Sonnet 5 $0.00025 $0.00166
Haiku 4.5 $0.00013 $0.00083

Measured yesterday against content hash 80a99f25148a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

external-memory 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 yesterday.

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.

skills/external-memory/SKILL.md · 116 lines

How it starts

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

External Memory Skill

This skill provides access to a persistent, searchable semantic memory system via the MCP (Model Context Protocol) server.

Tools Overview

The external-memory MCP server provides these tools:

Tool Description
memory_store Persist text with optional namespace/tags/metadata
memory_search Semantic search using cosine similarity
memory_get Retrieve a single memory by ID
memory_delete Delete a memory by ID
memory_list List memories with filtering and pagination
memory_stats Get statistics (counts, namespaces)
memory_update Update an existing memory

Storing Memories

Call memory_store to persist information:

# Basic storage
memory_store(content="Alice prefers dark mode", namespace="users")

# With tags
memory_store(
    content="The API endpoint is https://api.example.com/v1",
    namespace="config",
    tags=["api", "production"]
)

# With metadata
memory_store(
    content="Meeting with Bob at 3pm",
    namespace="meetings",
    metadata={"date": "2026-04-13", "attendees": ["alice", "bob"]}
)

Parameters:

  • content (required): The text to store
  • namespace: Logical collection (default: "default")
  • tags: Optional list of tags for filtering
  • metadata: Arbitrary JSON metadata
  • id: Optional stable ID for upserts

Searching Memories

Call memory_search for semantic similarity search:

# Basic search
memory_search(query="what does Alice prefer?")

# With filters
memory_search(
    query="API configuration details",
    namespace="config",
    tags=["api"],
    top_k=10,
    min_score=0.7
)

Returns results sorted by cosine similarity score.

Retrieving Specific Memories

# By ID
memory_get(id="uuid-here")

# List with filtering
memory_list(namespace="users", tags=["alice"], limit=20, offset=0)

Updating and Deleting

# Update
memory_update(id="uuid", content="new content", tags=["updated"])

# Delete
memory_delete(id="uuid")

Read the full file on GitHub · 116 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. yesterday First seen · 116 lines · 126 tokens per session scan A 80a99f25148a

Subscribe to this mod's changes

external-memory is a skill published in the GitHub repository daedalus/mcp-external-memory (0 stars, last pushed 4mo ago), licensed MIT. It adds 126 tokens to every session and 831 once invoked, about $0.0006 per session on Opus 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-31.

Related

Other skills, from other repositories