agent-memory-mcp

agent-memory-mcp is a skill for Claude Code, Codex from benjaminasterA/antigravity-awesome-skills. It costs 26 tokens per session (554 once invoked), scanned A, a copy of agent-memory-mcp, MIT.

A persistent memory system for AI agents that stores searchable project knowledge. It organizes information into areas such as architecture, reusable patterns, and technical decisions, and connects it to project documentation.

In plain words
What is it for?
Use it to search for project knowledge or record new decisions and patterns. It requires a Node.js setup and provides commands for starting the memory server, searching memories, and writing them.
Why use it?
It prevents important project context from being lost between agent sessions. Searching and recording memories gives the agent a shared reference for earlier decisions and established practices.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to search for project knowledge or record new decisions and patterns. It requires a Node.js setup and provides commands for starting the memory server, searching memories, and writing them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benjaminastera/antigravity-awesome-skills/agent-memory-mcp
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 benjaminasterA/antigravity-awesome-skills --skill agent-memory-mcp
Clone the repo
git clone --depth 1 https://github.com/benjaminasterA/antigravity-awesome-skills

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 agent-memory-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/benjaminastera/antigravity-awesome-skills/agent-memory-mcp/github.svg)](https://agentmods.dev/skills/benjaminastera/antigravity-awesome-skills/agent-memory-mcp)
Your own site
<a href="https://agentmods.dev/skills/benjaminastera/antigravity-awesome-skills/agent-memory-mcp"><img src="https://agentmods.dev/badge/skills/benjaminastera/antigravity-awesome-skills/agent-memory-mcp/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 agent-memory-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/benjaminastera/antigravity-awesome-skills/agent-memory-mcp"><img src="https://agentmods.dev/badge/skills/benjaminastera/antigravity-awesome-skills/agent-memory-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 554 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.
Origin 83% copy Near-identical to another mod 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.00026 $0.00554
Opus 5 $0.00013 $0.00277
Sonnet 5 $0.00005 $0.00111
Haiku 4.5 $0.00003 $0.00055

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

Security

Grade A, and why

agent-memory-mcp 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 10d 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.

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.

Origin

This is a copy

83% identical to agent-memory-mcp — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/agent-memory-mcp/SKILL.md · 88 lines

How it starts

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

Agent Memory Skill

This skill provides a persistent, searchable memory bank that automatically syncs with project documentation. It runs as an MCP server to allow reading/writing/searching of long-term memories.

Prerequisites

  • Node.js (v18+)

Setup

  1. Clone the Repository: Clone the agentMemory project into your agent's workspace or a parallel directory:

    git clone https://github.com/webzler/agentMemory.git .agent/skills/agent-memory
    
  2. Install Dependencies:

    cd .agent/skills/agent-memory
    npm install
    npm run compile
    
  3. Start the MCP Server: Use the helper script to activate the memory bank for your current project:

    npm run start-server <project_id> <absolute_path_to_target_workspace>
    

    Example for current directory:

    npm run start-server my-project $(pwd)
    

Capabilities (MCP Tools)

memory_search

Search for memories by query, type, or tags.

  • Args: query (string), type? (string), tags? (string[])
  • Usage: "Find all authentication patterns" -> memory_search({ query: "authentication", type: "pattern" })

memory_write

Record new knowledge or decisions.

  • Args: key (string), type (string), content (string), tags? (string[])
  • Usage: "Save this architecture decision" -> memory_write({ key: "auth-v1", type: "decision", content: "..." })

memory_read

Retrieve specific memory content by key.

  • Args: key (string)
  • Usage: "Get the auth design" -> memory_read({ key: "auth-v1" })

memory_stats

View analytics on memory usage.

  • Usage: "Show memory statistics" -> memory_stats({})

Dashboard

This skill includes a standalone dashboard to visualize memory usage.

npm run start-dashboard <absolute_path_to_target_workspace>

Access at: http://localhost:3333

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Read the full file on GitHub · 88 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. 10d ago First seen · 88 lines · 26 tokens per session scan A 9fc0bf89b0a2

Subscribe to this mod's changes

agent-memory-mcp is a skill published in the GitHub repository benjaminasterA/antigravity-awesome-skills (261 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 554 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 83% identical to agent-memory-mcp, differing in 7 lines, and is treated as a copy.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

shellm

Reference for the shellm system — recursive LLM shell, identity management, memory, skills, trajectory, and all CLI tools. Use when working on shellm itself, debugging agent behavior, or understanding how the pieces fit together.

laude-institute/headlong · 49 tokens