Summarize the current conversation into a handoff document so that a brand-new agent can continue the work. Save it to the user's operating system temporary directory—not the current workspace.
The document needs to include a "Suggested Skills" section listing the skills the agent should invoke.
Do not duplicate content already recorded in other artifacts (PRD, plan, ADR, Issue, commit, diff). Reference them by path or URL.
Redact all sensitive information, such as API keys, passwords, or personally identifiable information.
If the user passed in arguments, treat them as a description of the focus for the next session and adjust the document content accordingly.