moeryomenko/dotfiles/memory-system
Claude Code and agent skill by moeryomenko/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Persistent cross-session memory management. Enables agents to remember user preferences, project conventions, and past decisions across different sessions using a structured MEMORY.md index and topic files.
Install
npx vskill@latest install moeryomenko/dotfiles/memory-systemSKILL.md
The same SKILL.md was published earlier as moeryomenko/dotfiles/memory-system.
Memory System — Persistent Cross-Session Memory
Enables agents to remember across sessions. Never re-discover what was already learned.
Overview
The Memory System provides persistent, searchable memory that survives across sessions. Instead of re-explaining preferences, conventions, and past decisions every time, agents read a structured MEMORY.md index and topic files.
Token Impact: +1,000 tokens to load index, but saves 3,000-10,000 tokens by eliminating re-discovery.
Architecture
MEMORY.md Index Format
The index is a lightweight pointer file — short entries that reference topic files for details.
Rules:
- Maximum 200 lines total
- Each entry: ~150 characters max
- Format:
- [type] summary -> topic-file.md - Types:
[user][feedback][project][reference]
Example:
Session Start Protocol
When starting a new session:
- Check if
.opencode/memory/MEMORY.mdexists - If yes: Read it to understand user/project context
- If no: Ask user if they want to initialize memory
- Load relevant topic files based on the current task
Memory Update Protocol
When the user says something worth remembering:
- Identify the type: user preference, project convention, technical decision, or feedback
- Update or create the appropriate topic file
- Update MEMORY.md index with a pointer entry (keep under 200 lines)
- If MEMORY.md exceeds 200 lines, consolidate older entries
Conflict Resolution
If the user contradicts a previous memory entry:
- Note the contradiction
- Ask the user which is correct
- Update the entry with the resolution
- Keep a brief history in the topic file
Verification Markers
[Check] MEMORY.md exists at .opencode/memory/MEMORY.md[Check] Index is under 200 lines[Check] Each entry is under 150 characters[Check] Topic files referenced in index actually exist
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 repositoryCheckingopencode/.config/opencode/skills/memory-system/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 9 Nov 2026, 22 days ago.
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/moeryomenko/dotfiles/memory-system)