What problem does it solve? When a session is closed from a dashboard button rather than an interactive terminal, no human is present to answer questions, so the usual interactive close workflow cannot run. This Skill performs the unattended wrap-up: it writes the session summary into the given notes.md, refreshes PR and ticket frontmatter, and stamps the Session history entry that marks the session Closed. ## Core Features & Use Cases - Headless session summary: Distils the restored conversation into dated decisions, files touched, open questions, and a rewritten next-steps queue of at most 7 open items. - Append-only frontmatter refresh: Collects PR URLs via gh pr view and conversation scanning, plus ticket IDs and their observed statuses, without ever removing existing links. - Close marker stamping: Always appends a Session history line with the original session id, which is what moves the session to Closed in the dashboard. - Use Case: A user clicks Close on a stale session in the AI Agents Orchestrator dashboard; the app resumes the session with --print and invokes this Skill to wrap it up without any interactive prompts. ## Quick Start Run /wrap-session with the path to the session's notes.md and the original session id to close it out unattended.