Skip to content
Back to skills

Memory Bank

ASecurity

Establishes a persistent "Long-Term Memory" file to prevent context amnesia across sessions.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentsgodebuggingapi

Works with

  • api

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill memory-bank --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Memory Bank?

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

Security grade badge for Memory Bank
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-memory-bank-claude-skill-registry/badge)](https://www.skillsdirectory.com/skills/majiayu000-memory-bank-claude-skill-registry)

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
---
name: memory_bank
description: Establishes a persistent "Long-Term Memory" file to prevent context amnesia across sessions.
allowed-tools: Read, Edit, Write
---

# Memory Bank Protocol

## 1. The Core Rule

**"Read First, Write Last."**

- **Start of Task**: You MUST read `MEMORY.md` (at project root) to understand the project's current state, constraints, and architecture.
- **End of Task**: You MUST update `MEMORY.md` if you have:
  - Added a new feature.
  - Changed the architecture.
  - Discovered a new bug or constraint.

## 2. File Structure Constraint

Your `MEMORY.md` updates must roughly follow this template to maintain readability:

```markdown
## 1. Active Context

- **Goal**: [Current Objective]
- **Status**: [Progress]

## 2. Architecture & Tech Stack

- [Key tech decisions]

## 3. Known Issues & Technical Debt

- [List of things that are broken or hacky]

## 4. Operational Rules

- [Do's and Don'ts specific to this project]
```

## 3. Maintenance Triggers

- **New Pattern**: If you implement a new pattern (e.g., "All lists must be virtualized"), add it to `Operational Rules`.
- **Bug Hunt**: If you spend >10 mins debugging something, write the "Cause & Fix" in `Known Issues` so the next agent doesn't suffer.
- **Schema Change**: If `api/` changes, update `Architecture`.

## 4. Verification Checklist

- [ ] Did I read `MEMORY.md` at the start?
- [ ] Did I verify if my plan conflicts with "Known Issues"?
- [ ] Did I update "Active Context" to reflect my completed 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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.