end-session

Create a structured session summary and write it to agent-os/context/sessions/YYYY-MM-DD-{topic}.md.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/gr8routdoors/lit-sdlc --skill end-session-gr8routdoors
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: end-session
Source: https://github.com/gr8routdoors/lit-sdlc/tree/main/.claude/skills/agent-os/end-session
Command: npx skills add https://github.com/gr8routdoors/lit-sdlc --skill end-session-gr8routdoors

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Preserve the context from the current session so you can resume work seamlessly in future sessions.

Core Features & Use Cases

  • Session capture: Gathers goal, outcomes, decisions, and learnings to create a durable record.
  • Session summary artifact: Writes a session summary to agent-os/context/sessions/YYYY-MM-DD-{topic}.md with a structured format for future reference.
  • Artifact & plan updates: Signals updates to related artifacts, guardrails, and priorities to maintain continuity across sessions.
  • Use Case: End of a milestone or work session, or when taking a break, to ensure you can pick up where you left off.

Quick Start

To preserve context, run the End Session skill at the end of a session to create a session summary and preserve important context.

Frequently Asked Questions about end-session

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I preserve AI session context for future work?

Preserve AI session context by creating a structured summary that captures goals, outcomes, and decisions, writing it to a durable markdown file for seamless future reference and resumption.

What is session context preservation in an AI workflow?

Session context preservation is the process of gathering work learnings and decisions into a durable record, ensuring continuity across work transitions by signaling updates to related artifacts and guardrails.

When should I create a session summary for my AI agent?

Create a session summary at end-of-session events, milestones, or task transitions to ensure you can pick up where you left off and maintain continuity across future sessions.

How do I write a session summary to agent-os context files?

Write a session summary to agent-os context files by saving the structured record to agent-os/context/sessions/YYYY-MM-DD-{topic}.md, which coordinates artifact updates and unattended behavior.

Does session context preservation work with unattended AI workflows?

Yes, session context preservation coordinates unattended behavior by signaling updates to related artifacts, guardrails, and priorities, maintaining continuity even when work transitions occur autonomously.

What is the best way to maintain continuity across AI work sessions?

The best way to maintain continuity across AI work sessions is to generate a durable session summary record and coordinate updates to related artifacts and guardrails at task transitions.