handoff
Write a handoff document summarising the current conversation so a fresh agent can continue the work.
Save the document in the working project's local .codex/handoffs/ directory. Create that directory if it does not exist. Prefix the filename with the current date in YYYY-MM-DD format, using a descriptive name such as .codex/handoffs/YYYY-MM-DD-<handoff-name>.md.
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 (specs, 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.