# Agy Session Manager

> Search, normalize/rename, and safely clean up local Google Antigravity CLI (agy) sessions on Windows with preview-confirm gates and full backups.

Agy Session Manager is a free AI agent skill on Agensi by Myhoolabs, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Myhoolabs](https://www.agensi.io/creators/myhoolabs)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-11-26
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/agy-session-manager
- Tags: llm-ops, antigravity-cli, windows-automation, mcp-server, session-management

## About this skill

Agy Session Manager is an MCP-backed skill for managing local Google Antigravity CLI (agy) sessions on Windows using natural language.

### Key features
- Search historical sessions by keyword, workspace path, summaries or artifacts, and resume with `agy --conversation <id>`.
- Standardize and batch rename session titles.
- Identify blank 0-turn sessions, smoke tests and interrupted duplicates for safe cleanup, while protecting useful outputs and active locks.
- Preview a cleanup checklist and rename table with a one-time confirmation token; changes require explicit confirmation.
- Create a full backup and `restore.py` rollback script before changes, then verify consistency across four metadata locations.

Includes install.ps1 for one-click Windows installation (available under Myhoolabs / agy-session-manager on GitHub).

## Requires

- Python

## Known limitations

Windows only; requires Python 3.10+ and local Google Antigravity CLI (agy) sessions. Active terminal locks must be closed before changes. Changes require confirmation and a full backup.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Agy Session Manager skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill improve my daily workflow with the Antigravity CLI?

This skill automates the organization of Google Antigravity CLI (agy) threads on Windows, replacing manual file management with tools for deep metadata search, project-based renaming, and safe deletion of empty sessions.

### Is there a risk of accidentally deleting important session data?

Safety is a priority; the skill includes a 'preview' mode for all changes, requires a one-time security token for execution, and performs a mandatory full backup of metadata before any deletion or renaming occurs.

### What are the system requirements and compatible AI agents for this skill?

The skill is an MCP (Model Context Protocol) server designed for Windows. It requires Python 3.10+ and an AI agent or IDE that supports the MCP standard, such as Claude Desktop or various developer-focused AI wrappers.

### Can I use the Agy Session Manager to organize my cloud-hosted sessions?

No, this skill is purpose-built for the local SQLite databases and file structures used by the Windows version of agy; it cannot access or manage sessions stored in cloud environments.

### What exactly is included in the purchase of this skill?

The purchase includes the core `session_manager_mcp.py` server file, comprehensive setup documentation, and pre-configured tool definitions to connect the server to your AI agent.

### Why do I need a specialized skill instead of just asking my AI to find a session?

This skill uses a dedicated MCP server to bridge the gap between your AI and your local file system, allowing the agent to perform real-time database queries and file operations that a standard prompt cannot reach.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
