Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aiskillstore avatar

Agent Memory

  • 1 installs
  • 404 repo stars
  • Updated August 5, 2026
  • aiskillstore/marketplace

agent-memory is a Claude Code skill that stores markdown memories with summary frontmatter so an agent can save, recall, and organize knowledge across conversations.

About

agent-memory is a skill that gives an agent a persistent memory space stored as markdown files under .claude/skills/agent-memory/memories/. A developer uses it so an agent can save findings, patterns, and decisions and recall them in later conversations. Memories carry summary frontmatter and are searched summary-first with ripgrep.

  • Gives an agent a persistent memory space that survives across conversations
  • Summary-first frontmatter lets the agent decide what to read before opening a file
  • Ripgrep search workflow over category-organized markdown memories

Agent Memory by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #14,102 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

agent-memory capabilities & compatibility

Free; stores plain markdown files locally, no external service or key.

Capabilities
persistent memory · note taking · knowledge recall · memory consolidation
Use cases
memory · documentation · research
Runs
Runs locally
Pricing
Free
From the docs

What agent-memory says it does

A persistent memory space for storing knowledge that survives across conversations.
SKILL.md
All memories must include frontmatter with a `summary` field.
SKILL.md
Memory files are gitignored, so use `--no-ignore` and `--hidden` flags with ripgrep.
SKILL.md
npx skills add https://github.com/aiskillstore/marketplace --skill agent-memory

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars404
Last updatedAugust 5, 2026
Repositoryaiskillstore/marketplace

What it does

Let an agent save and recall knowledge, like research findings or gotchas, across separate conversations.

Who is it for?

Agents that need to preserve research findings, gotchas, and decisions between sessions.

Skip if: Shared team knowledge bases or vector-search retrieval; it is local file-based agent memory.

When should I use this skill?

The user asks to save, remember, recall, or organize memories, or valuable findings are worth preserving.

What you get

Findings and decisions are saved as searchable, summary-tagged markdown that the agent can recall later.

  • Markdown memory files with summary frontmatter
  • A category-organized, searchable memory store

By the numbers

  • 6-step summary-first search workflow
  • Requires a 'summary' frontmatter field on every memory

Files

SKILL.mdMarkdownGitHub ↗

Agent Memory

A persistent memory space for storing knowledge that survives across conversations.

Location: .claude/skills/agent-memory/memories/

Proactive Usage

Save memories when you discover something worth preserving:

  • Research findings that took effort to uncover
  • Non-obvious patterns or gotchas in the codebase
  • Solutions to tricky problems
  • Architectural decisions and their rationale

Check memories when starting related work:

  • Before investigating a problem area
  • When working on a feature you've touched before

Organize memories when needed:

  • Consolidate scattered memories on the same topic
  • Remove outdated or superseded information

Folder Structure

When possible, organize memories into category folders. No predefined structure - create categories that make sense for the content.

Guidelines:

  • Use kebab-case for folder and file names
  • Consolidate or reorganize as the knowledge base evolves

Example:

memories/
├── file-processing/
│   └── large-file-memory-issue.md
├── dependencies/
│   └── iconv-esm-problem.md
└── project-context/
    └── december-2025-work.md

This is just an example. Structure freely based on actual content.

Frontmatter

All memories must include frontmatter with a summary field. The summary should be concise enough to determine whether to read the full content.

Required:

---
summary: "1-2 line description of what this memory contains"
created: 2025-01-15  # YYYY-MM-DD format
---

Optional:

---
summary: "Worker thread memory leak during large file processing - cause and solution"
created: 2025-01-15
updated: 2025-01-20
tags: [performance, worker, memory-leak]
related: [src/core/file/fileProcessor.ts]
---

Search Workflow

Use summary-first approach to efficiently find relevant memories:

# 1. List categories
ls .claude/skills/agent-memory/memories/

# 2. View all summaries
rg "^summary:" .claude/skills/agent-memory/memories/ --no-ignore --hidden

# 3. Search summaries for keyword
rg "^summary:.*keyword" .claude/skills/agent-memory/memories/ --no-ignore --hidden -i

# 4. Search by tag
rg "^tags:.*keyword" .claude/skills/agent-memory/memories/ --no-ignore --hidden -i

# 5. Full-text search (when summary search isn't enough)
rg "keyword" .claude/skills/agent-memory/memories/ --no-ignore --hidden -i

# 6. Read specific memory file if relevant

Note: Memory files are gitignored, so use --no-ignore and --hidden flags with ripgrep.

Operations

Save

1. Determine appropriate category for the content 2. Check if existing category fits, or create new one 3. Write file with required frontmatter (use date +%Y-%m-%d for current date)

mkdir -p .claude/skills/agent-memory/memories/category-name/
# Note: Check if file exists before writing to avoid accidental overwrites
cat > .claude/skills/agent-memory/memories/category-name/filename.md << 'EOF'
---
summary: "Brief description of this memory"
created: 2025-01-15
---

# Title

Content here...
EOF

Maintain

  • Update: When information changes, update the content and add updated field to frontmatter
  • Delete: Remove memories that are no longer relevant
  trash .claude/skills/agent-memory/memories/category-name/filename.md
  # Remove empty category folders
  rmdir .claude/skills/agent-memory/memories/category-name/ 2>/dev/null || true
  • Consolidate: Merge related memories when they grow
  • Reorganize: Move memories to better-fitting categories as the knowledge base evolves

Guidelines

1. Write for your future self: Include enough context to be useful later 2. Keep summaries decisive: Reading the summary should tell you if you need the details 3. Stay current: Update or delete outdated information 4. Be practical: Save what's actually useful, not everything

Related skills

FAQ

Where are memories stored?

In .claude/skills/agent-memory/memories/, organized freely into kebab-case category folders.

How are memories searched efficiently?

Summary-first: list categories, grep for '^summary:' lines, then read the specific file, using --no-ignore and --hidden because files are gitignored.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.