Show HN: Recall – Local project memory for Claude Code
TL;DR Highlight
Local TF-IDF/TextRank summaries give Claude Code session memory with zero model tokens.
Who Should Read
A developer using Claude Code who wastes tokens and time re-explaining project context at every new session.
Core Mechanics
- Summaries run locally without an LLM
- It uses TF-IDF (word importance scoring) and TextRank (a sentence ranking algorithm).
- The README says saving and updating memory costs zero model tokens.
- Two files hold the memory
- .recall/history.md is an append-only log of prompts, replies, touched files and commands.
- .recall/context.md is an overwritten summary with goal, next steps, files and where you stopped.
- Resuming costs about 1-2K tokens
- The README table says --continue/--resume replays the full transcript, which is large.
- Recall's context.md is a compact 1-2K token digest.
- It complements CLAUDE.md
- CLAUDE.md holds hand-written working rules.
- Recall automatically records what you did last time and where you stopped.
- Hooks automate it, with three commands
- Stop/SessionEnd hooks capture activity, and SessionStart asks whether to resume.
- Commands are /recall:save, /recall:show and /recall:log.
- Security safeguards are built in
- A best-effort pass strips secret shapes (API keys, tokens, .env, PEM) but is not guaranteed.
- context.md is injected as fenced untrusted data, and .recall/ is git-ignored by default because of prompt-injection risk.
- opencode is supported too
- scripts/install.py --opencode generates the plugin files and shares the same .recall/ files.
- opencode loads context via instructions without the untrusted-data fencing.
Community Reactions
- Opinions questioning the need
- Several commenters just point Claude at 1-2 files and never explain the project.
- Others said CLAUDE.md, AGENTS.md or the README already covers this.
- Home-grown alternatives in use
- One commenter keeps dated status docs in status_docs/ written by the LLM and points fresh sessions at the latest.
- Another has Deepseek generate a state.md and edits it by hand.
- Concerns about noise and scope
- One commenter worried the log would capture dead ends that were later backed out.
- Others asked about multiple worktrees, stale memory and team sharing.
- Positive reactions and similar tools
- One commenter said it would help when a PC died and Claude had to be re-onboarded on another machine.
- ccrider indexes session transcripts into SQLite FTS with an MCP server as a similar local tool.
How to Apply
- Try /recall:save on a test session
- Install the plugin in a throwaway project and do one normal session.
- Run /recall:save, open a new session and check that context.md lets you resume.
- Tune recall.config.json
- Set auto_save_context to "on_end" to summarize at every session end.
- Set summary_sentences for length and keep redact true.
- Decide your .recall/ commit policy before sharing
- Keep .recall/ git-ignored if you don't fully trust everyone with repo write access.
- If you commit it, review context.md first.
- Split roles between CLAUDE.md and Recall
- Put working rules and style in CLAUDE.md.
- Let Recall's context.md carry progress and stopping points.
Try It
# Run in the Claude Code terminal (install the plugin)
/plugin marketplace add raiyanyahya/recall
/plugin install recall@recall
# After installing, work one session, then:
/recall:save
/recall:show
# recall.config.json (project root)
# {"auto_save_context": "on_end", "summary_sentences": 8, "redact": true}Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques