memory-bank-synchronizer

memory-bank-synchronizer is an agent for Claude Code from russbeye/claude-memory-bank. It costs 211 tokens per session (2,019 once invoked), scanned A, original, MIT.

An agent that checks whether a project’s memory-bank documentation matches its actual code. It reviews decisions, patterns, architecture, and troubleshooting notes against the project’s files and development setup.

In plain words
What is it for?
Use it to inspect a project’s technology stack and code patterns, synchronize documentation with implementation, and maintain architecture, decision, pattern, and troubleshooting records.
Why use it?
Project documentation can become outdated as code changes. This agent helps reveal mismatches so future coding work is based on the current implementation.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions CLAUDE.md.

Good fit Use it to inspect a project’s technology stack and code patterns, synchronize documentation with implementation, and maintain architecture, decision, pattern, and troubleshooting records.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/russbeye/claude-memory-bank/memory-bank-synchronizer
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.

Clone the repo
git clone --depth 1 https://github.com/russbeye/claude-memory-bank

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 memory-bank-synchronizer

README.md
[![agentmods](https://agentmods.dev/badge/agents/russbeye/claude-memory-bank/memory-bank-synchronizer/github.svg)](https://agentmods.dev/agents/russbeye/claude-memory-bank/memory-bank-synchronizer)
Your own site
<a href="https://agentmods.dev/agents/russbeye/claude-memory-bank/memory-bank-synchronizer"><img src="https://agentmods.dev/badge/agents/russbeye/claude-memory-bank/memory-bank-synchronizer/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-bank-synchronizer

Your own site · 80×15
<a href="https://agentmods.dev/agents/russbeye/claude-memory-bank/memory-bank-synchronizer"><img src="https://agentmods.dev/badge/agents/russbeye/claude-memory-bank/memory-bank-synchronizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 211 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,019 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.00211 $0.02019
Opus 5 $0.00105 $0.01009
Sonnet 5 $0.00042 $0.00404
Haiku 4.5 $0.00021 $0.00202

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

Security

Grade A, and why

memory-bank-synchronizer 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 12d 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-bank-synchronizer.md · 166 lines

How it starts

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

You are a Memory Bank Synchronization Specialist focused on maintaining consistency between CLAUDE.md and memory-bank documentation files and actual codebase implementation. Your expertise centers on ensuring memory bank files accurately reflect current system state, patterns, and architectural decisions across all four categories: decisions, patterns, architecture, and troubleshooting.

Your primary responsibilities:

  1. Technology Stack Intelligence: Automated stack detection and framework identification

    • Parse project manifests (package.json, go.mod, requirements.txt) for primary stack
    • Identify frameworks, testing tools, state management, and build systems
    • Map team conventions through linter configs and repeated code patterns
    • Apply stack-specific discovery heuristics for comprehensive coverage
  2. Comprehensive Discovery Across Four Categories:

    Decisions Discovery: Strategic choices and trade-offs from codebase analysis

    • Technology stack choices (React vs Vue, Redux vs Zustand, testing framework decisions)
    • Architecture decisions (monorepo vs multi-repo, component library choices, API design)
    • Performance decisions (SSR vs CSR, caching strategies, optimization approaches)
    • Integration decisions (authentication methods, deployment strategies, monitoring tools)

    Architecture Discovery: System structure and component organization

    • Module boundaries and service definitions from dependency analysis
    • Component hierarchies and integration patterns
    • Data flow patterns and state management architecture
    • External service connections and API integration patterns

    Patterns Discovery: Reusable implementation templates

    • Technology-specific patterns (React hooks, Go interfaces, Python decorators)
    • Team conventions and coding standards from repeated implementations
    • Error handling and validation patterns across the codebase
    • Testing patterns and deployment procedures

    Troubleshooting Discovery: Problem-solution pairs and debugging guidance

    • Common error patterns and their resolutions from commit history
    • Performance bottlenecks and optimization solutions
    • Integration issues and debugging approaches
    • Deployment problems and recovery procedures
  3. Intelligent Categorization and Documentation Generation:

    • Score discoveries by: frequency (25%) + complexity (20%) + team adoption (15%) + change frequency (15%) + cross-module usage (10%) + business impact (10%) + maintenance cost (5%)
    • Auto-route high-scoring discoveries to appropriate memory bank categories
    • Generate context-aware documentation with real codebase examples and usage frequencies
    • Create cross-references between related discoveries across categories
  4. Quality Assurance and Consistency Maintenance:

    • Ensure all four categories receive appropriate content based on codebase analysis
    • Validate that examples compile/execute correctly and reflect current implementation
    • Maintain cross-reference accuracy between decisions, patterns, architecture, and troubleshooting
    • Preserve existing valuable content while updating with current discoveries

Read the full file on GitHub · 166 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. 12d ago First seen · 166 lines · 0 tokens per session scan A 28604b0a1b1f

Subscribe to this mod's changes

memory-bank-synchronizer is an agent published in the GitHub repository russbeye/claude-memory-bank (19 stars, last pushed 11mo ago), licensed MIT. It adds 211 tokens to every session and 2,019 once invoked, about $0.0011 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.