brainstorming
Structured design dialogue that validates ideas before implementation begins.
gemini-session-management
Central authority for Gemini CLI session management. Covers session resume, retention policies, session browser, and cleanup. Use when resuming Gemini sessions, configuring retention, browsing past sessions, or managing session storage. Delegates 100% to gemini-cli-docs for official documentation.
Full skill instructions
STOP - Before providing ANY response about Gemini sessions:
- INVOKE
gemini-cli-docsskill- QUERY for the specific session topic
- BASE responses EXCLUSIVELY on official documentation loaded
Meta-skill for managing Gemini CLI sessions. Sessions preserve conversation history and can be resumed, searched, and configured with retention policies.
Keywords: session, resume, /resume, session browser, retention, maxAge, maxCount, --list-sessions, --delete-session
Use this skill when:
gemini --resume
# or
gemini -r
In an active session:
/resume
Opens interactive session browser to search and select.
Configure automatic cleanup in settings.json:
{
"general": {
"sessionRetention": {
"maxAge": "7d",
"maxCount": 100,
"minRetention": "1d"
}
}
}
| Setting | Description | Example |
|---|---|---|
maxAge | Maximum session age | "7d", "24h" |
maxCount | Maximum sessions to keep | 100, 50 |
minRetention | Minimum time before deletion | "1d", "12h" |
Configure turn limits:
{
"general": {
"maxSessionTurns": 100
}
}
Sessions are stored in:
~/.gemini/tmp/<project_hash>/
| Option | Description |
|---|---|
--resume, -r | Resume last session |
--list-sessions | List available sessions |
--delete-session <id> | Delete specific session |
| Topic | Query Keywords |
|---|---|
| Resume | --resume flag, resume session, /resume command |
| Browser | session browser, search sessions, /resume interactive |
| Retention | sessionRetention, maxAge maxCount, session cleanup |
| Limits | maxSessionTurns, session limits, turn limits |
| Storage | session storage, ~/.gemini/tmp, session location |
| Management | --list-sessions, --delete-session, session management |
What do you want to do?
gemini --resume or gemini -r/resume in active sessiongemini --list-sessionsgemini --delete-session <id>Query: "How do I resume my last Gemini CLI session?" Expected Behavior:
gemini --resume command
Success Criteria: User receives resume command and /resume browser optionQuery: "How do I limit Gemini session storage?" Expected Behavior:
Query: "How do I delete old Gemini sessions?" Expected Behavior:
Query gemini-cli-docs for official documentation on:
Structured design dialogue that validates ideas before implementation begins.
Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.
Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.
Introduction to the obra skills system with mandatory skill invocation rules and best practices.
Execute a written implementation plan with critical review and task checkpoints.
Delegate independent tasks to specialized agents working concurrently with isolated context.
Isolated git worktrees with smart directory selection and safety verification.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Plan searchable and shareable content that drives traffic, builds authority, and generates leads.
README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.
Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.
Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.
The world's fastest calendar for remote work
Capture, organize, and utilize your knowledge effortlessly.
Instant Summaries of Audio & Video Interviews with AnySummary
Transform PDFs into engaging mind maps.
Chat with any PDF instantly
Create an optimal daily plan using your voice
A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.
AskYourPDF Pricing Plans: Tailored to Your Needs