hatawong

Claude Recap — Documentation skill for Claude Code

Documentation community intermediate

Per-topic session memory using Shell hooks — archives each conversation topic as a separate Markdown summary.

How to install Claude Recap

This entry records only its repository, not the path inside it, so there is no exact command to give. Open hatawong/claude-recap and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Recap does

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.

Alternatives in Documentation

  • Repo Recap — Generate a structured recap of the repository state: open PRs, open issues, recent releases, and executive sum 11.9k ★
  • HitCC — Complete reverse-engineering documentation of the full logic of Claude Code CLI Node.js version v2.1.84 670 ★
  • Rainman Translate Book — English 中文 Claude Code Skill,使用并行 subagent 将整本书(PDF/DOCX/EPUB)翻译成任意语言 489 ★

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)

# 1. Register the marketplace
/plugin marketplace add hatawong/claude-recap

# 2. Install the plugin (choose User scope for all projects)
/plugin install claude-recap@claude-recap-marketplace

# 3. Restart Claude Code to activate hooks

...