Agent skill
lifecycle
Session lifecycle management — transitions, state tracking, reactions
Install this agent skill to your Project
npx add-skill https://github.com/iii-hq/agentos/tree/main/plugin/skills/lifecycle
SKILL.md
Manage agent session lifecycle:
- Transition:
curl -X POST http://localhost:3111/api/lifecycle/transition -H 'Content-Type: application/json' -d '{"agentId": "claude-code", "newState": "working"}' - Get state:
curl http://localhost:3111/api/lifecycle/state/claude-code - Add reaction:
curl -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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
recover
Scan agent health and auto-recover stale or dead sessions
memory
Persistent agent memory — store, recall, search across sessions
swarm
Multi-agent swarm coordination — create swarms, broadcast tasks, reach consensus
status
System status and health checks — dashboard stats, agent health, worker status
evolve
Create, test, and improve functions at runtime — agents write their own code
tasks
Task decomposition — break features into subtasks, assign workers, track progress
Didn't find tool you were looking for?