Claude Code plugin

Claude Recap

Topic-based automatic memory for Claude Code — never lose context across sessions or compactions.

39 stars 3 forksPlugins & marketplaces Plugin marketplace Source

Install

Inside Claude Code
/plugin marketplace add hatawong/claude-recap

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/hatawong/claude-recap.git

From the README

Claude-Recap

  Topic-based automatic memory for Claude Code — never lose context across sessions or compactions.

  English | 中文

The Problem

Claude Code forgets everything between sessions. Switch topics mid-conversation and the previous context is gone. Hit a context compaction and your working state evaporates. Start a new session and you're explaining the same project from scratch.

What Claude-Recap Does

Two shell hooks that run automatically — zero manual effort:

- Automatic topic archival — Every response gets a topic tag. When the topic changes, the previous one is summarized and saved to a Markdown file.
- Context injection — Each new session starts with your topic history and remembered preferences injected automatically.
- Compaction recovery — When Claude Code compacts your context, Claude-Recap cold-reads from the JSONL transcript to rebuild accurate summaries. Nothing is lost.
- /remember skill — Tell Claude to remember preferences across sessions: "always use bun", "never auto-commit". Stored in plain Markdown.

Everything is stored locally as Markdown files in ~/.memory/. No database, no cloud, no dependencies beyond bash and Node.js.

Quick Start

Plugin install (recommended)
Note: After install, restart Claude Code for hooks to take effect. /remember works immediately, but topic features (/save-topic, /list-topics, auto-archival) require the restart to inject the Topic Tag Rule.

Manual install (without plugin system)

This writes hook entries directly into your project's .claude/settings.json.

How It Works

Features

Storage

All data lives in ~/.memory/ (configurable via MEMORY_HOME env var):

Comparison

Configuration

Uninstall

Your data in ~/.memory/ is preserved — uninstalling does not delete memory files. Reinstalling restores full…
Read the full README on GitHub

How plugins work

  • A plugin bundles slash commands, subagents, skills, hooks, MCP servers and status lines so they install together.
  • Add the marketplace inside Claude Code with /plugin marketplace add hatawong/claude-recap, then run /plugin to pick what to install.
  • You can turn a plugin off again from /plugin without deleting anything.
Claude Code docs

Details

Language
JavaScript
License
MIT
Last updated
6 March 2026
Topics
agent-memoryai-memoryanthropicbashclaudeclaude-codeclaude-code-hooksclaude-code-plugincontext-managementdeveloper-toolsllm-toolsopen-source

FAQ

What is Claude Recap?

Topic-based automatic memory for Claude Code — never lose context across sessions or compactions. It is a plugin for Claude Code, from hatawong/claude-recap on GitHub.

How do I install Claude Recap?

Run /plugin marketplace add hatawong/claude-recap inside Claude Code, then follow the setup in the README.

Is Claude Recap popular?

hatawong/claude-recap has 39 GitHub stars and 3 forks, and is included in 1 curated Claude Code list. It was last updated on 6 March 2026.

More plugins & marketplaces

Browse the most popular Claude Code mods, all plugins & marketplaces, or the skills and MCP server directories.