session-management
// Manage agent sessions including initialization, handoffs, revival (seance), and persistent identity for Polecats and Crew agents.
$ git log --oneline --stat
stars:384
forks:73
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
namesession-management
descriptionManage agent sessions including initialization, handoffs, revival (seance), and persistent identity for Polecats and Crew agents.
allowed-toolsRead, 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
- Init: Start new session with role and hook setup
- Attach: Connect agent to Mayor for coordination
- Handoff: Transfer work between agents with context
- Seance: Revive a dead agent's session state
- 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 coordinationgt handoff- Hand off work to another agentgt seance- Revive dead sessiongt prime- Prime agent with context
Tool Use
Used within agent coordination and patrol monitoring processes.