← ClaudeAtlas

handoverlisted

Generate a handover document for transferring work to another developer or spawning an async agent
stevengonsalvez/agents-in-a-box · ★ 14 · AI & Automation · score 74
Install: claude install-skill stevengonsalvez/agents-in-a-box
# /handover - Generate Session Handover Document Generate a handover document for transferring work to another developer or spawning an async agent. ## Usage ```bash /handover # Standard handover /handover "notes about current work" # With notes /handover --agent-spawn "task desc" # For spawning agent ``` ## Modes ### Standard Handover (default) For transferring work to another human or resuming later: - Current session health - Task progress and todos - Technical context - Resumption instructions ### Agent Spawn Mode (`--agent-spawn`) For passing context to spawned agents: - Focused on task context - Technical stack details - Success criteria - Files to modify ## Implementation ### Detect Mode ```bash MODE="standard" AGENT_TASK="" NOTES="${1:-}" if [[ "$1" == "--agent-spawn" ]]; then MODE="agent" AGENT_TASK="${2:-}" shift 2 fi ``` ### Generate Timestamp ```bash TIMESTAMP=$(date +"%Y-%m-%d-%H-%M-%S") DISPLAY_TIME=$(date +"%Y-%m-%d %H:%M:%S") FILENAME="handover-${TIMESTAMP}.md" PRIMARY_LOCATION="{{TOOL_DIR}}/session/${FILENAME}" BACKUP_LOCATION="./${FILENAME}" mkdir -p "{{TOOL_DIR}}/session" ``` ### Standard Handover Content ```markdown # Handover Document **Generated**: ${DISPLAY_TIME} **Session**: $(tmux display-message -p '#S' 2>/dev/null || echo 'unknown') ## Current Work [Describe what you're working on] ## Task Progress [List todos and completion status] ## Technical Context **Current Branch**: $(git b