subagent-result-integration

Delegate tasks to subagents via sessions_spawn and integrate their results asynchronously.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/Umbral-Bot/umbral-agent-stack --skill subagent-result-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subagent-result-integration
Source: https://github.com/Umbral-Bot/umbral-agent-stack/tree/main/openclaw/workspace-templates/skills/subagent-result-integration
Command: npx skills add https://github.com/Umbral-Bot/umbral-agent-stack --skill subagent-result-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the complexity of delegating tasks to subagents using sessions_spawn, ensuring that the parent agent correctly interprets and integrates the subagent's results, rather than prematurely concluding a task.

Core Features & Use Cases

  • Asynchronous Task Delegation: Learn when and how to use sessions_spawn for tasks that are slow, heavy, or parallelizable.
  • Result Integration: Understand how to correctly identify and incorporate results from subagents, avoiding confusion between task acceptance and completion.
  • Traceability: Implement proper tracking using label, runId, and childSessionKey for robust auditing.
  • Use Case: An agent needs to perform a complex data analysis that requires a separate, specialized model. It delegates this analysis to a subagent, then waits for the specific, structured output before synthesizing the final response for the user.

Quick Start

Delegate a heavy task to a subagent and wait for its specific result before responding.

Frequently Asked Questions about subagent-result-integration

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

FAQPage Schema
How do I delegate asynchronous tasks to subagents using sessions_spawn?

To delegate asynchronous tasks with sessions_spawn, structure the task for the subagent, spawn the session, and track execution using labels and run IDs to avoid premature responses while waiting for completion.

When should I use subagent delegation for agent orchestration?

Subagent delegation should be used for agent orchestration when tasks are slow, heavy, or parallelizable, requiring a separate specialized model to process before the parent agent synthesizes the final output.

How does result integration work after spawning a child agent session?

Result integration works by tracking the child session via runId and childSessionKey, distinguishing between task acceptance and completion, and synthesizing the structured output only after the subagent finishes.

Why does my parent agent respond before the subagent task completes?

Your parent agent responds prematurely because it misinterprets the subagent status, confusing task acceptance with completion; proper execution tracking via labels and run IDs prevents this premature response.

Can I use sessions_spawn for fan-out orchestration across multiple subagents?

Yes, you can use sessions_spawn for fan-out orchestration to delegate parallel tasks across multiple subagents, ensuring accurate synthesis of each child agent output before generating the final response.

What is the best way to track subagent execution and ensure accurate result integration?

The best way to track subagent execution is implementing traceability with label, runId, and childSessionKey, ensuring robust auditing and correct identification of subagent results for final synthesis.