run-hcom-agents
Installation
SKILL.md
Run hcom Agents
Write and run hcom scripts that launch, coordinate, and manage multiple AI coding agents.
Mandatory preflight
Before using any reference script or launching a headless agent:
- Verify the CLI and target tool are installed.
- Run
hcom statusand confirm hooks are installed for every backend you plan to use (claude,codex,gemini,opencode). - If hooks are missing, run
hcom hooks add <tool>, restart that tool, then re-runhcom status. - If
hcom hooks add <tool>fails orhcom statusstill does not show installed hooks, stop. Capturehcom statusoutput and do not proceed to launch scripts. - After launching any headless agent, wait for a ready signal before sending messages. For Codex this usually means
hcom events --wait 30 --idle "$codex_name"; for other tools, use the same check when launch/binding looks uncertain. - If one agent's startup prompt sends to another agent, launch the recipient first. Examples: reviewer before worker, judge before contestants, Codex engineer before Claude architect.