Session Lifecycle

Manage Claude Agent SDK / Managed Agents sessions — creation, resumption, compaction, forking, and termination. Covers when to start fresh, when to resume, and how to handle context window pressure in long sessions. Use this skill when building multi-turn agents, debugging "my agent forgot the earlier context", or designing session retention policies. Activate when: agent session, session resume, conversation compaction, session fork, context window overflow, session lifecycle.

latestaiagents 7772e8d 5.7 KB Updated

File contents

latestaiagents/agent-skills/tree/main/skills/claude-agent-sdk/session-lifecycle commit 7772e8d0cb

Frequently asked questions

npx skillmds@latest add latestaiagents/session-lifecycle