Skip to content
Back to skills

Memory System

ASecurity

--- name: memory-system description: Manage AI context, memory persistence, and knowledge retention across sessions ---

  • 33 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 10, 2026
documentationgodocumentation

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add lovedragonball/power-ranger-toolkit --skill memory-system --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Memory System?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Memory System
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/lovedragonball-memory-system/badge)](https://www.skillsdirectory.com/skills/lovedragonball-memory-system)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# 🧠 Memory System Skill

---
name: memory-system
description: Manage AI context, memory persistence, and knowledge retention across sessions
---

## 🎯 Purpose

Maintain context and knowledge across conversations, enabling continuity and learning from past interactions.

## πŸ“‹ When to Use

- Starting new conversations (load context)
- Completing tasks (save learnings)
- Switching between projects
- Referencing past decisions

## πŸ—‚οΈ Memory Structure

```
πŸ“ memory/
β”œβ”€β”€ πŸ“„ active.md       ← Current task context
β”œβ”€β”€ πŸ“„ summary.md      ← Project summaries
β”œβ”€β”€ πŸ“„ decisions.md    ← Architecture decisions
β”œβ”€β”€ πŸ“„ changelog.md    ← Changes history
β”œβ”€β”€ πŸ“„ patterns.md     ← Reusable patterns
β”œβ”€β”€ πŸ“„ snippets.md     ← Code templates
└── πŸ“„ lessons.md      ← Learnings from mistakes
```

## πŸ“ Memory Types

### 1. Short-term Memory (Session)
- Current task context
- Recent files edited
- Active decisions

### 2. Long-term Memory (Persistent)
- Project architecture
- Design decisions
- Lessons learned
- Code patterns

### 3. Episodic Memory (Events)
- Bug fixes and solutions
- Feature implementations
- Deployment records

## πŸ”§ Memory Operations

### Save Memory
```markdown
## Save Format

### Context
- Project: [name]
- Date: [ISO date]
- Task: [description]

### Key Decisions
1. [Decision 1]: [Rationale]
2. [Decision 2]: [Rationale]

### Lessons Learned
- [Lesson 1]
- [Lesson 2]

### Code Patterns Used
- [Pattern]: [File reference]
```

### Load Memory
```markdown
## Load Checklist

1. [ ] Read project context.md
2. [ ] Check active.md for ongoing tasks
3. [ ] Review recent decisions.md entries
4. [ ] Load relevant patterns
```

### Search Memory
```markdown
## Search Methods

1. Keyword search in solutions.md
2. Date-based filtering
3. Project-specific lookup
4. Tag-based retrieval
```

## πŸ“Š Memory Metrics

| Metric | Description |
|--------|-------------|
| Context loaded | Files read at session start |
| Decisions made | Architecture choices recorded |
| Patterns saved | Reusable code patterns |
| Lessons recorded | Mistakes and learnings |

## πŸ”„ Memory Lifecycle

```
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Session     β”‚
β”‚ Start       │──▢ LOAD context from memory files
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚
       β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ During      β”‚
β”‚ Work        │──▢ UPDATE active.md with progress
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚
       β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Task        β”‚
β”‚ Complete    │──▢ SAVE learnings to appropriate files
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚
       β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Session     β”‚
β”‚ End         │──▢ SUMMARIZE session in summary.md
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
```

## πŸ’‘ Best Practices

1. **Be Specific**: Save context with enough detail to understand later
2. **Use Tags**: Add searchable tags to entries
3. **Link Related**: Reference related decisions/patterns
4. **Prune Regularly**: Archive old, irrelevant entries
5. **Keep Active Current**: Update active.md frequently

## πŸ”— Related Skills

- `session-recovery` - Recover from session interruptions
- `documentation` - Document decisions properly
- `progress-tracking` - Track ongoing work

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…