Skip to content
Back to skills

Session Sunset

ASecurity

Protocol for ending an agent session: handover comments, mental-model state and memory persistence against Zero-State Amnesia. Triggers: context over 75 % of the window; at a quiet point, about twice a session's size after recovery; a macro-semantic pivot; an explicit human directive. Never task completion or a wait by itself.

  • 11 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
ai-agents

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 6, 2026

npx -y skills add neomjs/neo-agent-skills --skill session-sunset --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Session Sunset?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Session Sunset
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/neomjs-session-sunset/badge)](https://www.skillsdirectory.com/skills/neomjs-session-sunset)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: session-sunset
description: "Protocol for ending an agent session: handover comments, mental-model state and memory persistence against Zero-State Amnesia. Triggers: context over 75 % of the window; at a quiet point, about twice a session's size after recovery; a macro-semantic pivot; an explicit human directive. Never task completion or a wait by itself."
---

# Session Sunset Skill

**πŸ›‘ ANTI-TRIGGERS (Completion Bias Guard) πŸ›‘**
**Task Completion β‰  Session Sunset.** Unless the workflow's trigger 1 holds, you must **halt and wait for the next turn** (do NOT sunset) if you are:
1. **Halting for Peer Review:** Waiting for cross-family PR review or human feedback. This is an active lifecycle state, not a boundary.
2. **Single Task Completion:** Finishing one ticket/task while your context window is still healthy. Pick up the next task.
3. **Asynchronous Delays:** Waiting for CI, test results, or A2A responses.

Sunsets are strictly reserved for the workflow's Β§1 triggers: **Context Exhaustion or Cost**, **Macro-Semantic Pivots**, or **Explicit Human Directives**.

If you meet a valid sunset condition, you MUST immediately use the `view_file` tool to read and strictly adhere to `.agents/skills/session-sunset/references/session-sunset-workflow.md` before terminating. This prevents Zero-State Amnesia.

Files in this skill

  • SKILL.md1.3 KB
  • references/session-sunset-workflow.md21.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.