@cluski/pi-handoff
v0.1.0
Published
Pi extension that summarizes the current conversation and hands it off to a new session.
Maintainers
Readme
pi-handoff
Pi extension that adds /handoff.
/handoff summarizes the current conversation, opens a new session, and adds the generated handoff as hidden context. The agent does not start until you send the next message.
Install
From npm after publishing:
pi install npm:@cluski/pi-handoffFor local development from this checkout:
pi install .Or run it for one Pi session without installing:
pi -e ./src/index.tsUsage
/handoff
/handoff focus on finishing tests
/handoff --editBy default the generated handoff is added as a hidden message in a new session and does not start automatically. Use --edit or -e to review and edit the generated prompt before the new session is created.
The generated prompt asks the model to preserve the original request, current task, important files and directories, completed work, decisions, test/build state, blockers, and next steps.
