run-hcom-agents
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.
Decision tree
- User wants to write a new hcom script → Use the Script Template below
- User wants a specific pattern (review loop, ensemble, etc.) → Read
references/patterns/tested-patterns.md
More from yigitkonur/skills-by-yigitkonur
run-research
Use skill if you are answering one technical research question with current web evidence, Reddit practitioner experience, and source-backed synthesis, optionally fanned out across parallel subagents.
42run-agent-browser
Use skill if you are driving the agent-browser CLI for ad hoc browser automation — @ref snapshots, sessions, forms, extraction, screenshots, headed/stealth, or provider runs.
38publish-npm-package
Use skill if you are publishing to npm via GitHub Actions release workflow with trusted publishing, NPM_TOKEN, provenance, semantic-release, changesets, release-please, or fixing npm publish CI.
35build-mcp-use-server
Use skill if you are building TypeScript MCP servers with mcp-use/server — server.tool, response helpers, ctx.auth, sessions, transports, widgets, Inspector, deploy.
34init-agent-config
Use skill if you are creating, auditing, or migrating CLAUDE.md, AGENTS.md, or REVIEW.md instruction files, folder-scoped agent guidance, or cross-agent companion entrypoints.
34build-skills
Use skill if you are creating or substantially revising a Claude skill and need workspace-first evidence, remote comparison, and repo-fit synthesis before writing SKILL.md.
32