with one click
lifecycle
Session lifecycle management — transitions, state tracking, reactions
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Session lifecycle management — transitions, state tracking, reactions
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | lifecycle |
| description | Session lifecycle management — transitions, state tracking, reactions |
| toolScope | ["Bash","Read"] |
| effort | normal |
Manage agent session lifecycle:
curl -X POST http://localhost:3111/api/lifecycle/transition -H 'Content-Type: application/json' -d '{"agentId": "claude-code", "newState": "working"}'curl http://localhost:3111/api/lifecycle/state/claude-codecurl -X POST http://localhost:3111/api/lifecycle/reactions -H 'Content-Type: application/json' -d '{"agentId": "claude-code", "from": "blocked", "to": "working", "action": "notify"}'States: spawning -> working -> blocked -> pr_open -> review -> merged -> done | failed -> recovering | terminated.
Create, test, and improve functions at runtime — agents write their own code
Persistent agent memory — store, recall, search across sessions
Plan and execute multi-agent work — decompose features, spawn workers, monitor progress
Scan agent health and auto-recover stale or dead sessions
Security scanning — injection detection, capability checks, audit trails
Multi-agent swarm coordination — create swarms, broadcast tasks, reach consensus