memory-list

A command that scans a project's memory directory and summarises its saved Markdown memories. It groups entries by type and can flag missing metadata, unlinked files, or old project notes.

In plain words
What is it for?
Listing memory files, checking their summaries and metadata, finding orphaned entries, and identifying stale project information.
Why use it?
It gives a quick view of stored project context and points out memory files that may need review or cleanup.

Command

Part of the memory-system plugin — 4 commands shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/gaebalai/claude-memory-plugin/memory-list
Clone the repo
git clone --depth 1 https://github.com/gaebalai/claude-memory-plugin

Or install memory-system, the plugin that ships this one along with the rest of its 4 commands.

Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 681 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00012 $0.00681
Opus 5 $0.00006 $0.00341
Sonnet 5 $0.00002 $0.00136
Haiku 4.5 $0.00001 $0.00068

Measured 2d ago against content hash b4995efc251c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

memory-list scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/memory-system/commands/memory-list.md · 75 lines

What it actually says

Memory 목록 조회

현재 프로젝트의 memory/ 디렉터리를 스캔하여 저장된 모든 메모리를 요약해서 보여줍니다.

실행 순서

1. 디렉터리 확인

memory/ 디렉터리가 없으면 → "아직 초기화되지 않았습니다. /memory-init을 먼저 실행하세요." 안내 후 종료

2. MEMORY.md 읽기

memory/MEMORY.md를 Read 하여 인덱스 구조 파악

3. 서브파일 스캔

memory/*.md (MEMORY.md 제외) 파일들의 frontmatter만 빠르게 읽어 다음을 수집:

  • name
  • type
  • description
  • 파일 수정 시각

4. 테이블 형태로 출력

다음 형식으로 결과를 보여줍니다:

📚 Memory 현황 요약

총 N개 파일 (user: a, feedback: b, project: c, reference: d)

## 👤 User (a개)
| 파일 | 이름 | 설명 |
|------|------|------|
| user_role.md | 사용자 역할 | 스타트업 CTO, Go 10년 |

## 💡 Feedback (b개)
| 파일 | 이름 | 설명 | 마지막 수정 |
|------|------|------|-------------|
| feedback_xxx.md | ... | ... | 2026-04-15 |

## 📌 Project (c개) — ⚠️ 오래된 항목 주의
| 파일 | 이름 | 설명 | 마지막 수정 | 상태 |
|------|------|------|-------------|------|
| project_xxx.md | ... | ... | 2026-03-01 | 🔴 30일+ |

## 🔗 Reference (d개)
| 파일 | 이름 | 설명 |
|------|------|------|
| reference_xxx.md | ... | ... |

5. 정리 제안

다음 경우에만 추가로 안내:

  • project 타입 중 30일 이상 지난 파일이 있으면/memory-review로 재확인 권유
  • 파일이 20개를 넘으면 → "인덱스가 커지고 있습니다. 불용 파일 정리를 고려해보세요" 안내
  • frontmatter가 누락된 파일이 있으면 → 해당 파일 목록을 보여주고 수정 권유
  • MEMORY.md 인덱스에 링크되지 않은 파일이 있으면 → "고아 파일" 경고

6. 빠른 액션 힌트

출력 마지막에 다음 한 줄 안내:

💡 다음 액션: /memory-save (추가) | /memory-review (정리) | 특정 파일 내용은 Read로 직접 확인

주의사항

  • 파일 내용 전체를 읽지 말고 frontmatter만 파싱 (context 낭비 방지)
  • _templates/ 디렉터리의 파일은 집계에서 제외
  • memory/personal/ 하위 파일은 별도 섹션으로 분리하여 표시 (공유 여부 구분)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 75 lines · 12 tokens per session scan A b4995efc251c

Subscribe to this mod's changes

memory-list is a command published in the GitHub repository gaebalai/claude-memory-plugin (2 stars, last pushed 4mo ago), licensed MIT. It adds 12 tokens to every session and 681 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.