This is a persistent knowledge store for AI agents that runs as an MCP server, letting you search, write, and retrieve structured memories across sessions. It's designed for tracking architecture decisions, patterns, and context that would otherwise get lost between conversations. The setup involves cloning a repo, running an npm server with your project ID, and then Claude can query it like "find all authentication patterns" or save new decisions with tags. There's also a localhost dashboard to visualize what's been stored. Useful if you're working on a long-running project where the agent needs to remember design choices and accumulated knowledge rather than starting fresh every time.

skills.sh installs
575
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill agent-memory-mcp --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Code Review & Quality, AI & Agent Building
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1jshchnz avatarschedulerjshchnz/claude-code-schedulerSchedules Claude Code tasks to run automatically at specific times using native OS schedulers (launchd on macOS, crontab on Linux, Task Scheduler on Windows). H574skills.sh installs
2cycleuser avatarofficial-document-writercycleuser/skillsOfficial document writing assistant for Chinese government documents based on GB/T 9704-2012 standard. Triggers when: Writing Chinese official documents (公文), f573skills.sh installs
3freestylefly avatarcanghe-xhs-imagesfreestylefly/canghe-skillsGenerates Xiaohongshu (Little Red Book) infographic series with 10 visual styles and 8 layouts. Breaks content into 1-10 cartoon-style images optimized for XHS 573skills.sh installs
4alirezarezvani avataroffice-hoursalirezarezvani/claude-skills/cs:office-hours <topic> — YC-style 6-question founder interrogation before any advice. Forces clarity on problem, customer, distribution, defensibility, capita572skills.sh installs
5andreadellacorte avatargroove-daily-startandreadellacorte/grooveStart the workday: review yesterday, create today's daily memory, load tasks, prepare agenda. Use when beginning the day.572skills.sh installs
6childbamboo avatarpdf-readerchildbamboo/claude-code-marketplace-sampleReads PDF files and extracts text content in Markdown format. Handles tables and multi-page documents. Use when needing to read PDF documents. Requires pdfplumb571skills.sh installs