gemini-session-management

Manage Gemini CLI sessions with resumption, retention, browsing, and cleanup.

2|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/DTMC-marketplace/governance --skill gemini-session-management-dtmc-marketplace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-session-management
Source: https://github.com/DTMC-marketplace/governance/tree/main/skills/gemini-session-management
Command: npx skills add https://github.com/DTMC-marketplace/governance --skill gemini-session-management-dtmc-marketplace

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill streamlines the management of Gemini CLI sessions, allowing users to easily resume, retain, browse, and clean up past conversations, ensuring a smooth and organized command-line experience.

Core Features & Use Cases

  • Session Resumption: Quickly get back into your previous conversations.
  • Retention Policies: Automatically manage session storage to prevent clutter.
  • Session Browsing: Interactively search and select past sessions.
  • Use Case: If you were working on a complex coding problem yesterday and need to pick up where you left off, this skill helps you find and resume that specific session.

Quick Start

Use the gemini session management skill to resume your last Gemini CLI session.

Frequently Asked Questions about gemini-session-management

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I resume a previous Gemini CLI session?

To resume a Gemini CLI session, use the session management skill to quickly retrieve and continue your past conversations. It allows you to find specific past sessions and pick up exactly where you left off.

Can I automatically clean up old Gemini CLI conversation history?

Yes, you can configure retention policies to automatically manage Gemini CLI conversation history. This feature enforces storage limits and cleans up old sessions to prevent command-line clutter.

How do I browse and search through past Gemini CLI conversations?

You can browse past Gemini CLI conversations interactively using the session browsing feature. It allows you to search through your session history and select specific past conversations for resumption.

What is the best way to manage session storage limits for Gemini CLI?

The best way to manage session storage limits for Gemini CLI is by configuring retention policies. This approach maintains your session history efficiently by automatically cleaning up outdated conversations.

Do I need official documentation to configure Gemini CLI session retention?

You do not need to manually find official documentation because the skill delegates to the gemini-cli-docs skill for you. It handles session resumption, retention policies, and cleanup based on those official docs.

Why does my Gemini CLI session history keep cluttering my workspace?

Your Gemini CLI session history clutters your workspace when retention policies are not configured. Use the session management skill to set storage limits and automatically clean up outdated conversation history.