Skip to content
Back to skills

Session Management

ASecurity

Manage agent sessions including initialization, handoffs, revival (seance), and persistent identity for Polecats and Crew agents.

  • 1,760 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 29, 2026
ai-agentsbash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 29, 2026

npx -y skills add a5c-ai/babysitter --skill session-management --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Session Management?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Session Management
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-session-management/badge)](https://www.skillsdirectory.com/skills/a5c-ai-session-management)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: session-management
description: Manage agent sessions including initialization, handoffs, revival (seance), and persistent identity for Polecats and Crew agents.
allowed-tools: Read, Write, Edit, Bash, Grep, Glob, WebFetch, WebSearch, Agent, AskUserQuestion
---

# Session Management

## Overview

Manage agent sessions in Gas Town: initialize new sessions, handle handoffs between agents, revive dead sessions (seance), and maintain persistent identity across ephemeral Polecat sessions.

## When to Use

- Initializing new agent sessions
- Handing off work between agents
- Reviving a dead or stuck agent session
- Managing Polecat identity persistence across sessions

## Session Operations

1. **Init**: Start new session with role and hook setup
2. **Attach**: Connect agent to Mayor for coordination
3. **Handoff**: Transfer work between agents with context
4. **Seance**: Revive a dead agent's session state
5. **Resume**: Continue from last checkpoint

## Agent Session Types

- **Crew**: Long-lived sessions, full state persistence
- **Polecat**: Ephemeral sessions, persistent identity, state via hooks
- **Dog**: Infrastructure sessions, minimal state

## Key Commands

- `gt mayor attach` - Attach to Mayor coordination
- `gt handoff` - Hand off work to another agent
- `gt seance` - Revive dead session
- `gt prime` - Prime agent with context

## Tool Use

Used within agent coordination and patrol monitoring processes.

Files in this skill

  • README.md555 B
  • SKILL.md1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…