troykelly/claude-skills/memory-integration
Claude Code and agent skill by troykelly/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Use to maintain context across sessions - integrates episodic-memory for conversation recall and mcp__memory knowledge graph for persistent facts
Install
npx vskill@latest install troykelly/claude-skills/memory-integrationSKILL.md
The same SKILL.md was published earlier as troykelly/claude-skills/memory-integration.
Memory Integration
Overview
Use both memory systems to maintain context across sessions.
Core principle: You have no memory between sessions. Use these tools to remember.
Systems:
- Episodic Memory - Conversation history search
- Knowledge Graph (mcp__memory) - Structured facts and relationships
When to Use Memory
| Moment | Memory Action | |
|---|---|---|
| Session start | Search for relevant context | |
| Before starting issue | Search for previous work | |
| Making decision | Check for past decisions | |
| Completing work | Store important learnings | |
| Session end | Store key outcomes |
Episodic Memory
What It Stores
- Full conversation history
- Decisions made
- Problems solved
- Approaches tried
- Lessons learned
Searching Episodic Memory
Use the episodic-memory skill or MCP tools:
Semantic Search (Single Query)
Precise Search (Multiple Concepts)
Reading Full Conversations
After finding relevant results:
What to Search For
| Situation | Search Terms | |
|---|---|---|
| Starting issue #123 | "issue 123", "#123" | |
| Working on auth | "authentication", "login", "session" | |
| TypeScript problem | "TypeScript", "type error", specific error message | |
| Similar feature | Feature name, related concepts |
Knowledge Graph (mcp__memory)
What It Stores
- Entities (Projects, Issues, Decisions, Patterns)
- Relationships between entities
- Observations about entities
Creating Entities
Store important facts:
Creating Relationships
Link entities together:
Searching the Graph
Memory Protocol
At Session Start
- Search episodic memory for:
- Current issue number
- Project/repository name
- Active feature being worked on
- Search knowledge graph for:
- Project entity
- Related decisions
- Known patterns
- Synthesize context before proceeding
During Work
Store as you go:
| Event | Store In | |
|---|---|---|
| Major decision | Knowledge graph entity | |
| Problem solved | Add observation to issue entity | |
| Pattern discovered | Knowledge graph entity | |
| Lesson learned | Add observation |
At Session End
- Update knowledge graph with:
- New decisions made
- Problems solved
- Patterns discovered
- Add observations to existing entities:
- Progress on issues
- Learnings
- Next steps
Entity Types
Suggested entity types for the knowledge graph:
| Type | Use For | Example | |
|---|---|---|---|
| Project | Repository/codebase | "Project: MyApp" | |
| Issue | GitHub issues | "Issue #123: Auth" | |
| Decision | Architectural decisions | "Decision: Use JWT" | |
| Pattern | Code patterns | "Pattern: Repository Layer" | |
| Problem | Known issues | "Problem: Race Condition in X" | |
| Person | Collaborators | "Person: Alice (maintainer)" |
Example: Issue Memory Flow
Session 1: Starting Issue
Session 1: Mid-Work Decision
Session 2: Resuming
What to Store
Always Store
- Architectural decisions with rationale
- Non-obvious problem solutions
- Important constraints discovered
- Dependencies between components
Don't Store
- Trivial implementation details
- Things obvious from code
- Temporary debugging notes
- Speculation without conclusion
Checklist
At session start:
- [ ] Search episodic memory for issue/project
- [ ] Search knowledge graph for context
- [ ] Note relevant findings
During work:
- [ ] Store major decisions
- [ ] Record problem solutions
- [ ] Note discovered patterns
At session end:
- [ ] Update entities with progress
- [ ] Add new learnings
- [ ] Record next steps
Integration
This skill is called by:
session-start- Initial context gatheringissue-driven-development- Step 4
This skill supports:
- Cross-session continuity
- Decision documentation
- Pattern discovery
Security
- Security scanPassed, 100 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 repositoryCheckingskills/memory-integration/SKILL.md
Popularity
- Repository stars
- 11
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 30 Mar 2026, 8 months 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/troykelly/claude-skills/memory-integration)