agentmemory

Persistent memory across coding sessions and agents, for Claude Code, Copilot CLI, Cursor, Codex, Gemini CLI and any MCP client.

  • Tool
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI
  • GitHub Copilot
  • OpenCode
  • Antigravity
  • Kiro
  • Windsurf

Install

  • Skill
    npx skills add rohitg00/agentmemory -y

Checked against the repository on November 25, 2026.

About this skill

Persistent memory that carries across coding sessions and agents. It works with Claude Code, GitHub Copilot CLI, Cursor, Gemini CLI, Codex CLI and any MCP client.

What it does

  • Reuses what was learned in earlier sessions, across different agents
  • Adds confidence scores and lifecycles to memories, with knowledge graphs and hybrid search

Notes

  • The core is a memory server (MCP); the skill teaches agents how to use it.

Included skills 17

Names and descriptions come straight from each SKILL.md.

  • agentmemory-agents

    How agentmemory wires into host coding agents via the connect command. Use when installing agentmemory into a specific agent, when asked which agents are supported, or when a connect adapter writes the wrong config path.

  • agentmemory-architecture

    How agentmemory is built, the iii engine primitives it runs on, its storage model, ports, and the viewer. Use when reasoning about how memory is stored or retrieved end to end, when extending the system, or when answering how agentmemory works under the hood.

  • agentmemory-config

    Set up and diagnose local agentmemory, including MCP, environment variables, ports, and feature flags. Use when getting started, checking a connection, enabling a feature, configuring auth, or explaining why a feature is off by default.

  • agentmemory-hooks

    The agentmemory plugin hooks that capture observations automatically across the agent session lifecycle. Use when explaining how memory gets captured without manual saves, when debugging missing observations, or when tuning what gets recorded.

  • agentmemory-mcp-tools

    Map of every agentmemory MCP tool, what each does, and its parameters. Use when choosing which memory tool to call, when a tool name or argument is unclear, or when answering what agentmemory can do via MCP.

  • agentmemory-rest-api

    The agentmemory HTTP REST API surface, the primary protocol for talking to the memory server. Use when calling agentmemory over HTTP, when MCP is unavailable and you need a fallback, or when integrating a host that does not speak MCP.

  • commit-context

    Trace a file, function, or line back to the agent session that produced its current commit. Use when the user asks "why is this code here", "what was the agent doing when this changed", "who wrote this", or wants context on a specific location in the codebase.

  • commit-history

    List recent git commits linked to agent sessions, optionally filtered by branch or repo. Use when the user asks "show agent commits", "what has the agent shipped", "list linked commits", or wants commits with their session context.

  • forget

    Delete selected durable memories from agentmemory after showing them and getting explicit confirmation. Use when the user says "forget this", "delete memory", "remove that note", or wants to scrub specific data for privacy.

  • handoff

    Resume the most recent agent session for the current working directory, leading with any unanswered question. Use when the user says "where were we", "resume", "handoff", "pick up where I left off", or starts a session with no fresh context.

  • lesson

    Save a correction or hard-won rule as a confidence-weighted lesson that resurfaces before similar work. Use when the user corrects your approach, says "learn this", "always" or "never do X", or you notice yourself repeating a past mistake.

  • memory-discipline

    The session loop that makes agentmemory pay off, recall before starting work, save at decision points, learn from corrections. Use when starting a nontrivial task, after settling a decision or debugging a gotcha, or whenever deciding if something belongs in memory.

Show 5 more
  • recall

    Search agentmemory for past observations, sessions, and learnings about a topic using hybrid BM25 plus vector plus graph search. Use when the user says "recall", "what did we do about", "did we ever", "have we seen", or needs context from past sessions.

  • recap

    Summarize the last N agent sessions for the current project, grouped by date, with highlight observations per session. Use when the user asks "recap", "what have we been doing", "today", "this week", or wants a rollup of recent work.

  • remember

    Save an insight, decision, or learning to agentmemory's long-term storage with searchable concept tags. Use when the user says "remember this", "save this", "note that", "don't forget", or wants to preserve knowledge for future sessions.

  • session-history

    Show what happened in recent past sessions on this project as a clean timeline. Use when the user asks "what did we do last time", "session history", "past sessions", or wants an overview of previous work.

  • write-agentmemory-skill

    The house format and rules for writing or updating an agentmemory skill. Use when adding a new skill, restructuring an existing one, or reviewing a skill contribution for consistency.

  • Claude-Mem

    Keeps memory across sessions: a second agent takes notes and hands the next session what matters.

    119,562 GitHub stars

    • Plugin
    • Claude Code
    • Codex
    • Cursor
    • +1
  • compound-engineering-plugin

    A plugin of 38 skills built around a loop: brainstorm, plan, build, review, then capture what you learned for the next change.

    26,219 GitHub stars

    • Plugin
    • Claude Code
    • Codex
    • Cursor
    • +5
  • context-mode

    A free, local plugin that keeps tool output out of your coding agent's context window, using a sandbox and local search.

    34,449 GitHub stars

    • Plugin
    • Claude Code
    • Codex
    • Gemini CLI
    • +3
  • ECC

    A large plugin for Claude Code, Codex, Cursor and more: skills, instincts, memory, security and research-first development.

    310,218 GitHub stars

    • Plugin
    • Claude Code
    • Codex
    • Cursor
    • +4

Found a mistake? Let us know through the contact page.