home/categories/architecture-patterns/hgeldenhuys-claude-agent-lifecycle-claude-skills-managing-agent-lifecycles-skill-md
architecture-patternsdevelopment

managing-agent-lifecycles

Implements persistent agent lifecycle management with 6 lifespans (ephemeral, turn, context, session, workflow, project). Use when creating agents that survive across turns, managing workflow-scoped execution, or needing automatic cleanup at lifecycle boundaries.

hgeldenhuys
maintainer
hgeldenhuys
Updated 12/6/2025
Stars
0
Forks
0
quick start

Installation and usage

Implements persistent agent lifecycle management with 6 lifespans (ephemeral, turn, context, session, workflow, project). Use when creating agents that survive across turns, managing workflow-scoped execution, or needing automatic cleanup at lifecycle boundaries.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use managing-agent-lifecycles