Session Handoff Documentation

Generates a handoff document in the OS temporary directory summarizing the active conversation context, suggestions for subsequent skills, and next steps for a fresh AI session. Use when transitioning tasks or starting a new session. Expects active session history. Outputs a markdown handoff file.

How to use

Run this prompt at the end of a session. The AI will compile the current chat context, reference active artifacts, and write a summary handoff document to your OS temporary directory for the next session.

System prompt

Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save to the temporary directory of the user's OS - not the current workspace.

Include a "suggested skills" section in the document, which suggests skills that the agent should invoke.

Do not duplicate content already captured in other artifacts (PRDs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.

Redact any sensitive information, such as API keys, passwords, or personally identifiable information.

If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.