Borrowing it
Nothing to install: this file belongs to verygoodplugins/mcp-automem. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/verygoodplugins/mcp-automem/main/AGENTS.mdgit clone --depth 1 https://github.com/verygoodplugins/mcp-automemWrote 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.
[](https://agentmods.dev/instructions/verygoodplugins/mcp-automem/agents-md)<a href="https://agentmods.dev/instructions/verygoodplugins/mcp-automem/agents-md"><img src="https://agentmods.dev/badge/instructions/verygoodplugins/mcp-automem/agents-md/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.
<a href="https://agentmods.dev/instructions/verygoodplugins/mcp-automem/agents-md"><img src="https://agentmods.dev/badge/instructions/verygoodplugins/mcp-automem/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.09957 | $0.09957 |
| Opus 5.5 | $0.03983 | $0.03983 |
| Sonnet 5.5 | $0.01991 | $0.01991 |
| Haiku 4.5 | $0.00996 | $0.00996 |
Grade B, and why
mcp-automem AGENTS.md scanned grade B 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 2d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- **CLI installer (settings-level alternative + migration path):** the `claude-code` command writes hook scripts into `~/.claude/hooks/` and merges hook registrations plus exactly the six `mcp__memory__*` permissions int How it starts
The opening of the file, as written. The whole thing — 620 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This file provides guidance to coding agents (Claude Code, Cursor, Codex, etc.) when working with code in this repository. It is the single source of truth; CLAUDE.md imports it via @AGENTS.md.
Migration note: if you previously had a local, gitignored AGENTS.md, delete it before pulling (or run git clean -f AGENTS.md) to avoid checkout/merge errors.
Project Overview
MCP AutoMem is an MCP (Model Context Protocol) server that bridges AI assistants like Claude with the AutoMem memory service. It enables AI to store, recall, and associate memories using FalkorDB (graph database) and Qdrant (vector search).
Core Purpose:
- Translate MCP tool calls into AutoMem API requests
- Provide memory management for AI assistants (storage, hybrid search, relationships)
- Support Claude Code integration with session-recall and opt-in storage-nudge hooks
Build & Development
# Build TypeScript to dist/
npm run build
# Development with hot-reload
npm run dev
# Test server help output
npm test
# Publish preparation
npm run prepublishOnly # Runs build automatically
# Formatting (CI runs format:check before lint)
npm run format
npm run format:check
Prettier owns src/, tests/, scripts/, and repo config files. .prettierignore excludes
templates/, plugins/, and skills/ because those are regenerated by the memory-policy
sync on every build — formatting them would fight the generator. Markdown is excluded too:
tests/docs/integration-coverage.test.ts asserts against README/INSTALLATION prose and table
sections, so reflowing them risks silent coverage breakage.
Four JSON files are checked with Prettier's json-stringify parser instead of its default
json parser, through an overrides block in .prettierrc: manifest.json, server.json,
.claude-plugin/marketplace.json and .release-please-manifest.json. Release Please rewrites
all four on a release PR, and each of its JSON updaters ends in jsonStringify —
JSON.stringify(parsed, replacer, detectIndent(content).indent) — which puts every array
element on its own line. The default parser collapses any array that fits printWidth, so the
two tools disagree permanently and format:check, which the test job runs before Build,
fails the release PR. That cost a hand-fix commit on the 0.16.0 release. json-stringify
prints what JSON.stringify prints, which is why package.json was never affected — Prettier
infers that parser for it by default. Keeping these four on it means Prettier still validates
them and the release PR's diff stays at the version line. Add any new json-type extra-files
entry to that overrides block as well.
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.
- 2d ago Changed · -76 lines · -1,396 tokens per session 824971fc0d34
- 4d ago Changed · +21 lines · +409 tokens per session e07d5d77db18
- 5d ago Changed · +139 lines · +2,772 tokens per session d210fe185ce2
- 1mo ago First seen · 536 lines · 8,172 tokens per session scan B b739fff23c9f
mcp-automem AGENTS.md is an instructions file published in the GitHub repository verygoodplugins/mcp-automem (66 stars, last pushed 2d ago), licensed MIT. It adds 9,957 tokens to every session, about $0.0398 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.