| name | session |
| description | Save, load, and manage work sessions |
{{#if args}}
💾 Session Management
Action: {{args}}
Parse Action:
Check the first word of "{{args}}":
If "save" or "s":
Save current session:
- Capture current context:
- Current task/goal
- Files being worked on
- Recent changes
- Conversation context
- Generate session ID
- Save to
.gemini-kit/sessions/
- Report success with session ID
If "load" or "l":
Load a saved session:
- Find session by ID or name (second word)
- If no ID given, show list to choose
- Load and display session context
- Resume from where left off
If "list" or "ls":
List all saved sessions:
- Read
.gemini-kit/sessions/
- Display each session with:
- ID
- Name/Task
- Date
- Summary
If "info" or "i":
Show current session info:
- Current task
- Files in context
- Progress
- Time elapsed
If "delete" or "rm":
Delete a session:
- Find session by ID (second word)
- Confirm deletion
- Remove from storage
Now process: "{{args}}"
{{else}}
💾 Session Management
Save and resume your work sessions.
Usage:
/session <action> [name/id]
Actions:
| Action | Description |
|---|
/session | Show current session info |
/session save [name] | Save current session |
/session list | List all saved sessions |
/session load [id] | Load a session |
/session delete <id> | Delete a session |
Examples:
/session save "Working on auth"
/session list
/session load abc123
/session info
/session delete abc123
Use Cases:
- Switching between tasks
- Resuming work next day
- Sharing context with team
What would you like to do?
{{/if}}