# End Of Shift

> Close a governed work session — the unified session-close path (validation + proof + findings + budget + digest + learning) that ends with the `handoff` delegation step when work remains. Prefer this over bare `handoff` for any end-of-shift wrap-up. Use when the user asks to wrap up, stop for the day, or leave work ready for another agent.

- Skill: `aryaminus/end-of-shift` (Agent Skill)
- Install (CLI): `npx skillmds@latest add aryaminus/end-of-shift`
- Raw SKILL.md: https://api.skillmd.com/api/skills/aryaminus/end-of-shift/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- License: Apache-2.0
- Author: aryaminus (https://skillmd.com/u/aryaminus)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/aryaminus/end-of-shift

---


# End of Shift — unified session-close

> `handoff` is step 7 of this skill (mid-session delegation without the earlier validation/proof/digest/learning gates). Use bare `handoff` only for mid-session delegation; this skill is the full close — it validates, finalizes proof, checks budget, synthesizes learnings, then hands off if work remains.

Close work with enough verified state that the next human or agent can continue without reconstructing the session from chat.

## Workflow

1. Reacquire CK context and inspect git status and diff. Identify untracked artifacts, unrelated changes, unresolved tasks, pending reviews, and active findings.
2. Run the targeted checks required by the changed behavior. Run the project's full completion command only when policy or the approved plan requires it.
3. Validate the final diff and stop on blocked findings. Record warnings with their concrete consequence.
4. Correlate tests, external regression results, and review approvals with the task proof. Do not call an untested or unreviewed path complete.
5. Check budget and record the session outcome. Generate a digest.
6. Persist only durable decisions or reusable lessons. Do not commit raw transcripts, speculative notes, secrets, or duplicated summaries.
7. If work remains, create a checkpoint and use the handoff workflow with explicit next action, blockers, validation state, and allowed scope.

## Stop conditions

- `blocked`: an active blocked finding, failed required check, denied review, or unsafe workspace state remains.
- `partial`: completed work is valid but scoped work remains or required external evidence is unavailable.
- `complete`: required checks pass, findings are dispositioned, proof is present, and no approved-scope work remains.

## Output

Return the declared result schema. Include exact validation commands or proof references, not “tests pass” without evidence.

