CGPT Thread Closeout
Use this skill at the end of a meaningful work session, especially when the user wants the next Codex or Claude session to resume without rediscovery.
All new skill folders, handoffs, reports, recovery maps, backups, and similar CGPT-created artifacts should use a CGPT prefix unless the user explicitly asks for another naming convention. For Codex skill folder names, use lowercase cgpt-... so they satisfy skill naming rules.
Core Workflow
Identify the active work context.
- Primary workspace or project folder.
- Files created, edited, exported, moved, or verified.
- Commands, builds, tests, renders, browser checks, or validations that matter.
- User constraints that should carry forward.
Verify only what is necessary.
- Confirm important output files still exist.
- Check timestamps/sizes for deliverables when useful.
- For repos, check
git status --short if code or tracked docs changed.
- Do not do broad scans unless the user asks for a full inventory.
Produce durable notes when a clear project folder exists.
- Prefer existing project-local files such as
SESSION-MEMORY.md, STATUS-LOG.md, HANDOFF.md, or NEXT-CODEX-TASK.md if the project already uses them.
- Otherwise create one compact file named
CGPT-THREAD-CLOSEOUT-YYYY-MM-DD.md in the relevant project or reports folder.
- Append to existing logs rather than replacing them unless the user explicitly asks for a rewrite.
Include a concrete next-thread launch point.
- State the exact next task.
- Name the starting folder and any no-touch folders.
- Name the first files to read.
- Include known blockers, risks, and unverified assumptions.
Respect boundaries.
- Do not edit unrelated folders.
- Do not revert user changes.
- Do not commit, push, delete, or archive unless the user asks.
- If the user names a sibling repo or folder to leave alone, treat that as a hard boundary.
If the user explicitly asks to end or archive the thread.
- First provide the closeout and exact artifact paths.
- Then use the archive directive if available in the current app context.
Closeout Checklist
- Artifacts: exact paths and formats.
- Validation: commands/checks run and results.
- Git: branch, remote, and dirty/clean state when relevant.
- Memory/handoff: files updated or intentionally not updated.
- Next task: one concrete continuation prompt.
- Residual risk: anything not verified.
Output Shape
Keep the final closeout short and operational:
Closed out.
Done: ...
Saved: [file](</absolute/path/file.md>)
Validated: ...
Next thread should start with: ...
Residual risk: ...
For document/report work, include HTML/PDF/DOCX paths if they were created or updated. For manuscript recovery work, include the live manuscript, backup, recovery map, and next writing target.
1---2name: cgpt-thread-closeout3description: Use when the user asks CGPT/Codex to close out, wrap up, end a thread, prepare a handoff, save session memory, create next-thread instructions, update status logs, archive a conversation, or make sure a project can be resumed cleanly later.4---56# CGPT Thread Closeout78Use this skill at the end of a meaningful work session, especially when the user wants the next Codex or Claude session to resume without rediscovery.910All new skill folders, handoffs, reports, recovery maps, backups, and similar CGPT-created artifacts should use a `CGPT` prefix unless the user explicitly asks for another naming convention. For Codex skill folder names, use lowercase `cgpt-...` so they satisfy skill naming rules.1112## Core Workflow13141. Identify the active work context.15 - Primary workspace or project folder.16 - Files created, edited, exported, moved, or verified.17 - Commands, builds, tests, renders, browser checks, or validations that matter.18 - User constraints that should carry forward.19202. Verify only what is necessary.21 - Confirm important output files still exist.22 - Check timestamps/sizes for deliverables when useful.23 - For repos, check `git status --short` if code or tracked docs changed.24 - Do not do broad scans unless the user asks for a full inventory.25263. Produce durable notes when a clear project folder exists.27 - Prefer existing project-local files such as `SESSION-MEMORY.md`, `STATUS-LOG.md`, `HANDOFF.md`, or `NEXT-CODEX-TASK.md` if the project already uses them.28 - Otherwise create one compact file named `CGPT-THREAD-CLOSEOUT-YYYY-MM-DD.md` in the relevant project or reports folder.29 - Append to existing logs rather than replacing them unless the user explicitly asks for a rewrite.30314. Include a concrete next-thread launch point.32 - State the exact next task.33 - Name the starting folder and any no-touch folders.34 - Name the first files to read.35 - Include known blockers, risks, and unverified assumptions.36375. Respect boundaries.38 - Do not edit unrelated folders.39 - Do not revert user changes.40 - Do not commit, push, delete, or archive unless the user asks.41 - If the user names a sibling repo or folder to leave alone, treat that as a hard boundary.42436. If the user explicitly asks to end or archive the thread.44 - First provide the closeout and exact artifact paths.45 - Then use the archive directive if available in the current app context.4647## Closeout Checklist4849- Artifacts: exact paths and formats.50- Validation: commands/checks run and results.51- Git: branch, remote, and dirty/clean state when relevant.52- Memory/handoff: files updated or intentionally not updated.53- Next task: one concrete continuation prompt.54- Residual risk: anything not verified.5556## Output Shape5758Keep the final closeout short and operational:5960```markdown61Closed out.6263Done: ...64Saved: [file](</absolute/path/file.md>)65Validated: ...66Next thread should start with: ...67Residual risk: ...68```6970For document/report work, include HTML/PDF/DOCX paths if they were created or updated. For manuscript recovery work, include the live manuscript, backup, recovery map, and next writing target.