← ClaudeAtlas

agent-handofflisted

Generate a context summary for continuing work in a fresh chat. Replaces the session system.
event4u-app/agent-config · ★ 7 · AI & Automation · score 84
Install: claude install-skill event4u-app/agent-config
# /agent-handoff Generates a concise handoff prompt the user can paste into a new chat. This replaces the old session system — no files to save/load, just a copy-paste prompt. ## Steps ### 1. Gather context Collect the following from the current conversation: - **Branch**: `git branch --show-current` - **Uncommitted changes**: `git status --short` - **Recent commits**: `git log --oneline -5` - **Active roadmap**: Check `agents/roadmaps/` for any active roadmap - **Task list**: Only include if the user explicitly asks for it (e.g., "/agent-handoff with tasks") ### 2. Generate handoff prompt Create a fenced code block the user can copy-paste into a new chat: ``` --- Branch: {branch} Last commit: {hash} {message} Roadmap: {roadmap file if active, or "none"} --- ## Done - {1-2 sentences summarizing what was accomplished} ## Open - {bullet list of remaining tasks or next steps} ## Key decisions - {important decisions made during this conversation} ## Relevant files - {list of files that were edited or are important for context} ``` ### 3. Present to user Show the handoff prompt in a fenced code block and say: ``` > Copy this into a new chat to continue where we left off. ``` ## Iron Law — output is ALWAYS a fenced code block ``` THE HANDOFF MUST BE WRAPPED IN A FENCED ```markdown CODE BLOCK SO THE USER CAN COPY IT IN ONE CLICK. NEVER RENDER IT AS LIVE MARKDOWN. NEVER SPLIT IT ACROSS MULTIPLE BLOCKS. ``` Use ` ```markdown ` as the fence so consumers get syntax hig