Per-project external memory. Splits work notes into topic-based markdown files under the current project's memory/ folder. Saves context window by recalling only the needed chapter. Subcommands: save, recall, update, split, index, catchup, visualize. Separate from Claude Code's built-in /memory (conversation notes) — this is for code/deployment/decision records. 프로젝트별 외장 기억소. 현재 프로젝트의 memory/ 폴더에 주제별 md 파일로 작업 내용을 분할 저장. 컨텍스트 윈도우 절약 + 필요한 챕터만 호출하는 패턴. 서브커맨드: save, recall, update, split, index, catchup, visualize. Claude Code 기본 /memory (대화 메모) 와는 별개 — 이건 코드/배포/결정 기록용. Triggers (Korean): "메모리에 저장", "기억해줘", "memory 정리", "어디까지 했지". Triggers (English): "save to memory", "remember this", "where were we", "memory dump".
Ships in claude-science-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Different from Claude Code's built-in /memory (conversation notes).
/memory (Claude Code 기본 대화 메모) 와는 다른 컨셉.
Built-in /memory: conversation flow notes, user preferences
/mem (this skill): per-project code/deployment/decision records as split markdown files
→ recall only the chapter you need → save context window
기본 /memory: 대화 흐름 메모, 사용자 선호 등
/mem (이 스킬): 프로젝트별 코드/배포/결정 기록. md 파일로 분할 저장
→ 필요한 챕터만 호출 → 컨텍스트 윈도우 절약
The skill is global but data is per-project. Storage location is based on the current working directory (pwd), written under memory/.
스킬은 글로벌이지만 데이터는 프로젝트별. 호출 시점의 현재 작업 디렉토리(pwd) 기준으로 memory/ 폴더에 저장.
<pwd>/memory/. If project root differs, prefer git rev-parse --show-toplevel.NN-<kebab-case>.md. NN is 2 digits (01-, 02-...). Next number = current max + 1.# <Title>
**최종 갱신**: YYYY-MM-DD
<One-line summary — what this document is>
## 같이 보면 좋은 문서
- `XX-other.md` — cross-reference
.gitignore / 자동 등록: append memory/ to protect secrets/SSH/tokens. Skip if already present./mem (no args) — Smart Auto-Router / 스마트 자동 라우터Inspects state and picks the right action. User types short command once.
상황을 보고 알맞은 동작 자동 선택. 사용자는 명령 짧게 한 번만.
Routing logic (top to bottom) / 판정 로직 (위에서부터 검사):
memory/ folder does not exist → auto init
.gitignore, write README skeleton/mem, work will auto-save."memory/ 폴더 없음 → init 자동 수행
memory/ exists + meaningful work detected since last save → auto save
Edit / Write / Bash (git commit/deploy)git diff --stat shows ≥ 10 changed linesNN-<kebab>.mdsave)memory/NN-<name>.md (X.X KB)"memory/ exists + no save-worthy work (clean state) → fallback to catchup
memory/README.md only (quick reference + index table)Principles / 원칙:
init and save never co-occur (user needs to call /mem once more).Explicit calls when needed / 명시적 호출이 필요할 때:
/mem catchup — clean state but want to see README anyway/mem init — force re-init (rarely needed, auto-router handles it)/mem save <topic> — override auto-inferred topic name/mem init (explicit)Auto-router usually handles it, but explicit re-init is supported.
<project>/memory/ (skip + warn if exists)memory/ to .gitignore if absent/mem save <topic> [--file NN-<name>.md]Save the immediately preceding work/conversation as a new file.
직전 작업/대화 내용을 새 파일로 저장.
NN-<kebab>.md)memory/NN-<name>.md"/mem recall <keyword>Grep-based pinpoint instead of reading everything.
전체 안 읽고 키워드 매칭만.
grep -l -i "<keyword>" memory/*.md to find candidates/mem update <file pattern or keyword>Detect stale chapters by comparing to current code.
stale 잡고 갱신.
git diff, filesystem)/mem split <file>Split an oversized file by semantic groups.
파일이 커졌을 때 의미 단위로 쪼개기.
## section headers/mem indexRegenerate README.md automatically.
ls memory/*.md, extract title + "When to open" keyword for each/mem visualize (alias: /mem viz)Bird's-eye map of memory. Only reads README.md — never opens individual files (compact prevention).
한눈에 보는 기억소 지도. README.md만 읽어서 시각화.
memory/README.md only/mem recall <keyword> for pinpointRules / 규칙:
/mem rm <file>Delete with 1-time confirmation. Updates README index.
파일 삭제 (확인 1회 받음). README 인덱스도 갱신.
After significant code changes, inject a context hint automatically.
작업 후 의미 있는 코드 변경이 감지되면 자동 컨텍스트 주입.
Install: scripts/install-stop-hook.sh (registers in user settings.json).
설치: scripts/install-stop-hook.sh (사용자 settings.json에 등록).
Conditions / 조건:
/mem save (anti-spam)~/.claude/.mem-autosuggest-off file does not existToggle / 토글:
touch ~/.claude/.mem-autosuggest-off → off / 끔rm ~/.claude/.mem-autosuggest-off → on / 켬# memory/
External memory managed by `/mem` skill. Topic-split markdown files.
Recall only the chapter you need → save context window.
Registered in `.gitignore` — does not go to git (protects secrets/SSH/tokens).
## Quick Reference
- Entry point: <URL or N/A>
- Deploy: <how>
- Repo: <github URL>
## File Index
| File | When to open |
|---|---|
| (auto-updated) | (auto-updated) |
## Usage
- Restore context: `/mem catchup`
- Keyword search: `/mem recall <keyword>`
- New memo: `/mem save <topic>`
- Visualize: `/mem visualize`
.gitignore registration → secrets safe# First call in new project → auto-init
$ cd ~/Project/new-project
> /mem
✓ memory/ created, .gitignore registered, README skeleton written
✓ Next /mem will auto-save your work
# After work → auto-save
> /mem
✓ Analyzed last conversation: "server deployment flow"
✓ Saved: memory/01-server-deployment.md (3.2 KB)
✓ README index updated
# New session (no work) → auto-catchup
$ claude
> /mem
[ memory/README.md output — quick reference + index ]
# Bird's-eye view
> /mem viz
[ ASCII tree + category breakdown + scenarios ]
# Pinpoint recall
> /mem recall "kakao login"
[ opens memory/07-auth-providers.md only — others untouched ]
# Stale detection
> /mem update "auth"
[ checks files 04, 06, 07 against code → shows mismatches → applies edits ]
LICENSE (opens in a new tab)README.md (opens in a new tab)demo/README.md (opens in a new tab)demo/sample-memory/01-deployment.md (opens in a new tab)demo/sample-memory/02-auth-providers.md (opens in a new tab)demo/sample-memory/03-gotchas.md (opens in a new tab)demo/sample-memory/README.md (opens in a new tab)scripts/install-stop-hook.sh (opens in a new tab)scripts/mem-suggest-hook.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/claude-science-skills:memfrom claude-science-skills
npx claudepluginhub spoonyc/claude-science-skills --plugin claude-science-skills214 skills in this plugin
/academic-paper12-agent academic paper writing pipeline. 11 modes (full/plan/outline/revision/revision-coach/abstract/lit-review/format-convert/citation-check/disclosure/rebuttal-audit). 6 paper types, 5 citation formats, bilingual abstracts, LaTeX/DOCX-via-Pandoc/PDF output. Style Calibration + Writing Quality Check + Anti-Patterns with IRON RULE markers. Triggers: write paper, academic paper, guide my paper, parse reviews, audit my rebuttal, check my response draft, AI disclosure, 寫論文, 學術論文, 引導我寫論文, 審查意見, 評估回覆./academic-paper-reviewerMulti-perspective academic paper review with dynamic reviewer personas. Simulates 5 independent reviewers (EIC + 3 peer reviewers + Devil's Advocate) with field-specific expertise. Supports full review, re-review (verification), quick assessment, methodology focus, Socratic guided, and calibration modes. Triggers on: review paper, peer review, manuscript review, referee report, review my paper, critique paper, simulate review, editorial review, calibrate reviewer, reviewer calibration, measure reviewer accuracy./academic-pipelineOrchestrator for the full academic research pipeline: research -> write -> integrity check -> review -> revise -> re-review -> re-revise -> final integrity check -> finalize. Coordinates deep-research, academic-paper, and academic-paper-reviewer into a seamless 10-stage workflow with mandatory integrity verification, two-stage peer review, and reproducible quality gates. Triggers on: academic pipeline, research to paper, full paper workflow, paper pipeline, end-to-end paper, research-to-publication, complete paper workflow.