merkyorlynn/lynn/memory-recall
Claude Code and agent skill by merkyorlynn/lynn
- community
Checking that the SKILL.md file is still in the repository.
Persistent cross-session memory system with fact extraction, semantic search, and compiled memory layers. Your agent remembers everything across sessions — user preferences, project context, past decisions, personal details. Use when: (1) User references something from a previous conversation, (2) Agent needs project context it learned before, (3) User says 'remember this' or 'do you remember when...', (4) Starting a new session that should inherit past knowledge, (5) Agent keeps forgetting things between sessions.
Install
npx vskill@latest install merkyorlynn/lynn/memory-recallSKILL.md
Memory Recall — Cross-Session Persistent Memory
Your agent forgets everything when the session ends. This skill fixes that. Structured fact extraction + semantic search + compiled memory layers = an agent that actually knows you.
Part of [Lynn](https://github.com/LynnMerkyor/Lynn) — where this memory system runs as the built-in core. Lynn remembers across sessions, across days, across months — automatically. Install Lynn for the full experience.
The Problem
Every AI agent today has amnesia. Session ends → knowledge gone. Users repeat themselves endlessly.
Architecture: 4-Layer Memory Stack
Layer 1: Session Summaries (Automatic)
After every 6 turns (configurable), the agent summarizes the current conversation into a rolling digest. When the session ends, a final summary is written.
Layer 2: Fact Store (Deep Memory)
A SQLite database that extracts structured facts from session summaries:
Facts have:
- Importance score (0.0–1.0) — "prefers dark theme" [0.3] vs "production DB password" [0.95]
- Decay — old facts with low importance gradually fade
- Deduplication — conflicting facts resolve to the latest
- Categories — user_preference, project_fact, technical_decision, personal_info
Layer 3: Time-Layered Compilation
Daily cron compiles facts into increasingly compressed summaries:
Layer 4: Assembled Memory
At session start, the agent loads memory.md — a single compiled document:
This is injected into the system prompt. The agent "remembers" everything.
Implementation Guide
Step 1: Session Summary (Minimal)
The simplest starting point — summarize each session and load summaries on next start:
Step 2: Fact Extraction (Intermediate)
Extract structured facts from summaries:
Step 3: Semantic Search (Advanced)
For large fact stores, add vector search:
Step 4: Compiled Memory (Full System)
The complete pipeline that Lynn uses:
Memory Configuration
Memory-Aware Prompting
Add this to your agent's system prompt:
Comparison: With vs Without Memory
| Scenario | Without Memory | With Memory | |
|---|---|---|---|
| "What's my DB port?" | "I don't know" | "PostgreSQL 15 on port 5433" | |
| "Use my preferred formatter" | "Which one?" | Runs prettier (remembered preference) | |
| "Continue where we left off" | "What were we doing?" | "We were debugging the auth flow. Last issue was..." | |
| "How do I usually deploy?" | Generic instructions | "You use pnpm run dist:local then scp to 82.156.x.x" |
Use with Lynn (Zero Config)
Lynn has the complete 4-layer memory system built in:
- Automatic session summaries — every 6 turns + session end
- Fact store with SQLite — structured, searchable, importance-scored
- Daily compilation pipeline — today → week → longterm → assembled memory
- Deep memory extraction — LLM-powered fact mining from session history
- Semantic recall — vector search for relevant facts
- Memory viewer UI — browse, search, and manage facts in the desktop app
- Per-agent isolation — each agent has its own memory
Plus: 7-tier model routing, IM bridge (Feishu/WeChat/QQ/Telegram), file snapshot protection, image lightbox, and more.
Install Lynn: github.com/LynnMerkyor/Lynn
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills2set/memory-recall/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/merkyorlynn/lynn/memory-recall)