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.
npx agentmods add commands/gaebalai/claude-memory-plugin/memory-reviewgit clone --depth 1 https://github.com/gaebalai/claude-memory-pluginWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/gaebalai/claude-memory-plugin/memory-review)<a href="https://agentmods.dev/commands/gaebalai/claude-memory-plugin/memory-review"><img src="https://agentmods.dev/badge/commands/gaebalai/claude-memory-plugin/memory-review.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00016 | $0.00910 |
| Opus 5 | $0.00008 | $0.00455 |
| Sonnet 5 | $0.00003 | $0.00182 |
| Haiku 4.5 | $0.00002 | $0.00091 |
Grade A, and why
memory-review 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 4d 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.
What it actually says
Memory 정리 리뷰
memory/ 디렉터리를 검토하여 썩은(stale) 메모리를 정리합니다.
원칙: "memory는 썩는다는 전제로 쓴다" 특히
project타입은 2주만 지나도 상태가 달라집니다.
실행 순서
1. 스캔 기준
다음 조건에 해당하는 파일을 후보로 수집합니다:
| 조건 | 후보 사유 |
|---|---|
type: project이고 마지막 수정이 14일 이전 |
프로젝트 상태는 빠르게 낡음 |
type: feedback이고 마지막 수정이 180일 이전 |
장기간 재참조 없음 → 아직 유효한지 확인 필요 |
**유효 기한** 필드가 있고 오늘 기준 지난 경우 |
명시적 만료 |
유사한 name 또는 description을 가진 중복 의심 파일 |
통합 검토 |
| frontmatter 누락 | 표준 비준수 |
| MEMORY.md에 링크되지 않은 파일 (고아) | 인덱싱 누락 |
2. 각 후보에 대해 판정 제안
각 후보마다 다음 중 하나를 제안하고, 사용자에게 승인을 받으세요:
A. 유지 (keep)
- 내용이 여전히 유효하다고 판단되는 경우
- 예: 오래됐지만 원칙적 feedback
B. 업데이트 (update)
- 정보는 유효하지만 일부 갱신 필요
- 사용자에게 구체적으로 무엇을 바꿀지 질문
- 특히 날짜, 상태, 링크
C. 아카이브 (archive)
- 완전히 지우긴 아깝고 이력으로 남기고 싶은 경우
memory/_archive/디렉터리로 이동- 파일명 앞에
YYYYMMDD_프리픽스 추가 (아카이브 날짜)
D. 삭제 (delete)
- 완전히 폐기
- 사용자에게 반드시 명시적 승인 받기
- 삭제 전 내용을 한번 더 보여주기
E. 통합 (merge)
- 중복 파일을 하나로 합치기
- 어떤 파일을 주(primary)로 할지 사용자 선택
- 병합 후 나머지는 삭제 또는 아카이브
3. 일괄 처리 흐름
후보가 여러 개라면, 다음과 같이 처리합니다:
- 전체 후보 목록을 테이블로 보여주고 제안 액션을 표시
- 사용자가 전체 승인 / 개별 승인 / 취소 중 선택
- 개별 승인 시: 하나씩 확인하며 진행
- 각 처리 후 MEMORY.md 인덱스도 함께 업데이트 (삭제된 링크 제거, 업데이트된 설명 반영)
4. 처리 완료 리포트
마지막에 다음을 출력:
✅ Memory 리뷰 완료
- 검토: N개
- 유지: a개
- 업데이트: b개
- 아카이브: c개
- 삭제: d개
- 통합: e개
남은 작업:
- (있다면 여기에)
주의사항
절대 자동 삭제 금지
- 어떤 파일도 사용자 승인 없이 삭제하지 않습니다
archive는 이동이라 상대적으로 안전하지만 이 역시 승인 필요
Git 작업 시
- 프로젝트가 Git 저장소라면 정리 직전에 현재 상태를 커밋하라고 권유
- 또는
git stash후 진행
민감 정보 발견 시
- 리뷰 도중 API 키, PII, 내부 URL 등이 발견되면 → 즉시 경고하고 해당 부분 삭제 또는 마스킹 권유
- 이미 Git에 커밋되었다면
git filter-branch또는git-filter-repo사용 안내
아카이브 디렉터리 구조
memory/_archive/
├── 20260424_project_mobile_freeze_q1.md
├── 20260424_feedback_deprecated_rule.md
└── README.md ← 자동 생성 (아카이브 정책 설명)
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.
- 4d ago First seen · 104 lines · 16 tokens per session scan A 7c10e89fb183
memory-review is a command published in the GitHub repository gaebalai/claude-memory-plugin (2 stars, last pushed 4mo ago), licensed MIT. It adds 16 tokens to every session and 910 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.
Other commands, from other repositories
minutes-ideas
Surface recent voice memos and ideas captured from any device. Use when the user asks "what ideas did I have?", "what were my recent memos?", "what did I record while walking?", or wants to recall a captured thought.
learn
Force claude-smart to extract learnings from this session now.
session-end
I'll summarize this coding session and update the memory system with our accomplishments.
memory-store
Store an insight, decision, or pattern to memory.
cc-memory
Configure persistent memory that survives across sessions using a layered approach: split rule files for always-loaded context, auto-memory for organic learning, and optional MCP-backed long-term memory for large codebases.
neo-review
Get Neo's code review with semantic matching against past findings in memory. Use on a diff or module before merge, especially where earlier mistakes in this codebase are likely to recur. Skip for formatting, lint-catchable issues, and single-line changes.