C.W.K.
Stream
Lesson 04 of 10 · published

Slash Commands — /tools, /memory, /chat, /save

~14 min · gemini, slash, tools, memory

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

Built-ins specific to Gemini

Beyond the universal slash commands (/help, /clear, /compact), Gemini ships a few worth memorizing. /tools lists active tools (built-ins + MCP servers). /memory manages persistent memory across sessions. /chat save NAME + /chat resume NAME for named long-lived conversations. /stats for session metrics.

Code

Five Gemini-specific commands·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
Custom slash commands·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

Use /memory add to add three persistent facts about how you want Gemini to behave. Use /chat save to snapshot a real long-running task. Resume the chat tomorrow and verify both memories and the snapshot survived.

Progress

Progress is local-only — sign in to sync across devices.
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.