handle-mng-agent_states

Process managed agent lifecycle state events and trigger automated responses.

1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/imbue-ai/simple_mind --skill handle-mng-agent-states
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: handle-mng-agent_states
Source: https://github.com/imbue-ai/simple_mind/tree/main/thinking/skills/handle-mng-agent_states
Command: npx skills add https://github.com/imbue-ai/simple_mind --skill handle-mng-agent-states

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps manage and react to state changes in agents, including sub-agents launched through delegate-task, ensuring proper handling of agent lifecycles.

Core Features & Use Cases

  • State Monitoring: Tracks agent states like "finished", "blocked", or "crashed".
  • Conditional Logic: Executes different actions based on agent type and its final state.
  • Use Case: When a "working" agent finishes, this Skill can trigger a verification step using verify-task-result. If a "task verification" agent completes, it can then recommend the next action, such as providing feedback or notifying the user.

Quick Start

Handle the completion of the agent with id 'agent-123' which is of type 'working'.

Frequently Asked Questions about handle-mng-agent_states

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

FAQPage Schema
How do I manage agent lifecycle events and handle state transitions in automated workflows?

You can handle agent state changes by applying conditional logic based on the agent type and its final state. This skill tracks states like finished, blocked, or crashed to execute appropriate automated responses within your workflow.

Can I trigger a verification step automatically when a working agent finishes its task?

Yes, when a working agent finishes, you can trigger a verification step using verify-task-result. This allows you to automatically validate task execution and ensure the agent completed its assigned workflow correctly.

What's the best way to handle errors when a sub-agent crashes or gets blocked during task execution?

Handling sub-agent crashes or blocks requires monitoring event states and applying conditional logic. This skill processes these lifecycle events to facilitate automated error handling and prevent workflow interruptions during task execution.

How do I automate next action recommendations after a task verification agent completes?

After a task verification agent completes, you can automate next action recommendations such as providing feedback or notifying the user. This skill manages the completion event to trigger these subsequent workflow steps.

Does this agent state management approach work with sub-agents launched through task delegation?

Yes, this agent state management works directly with sub-agents launched through delegate-task. It tracks their lifecycle states and ensures proper handling of their transitions within the broader automated workflow.