Skip to content
Back to skills

Memory Management

ASecurity

This skill should be used when saving memories, searching for past context, remembering decisions, forgetting memories, or managing the memory store. Trigger phrases include "remember this", "save a memory", "what did we decide about", "search memories", "forget this", "list tags", "rescan architecture". Guides effective use of ai-memory MCP tools (save_memory, search_memories, list_tags, delete_memory, rescan_project_architecture) and slash commands (/remember, /forget).

  • 19 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
ai-agentsgoreacttestingdebuggingdatabase

Works with

  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add damusix/ai-tools --skill memory-management --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Memory Management?

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

Security grade badge for Memory Management
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/damusix-memory-management/badge)](https://www.skillsdirectory.com/skills/damusix-memory-management)

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-management
description: This skill should be used when saving memories, searching for past context, remembering decisions, forgetting memories, or managing the memory store. Trigger phrases include "remember this", "save a memory", "what did we decide about", "search memories", "forget this", "list tags", "rescan architecture". Guides effective use of ai-memory MCP tools (save_memory, search_memories, list_tags, delete_memory, rescan_project_architecture) and slash commands (/remember, /forget).
version: 0.1.0
---

# Memory Management


## Available Tools

| Tool / Command       | Purpose                              |
| -------------------- | ------------------------------------ |
| `save_memory`        | Save a memory with category and tags |
| `search_memories`    | Full-text search across memories     |
| `search_observations`| Search atomic facts from turns       |
| `list_memories`      | Browse memories with filters         |
| `list_tags`          | List all tags with usage counts      |
| `list_domains`       | List all domains with usage counts   |
| `delete_memory`      | Delete a memory by ID                |
| `rescan_project_architecture` | Refresh tree + manifest snapshot for session context |
| `/remember`          | Slash command to save a memory       |
| `/forget`            | Slash command to find and delete     |


## When to Save

**SAVE**: Architectural decisions with rationale, non-obvious patterns, user preferences, discovered facts not in code/docs, solutions to tricky problems.

**SKIP**: Transient task details, things obvious from code, failed debugging steps, things findable by grep.


## Categories

Pass as the `category` parameter to `save_memory`:

| Category   | When                                        |
| ---------- | ------------------------------------------- |
| decision   | Choice made between options, with rationale |
| pattern    | Recurring approach established for codebase |
| preference | User style or workflow preference           |
| fact       | Discovered truth about system/environment   |
| solution   | Working fix for a non-obvious problem       |


## Importance

1=trivia, 2=useful, 3=normal (default), 4=important (confusion if forgotten), 5=critical (bugs/hours wasted if forgotten)


## Tagging

Use 2-5 tags per memory. Check existing tags with `list_tags` first — prefer existing vocabulary. Good tags: domain (auth, database), technology (react, postgres), pattern type (architecture, testing), component names (user-service, checkout).


## Searching

FTS5 syntax: `"exact phrase"`, `term*` for prefix, `term1 OR term2`. Try multiple queries if first returns nothing. Check `list_tags` to discover what exists.


## References

For detailed FTS5 query syntax and search strategies, see `references/search-patterns.md`.


## Noise Control

- Search before saving to avoid duplicates
- 0-3 saves per session is normal. More is not better.
- Not every decision warrants importance 4 or 5

Files in this skill

  • SKILL.md2.9 KB
  • references/search-patterns.md1.7 KB

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.