Use only when the user explicitly asks to close off the session: confirm completion, record learnings, and clean up what the session started. Covers close off, close out, end-of-session cleanup, and wrap up.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Close Off?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/lawzava-close-off)
---
name: close-off
description: "Use only when the user explicitly asks to close off the session: confirm completion, record learnings, and clean up what the session started. Covers close off, close out, end-of-session cleanup, and wrap up."
---
# Close Off
The user invokes this skill to end the session. Never archive, delete, or close
the current session. Report readiness only.
## 1. Confirm the task is complete
Apply `verify-and-finish` to the session's task.
If in-scope work remains, do it, then run `verify-and-finish` again. An item you
left deferred or skipped that is inside the user's request is in-scope work.
Recheck its premise with one command. Then do it, or ask the user with the
question tool, or in the reply if it is unavailable. Never report ready while
it is open. If something blocks, report the exact blocker and what it needs,
skip steps 2 to 4, and never say the session is ready.
## 2. Record the learnings
Write durable lessons this session taught into the project's learning surface
(instruction files, learning log, or native memory), using the narrowest target
and direct observations rather than unverified history (following
`writing-agent-instructions` evidence rules). Invoking `close-off` grants scoped
approval for those lesson entries only (not commits, pushes, or standalone
memory rewrites). Revalidate changeable facts. If no durable lesson or surface
exists, skip this step and say so.
## 3. Clean up what this session created
Remove only items this session created and recorded at creation (PID, ID, or
path). Before signalling a PID, confirm it is still the process this session started. Targets:
- background processes, shells, local servers, and daemons;
- subagents, orchestrator sessions, and agent workspaces it started;
- temporary worktrees that are clean, whose commits are reachable from a
branch, that are not the current directory, and that no live session,
subagent, or process uses as its working directory; never their branches;
- scratch files under `$TMPDIR` (skip when it is unset).
If you cannot establish that no one uses a worktree as a working directory,
leave it and say why. Read back each removal, and read session and workspace
state back from the harness. Report an item as removed only after readback
confirms it; a failed or missing readback means left, not removed. Never stop or delete anything this session did not create, anything holding
uncommitted work, or anything instructions say to ask about first. List each
with its reason.
## 4. Close
Report: completion evidence, lessons written and where (or skipped), items
removed, items left with reasons. End the reply with exactly this line
and nothing after it:
It's ready for archiving.