본문 바로가기
C.W.K.
Stream
Lesson 04 of 10 · published

슬래시 명령 — /tools, /memory, /chat, /save

~14 min · gemini, slash, tools, memory

Level 0🌱 입문자
0 XP0/70 lessons0/11 achievements
0/120 XP to next level120 XP to go0% complete

Gemini만의 기억과 대화 관리 명령을 알아두자

공통 명령 외에 /tools는 현재 쓸 수 있는 기본 도구와 MCP 도구를 보여주고, /memory는 여러 세션에 이어질 사용자 기억을 관리해. /chat save NAME/chat resume NAME은 특정 대화 하나를 이름 붙여 저장하고 다시 연다. /stats에서는 현재 세션의 측정값을 볼 수 있어.

/memory와 저장한 chat은 역할이 달라. "항상 미국식 철자를 써"처럼 모든 미래 세션에 필요한 사실은 기억에, 한 프로젝트의 긴 대화 상태는 chat snapshot에 둬. 서로 바꿔 쓰면 전역 기억이 쓸데없는 작업 문맥으로 부풀어.

직접 확인할 항목: /clear, /compact, /help.

Code

Gemini 전용 명령 다섯 가지·text
/tools          # list every active tool (Read, Edit, MCP servers, …)
/memory show    # what's in persistent memory
/memory add "always use British spelling in user-facing strings"
/chat save migration-design     # snapshot this conversation
/chat list                      # see saved chats
/chat resume migration-design   # come back later, full history
/stats                          # tokens, cost, latency for this session
사용자 정의 슬래시 명령·markdown
# .gemini/commands/review.md
Review the file at $ARGUMENTS for:
1. Logic bugs
2. Security (SQL injection, XSS, auth bypass)
3. Performance (N+1, blocking I/O)
4. GEMINI.md style violations

Format: [SEVERITY] desc (file:line). If none, say so.

External links

Exercise

/memory add로 Gemini의 동작을 정할 지속 규칙 세 개를 추가해. 오래 걸리는 실제 작업은 /chat save로 저장해둬. 다음 날 대화를 이어서 메모리와 대화 상태가 모두 남아 있는지 확인해.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.