remember

A command that summarizes meaningful work from the current session and saves it as project memory that remains after the session ends. It also updates a project digest and an index of saved memories.

In plain words
What is it for?
Recording completed work, decisions, context, keywords, and next steps for a project. It stores the information in a project-specific memory folder and maintains its digest.
Why use it?
It prevents important decisions and progress from being lost when a session ends. The saved summary gives future work a short starting point instead of requiring the full conversation.

Command

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/shimeeuisuk/claude-memory-plugin/remember
Clone the repo
git clone --depth 1 https://github.com/shimeeuisuk/claude-memory-plugin
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 899 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.00027 $0.00899
Opus 5 $0.00014 $0.00449
Sonnet 5 $0.00005 $0.00180
Haiku 4.5 $0.00003 $0.00090

Measured yesterday against content hash 11890912f792, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

remember 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 yesterday.

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.

commands/remember.md · 76 lines

What it actually says

너는 지금 claude-memory 플러그인의 저장(remember) 동작을 수행한다. 기억은 ~/.claude-memory/<project>/ 에 마크다운으로 저장한다. 규칙:

할 일

  1. 프로젝트 판별: 현재 작업 디렉터리(pwd)의 basename 을 <project> 로 사용.
  2. 이번 세션 요약: 지금까지 사용자와 한 작업 중 의미있는 것을 요약한다.
    • ⚠️ 대화 날것을 복붙하지 말 것. 핵심만 요약 (이게 내장 resume과의 차별점).
    • 사용자가 인자($ARGUMENTS)로 제목/강조점을 줬으면 반영.
  3. 저장 경로 보장: ~/.claude-memory/<project>/ 폴더가 없으면 mkdir -p 로 생성.
  4. 파일 작성: ~/.claude-memory/<project>/<YYYYMMDD-HHmm>-<짧은제목>.md 로 아래 형식 저장.
# <제목>

- **date**: <YYYY-MM-DD HH:mm>
- **project**: <project>
- **summary**: <한 줄 요약>
- **keywords**: [최소 3개, 한/영 음차 포함]
- **next**: <다음에 할 일 1~3줄>

## 한 일
- ...

## 결정/맥락
- ...
  1. 다이제스트 자동 갱신 ★ (재개 속도·컨텍스트 절약의 핵심): ~/.claude-memory/<project>/_digest.md 를 이 형식으로 새로 써서 최신 상태로 유지한다.

    • 기존 _digest.md 가 있으면 먼저 읽어서 "핵심 결정"은 carry-forward(유지)하고, 상태·진행·다음 스텝만 이번 내용으로 갱신.
    # <project> — 작업 다이제스트
    
    - **updated**: <YYYY-MM-DD HH:mm>
    - **상태**: <한 줄 현재 상태>
    
    ## 마지막 진행
    - <최근 한 일 2~3줄>
    
    ## 다음 스텝
    - [ ] <이번 next 반영>
    
    ## 핵심 결정 (carry-forward)
    - <바뀌면 안 되는 결정들 — 기존 것 유지 + 새 것 추가>
    
  2. INDEX 자동 갱신: ~/.claude-memory/_INDEX.md 의 이 프로젝트 행을 갱신(없으면 추가)한다.

    # claude-memory — 프로젝트 현황
    
    | 프로젝트 | 상태 | 마지막 갱신 |
    | --- | --- | --- |
    | <project> | <한 줄 상태> | <YYYY-MM-DD HH:mm> |
    
  3. 동기화 시도: 플러그인의 scripts/sync-push.sh 를 실행해 백업한다 (일기·다이제스트·INDEX 한 번에).

    bash "${CLAUDE_PLUGIN_ROOT}/scripts/sync-push.sh"
    
    • store가 git repo이고 remote가 있을 때만 commit+push (멱등·fail-soft).
    • 아직 연결 안 됐으면 조용히 넘어가므로, 그 경우 끝에 한 줄로 "💡 /claude-memory:setup 하면 다른 PC에서도 이어집니다" 안내.
  4. 보고: 저장한 파일 경로 + summary + next 를 사용자에게 1줄씩 보여준다.

현재 날짜·시간은 date '+%Y-%m-%d %H:%M' 로 실제 확인한다. _digest.md · _INDEX.md 는 자동 관리 파일이므로 일기처럼 날짜 파일로 만들지 말 것.

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. yesterday First seen · 76 lines · 27 tokens per session scan A 11890912f792

Subscribe to this mod's changes

remember is a command published in the GitHub repository shimeeuisuk/claude-memory-plugin (2 stars, last pushed 29d ago), licensed MIT. It adds 27 tokens to every session and 899 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.