hmem-dispatch

Dispatch tasks to isolated sub-agents with defined INPUT, TASK, and OUTPUT FORMAT.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/YuryZZZ/opencode-global --skill hmem-dispatch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hmem-dispatch
Source: https://github.com/YuryZZZ/opencode-global/tree/main/skills/hmem-dispatch
Command: npx skills add https://github.com/YuryZZZ/opencode-global --skill hmem-dispatch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dispatching isolated sub-agents for deterministically handling tasks, reducing cross-context leakage and keeping main context clean.

Core Features & Use Cases

  • Dispatch for searching, calculations, or writing isolated sections to ensure safety and reproducibility.
  • Supports structured Task/Input/Output definitions and verification steps for reliable integration.
  • Use cases: delegating code search, plan lookups, and document drafting to a dedicated sub-agent.

Quick Start

Provide INPUT, TASK, and OUTPUT FORMAT for the sub-agent and return the [RESULT] block.

Frequently Asked Questions about hmem-dispatch

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

FAQPage Schema
How do I delegate tasks to sub-agents without cross-context leakage?

Dispatching isolated sub-agents for deterministic task execution prevents cross-context leakage by defining structured INPUT, TASK, and OUTPUT FORMAT parameters. This ensures reproducible results while keeping your main context clean and isolated.

What is the best way to automate code search and document drafting in a deterministic workflow?

The best way to automate code search and document drafting deterministically is dispatching them to dedicated sub-agents. By specifying INPUT, TASK, and OUTPUT FORMAT, the sub-agent processes the isolated section and returns only the [RESULT] block for reliable integration.

How do I structure sub-agent task management for isolated calculations and searching?

Structure sub-agent task management by explicitly defining the INPUT, TASK, and OUTPUT FORMAT for each calculation or search. Optionally include a verification step to ensure the sub-agent returns only the required [RESULT] block safely and deterministically.

Does dispatching isolated sub-agents work for writing isolated code sections?

Yes, dispatching isolated sub-agents works effectively for writing isolated code sections. This approach applies to searching, calculations, and writing across code, data, and documentation contexts, ensuring safety and reducing cross-context leakage.

Why does my sub-agent task return inconsistent results across different contexts?

Sub-agent task returns are inconsistent likely due to cross-context leakage. Dispatching isolated sub-agents with strictly defined INPUT, TASK, and OUTPUT FORMAT enforces deterministic results, returning only the [RESULT] block to prevent context contamination.

Can I include a verification step when dispatching tasks to sub-agents?

Yes, you can optionally include a verification step when dispatching tasks to sub-agents. This ensures the sub-agent safely processes the defined INPUT and TASK, returning only the specified OUTPUT FORMAT within the [RESULT] block for reliable integration.