Skip to content
Automation
Skill

/session-management

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

From plugin
babysitter
1.8k200 skills3 agents21 commands1 MCP
Install
$ npx -y skills add a5c-ai/babysitter --skill session-management --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/session-management

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

session-management.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
graph:
  domains: [domain:software-engineering]
  skillAreas: [skill-area:agentic-loops, skill-area:orchestration-loop]
  workflows: [workflow:feature-development]
  topics: [topic:developer-experience]
  roles: [role:tech-lead, role:backend-engineer]
  • 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.

Read more
Ships withbabysitter

Enforce obedience on agentic workforces. Manage extremely complex workflows through deterministic, hallucination-free self-orchestration.

Get the whole plugin

Other skills on babysitter.