gemini-session-management
CommunityKeep agent sessions focused as context grows.
Software Engineering#summarization#session-management#context-management#data-privacy#agent-conversations#history-compaction
Authorabhishekmmgn
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Gemini Session Management strategies organize per-user conversation history and session state to preserve immediate context while preventing token overload.
Core Features & Use Cases
- Session Object: events, state, and per-user isolation to keep conversations separate.
- Compaction Strategies: Sliding Window to truncate history and Recursive Summarization to compress older messages.
- Production Best Practices: asynchronous processing, PII redaction, and immutability for reliable history management.
Quick Start
Set up a session manager that logs per-user events and maintains the last 10 turns by default.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: gemini-session-management Download link: https://github.com/abhishekmmgn/skills/archive/main.zip#gemini-session-management Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.