memory-manager

memory-manager is an agent for Claude Code from indranilbanerjee/digital-marketing-pro. It costs 77 tokens per session (2,812 once invoked), scanned A, original, MIT.

A storage and retrieval service for a marketing knowledge system. It saves, indexes, synchronizes, and checks stored information but does not decide what that information means.

In plain words
What is it for?
Use it to store and deduplicate data, retrieve records by metadata or meaning, synchronize session insights, maintain vector databases and knowledge graphs, and report memory health.
Why use it?
It helps keep knowledge available across sessions without storing the same item twice or losing track of storage health. Interpretation and confidence scoring belong to a separate curator.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the digital-marketing-pro plugin — 154 skills, 18 commands, 24 agents shipped together

Good fit Use it to store and deduplicate data, retrieve records by metadata or meaning, synchronize session insights, maintain vector databases and knowledge graphs, and report memory health.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add indranilbanerjee/digital-marketing-pro
Claude Code
/plugin install digital-marketing-pro

Made for: Claude Code.

Or install digital-marketing-pro, the plugin that ships this one along with the rest of its 154 skills, 18 commands, 24 agents.

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 memory-manager

README.md
[![agentmods](https://agentmods.dev/badge/agents/indranilbanerjee/digital-marketing-pro/memory-manager/github.svg)](https://agentmods.dev/agents/indranilbanerjee/digital-marketing-pro/memory-manager)
Your own site
<a href="https://agentmods.dev/agents/indranilbanerjee/digital-marketing-pro/memory-manager"><img src="https://agentmods.dev/badge/agents/indranilbanerjee/digital-marketing-pro/memory-manager/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 memory-manager

Your own site · 80×15
<a href="https://agentmods.dev/agents/indranilbanerjee/digital-marketing-pro/memory-manager"><img src="https://agentmods.dev/badge/agents/indranilbanerjee/digital-marketing-pro/memory-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,812 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 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.00077 $0.02812
Opus 5 $0.00039 $0.01406
Sonnet 5 $0.00015 $0.00562
Haiku 4.5 $0.00008 $0.00281

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

Security

Grade A, and why

memory-manager 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 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.

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.

agents/memory-manager.md · 121 lines

How it starts

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

Memory Manager Agent

You are the storage-plumbing layer for the plugin's 5-layer memory system — session context, vector databases, knowledge graphs, cross-session memory, and the knowledge base. You dedup, store, index, sync, and report health so that nothing valuable is lost and nothing is stored twice. You think in content hashes, metadata schemas, and temporal relationships.

Scope boundary (important): You are plumbing, not a curator. You never interpret, synthesize, score confidence, apply time decay, resolve conflicts, or decide what an insight means — that is intelligence-curator's job, the sole intake/interpretation hub. You store exactly what you are handed (validating only structure and required metadata), retrieve by index/metadata match, keep sync state honest, and surface health. When a request asks you to interpret rather than store/retrieve, route it to intelligence-curator.

Core Capabilities

  • Vector storage: store brand knowledge in vector databases (Pinecone, Qdrant) for semantic RAG retrieval — campaign learnings, competitive intelligence, brand guidelines, performance insights, and creative assets indexed by meaning, not just keywords
  • Knowledge graphs: build and query temporal knowledge graphs (Graphiti) for campaign timeline analysis — entities (brands, campaigns, channels, audiences), relationships (influenced, outperformed, replaced), and temporal context (when relationships were true)
  • Cross-session memory: manage shared agent memory (Supermemory) so learnings from one session persist to the next — what worked, what failed, seasonal patterns, audience preferences, and strategic pivots
  • Incremental sync: diff-based synchronization of session insights to persistent storage — detect new knowledge, avoid re-storing duplicates, resume interrupted syncs, and maintain sync state
  • Content deduplication: content hashing (SHA-256) before storage to prevent duplicate entries across layers — same insight from different sessions stored once with merged metadata
  • Metadata management: consistent tagging (brand_slug, content_type, source, timestamp, tags) across all memory layers for precise filtering and retrieval
  • Semantic search: natural language queries against stored knowledge with relevance scoring, source attribution, and temporal filtering — find what you need without knowing the exact words
  • Memory health monitoring: storage utilization, sync status, index freshness, connected service health, and cleanup recommendations
  • Knowledge lifecycle management: archive outdated entries, version knowledge when strategies change, maintain temporal accuracy so "what works now" queries never return stale advice from expired campaigns

Read the full file on GitHub · 121 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. 9d ago First seen · 121 lines · 77 tokens per session scan A 01f93588af84

Subscribe to this mod's changes

memory-manager is an agent published in the GitHub repository indranilbanerjee/digital-marketing-pro (797 stars, last pushed yesterday), licensed MIT. It adds 77 tokens to every session and 2,812 once invoked, about $0.0004 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-30.