界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

session-management

session-management

【效率与协作】Manage agent sessions including initialization, handoffs, revival (seance), and persistent identity for Polecats and Crew agents.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

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.

我的收藏