hcom-agent-messaging

Let AI agents message, watch, and spawn each other across terminals. Claude Code, Gemini CLI, Codex, OpenCode. Use this skill when the human user needs help, status, or reference about hcom - when user asks questions like "how to setup hcom", "hcom not working", "explain hcom", or any hcom troubleshooting.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "hcom-agent-messaging" with this command: npx skills add aannoo/hcom/aannoo-hcom-hcom-agent-messaging

hcom — Let AI agents message, watch, and spawn each other across terminals. Claude Code, Gemini CLI, Codex, OpenCode.

AI agents running in separate terminals are isolated from each other. Context doesn't transfer, decisions get repeated, file edits collide. hcom connects them.

pip install hcom
hcom claude
hcom gemini
hcom codex
hcom opencode
hcom                            # TUI dashboard

What humans can do

Tell any agent:

send a message to claude

when codex goes idle send it the next task

watch gemini's file edits, review each and send feedback if any bugs

fork yourself to investigate the bug and report back

find which agent worked on terminal_id code, resume them and ask why it sucks


What agents can do

  • Message each other (@mentions, intents, threads, broadcast)
  • Read each other's transcripts (ranges, detail levels)
  • View agent terminal screens, inject text/enter for approvals
  • Query event history (file edits, commands, status, lifecycle)
  • Subscribe and react to each other's activity in real-time
  • Spawn, fork, resume, kill agents in new terminal panes
  • Build context bundles (files, transcript, events) for handoffs
  • Collision detection — 2 agents edit same file within 20s, both notified
  • Cross-device — connect agents across machines via MQTT relay

Setup

If the user invokes this skill without arguments:

  1. Run hcom status — if "command not found", run pip install hcom first
  2. Tell user to run hcom claude or hcom gemini or hcom codex or hcom opencode in a new terminal (auto installs hooks on first run)
Status OutputMeaningAction
command not foundhcom not installedpip install hcom
[~] claudeTool exists, hooks not installedhcom hooks add then restart tool (or just hcom claude)
[✓] claudeHooks installedReady — use hcom claude or hcom start
[✗] claudeTool not foundInstall the AI tool first

After adding hooks or installing hcom you must restart the current AI tool for hcom to activate.


Tool Support

ToolMessage Delivery
Claude Code (incl. subagents)automatic
Gemini CLIautomatic
Codexautomatic
OpenCodeautomatic
Any AI toolmanual - via hcom start

Troubleshooting

"hcom not working"

hcom status          # Check installation
hcom hooks status    # Check hooks specifically
hcom daemon status
hcom relay status

Hooks missing? hcom hooks add then restart tool.

Still broken?

hcom reset all && hcom hooks add
# Close all claude/codex/gemini/opencode/hcom windows
hcom claude          # Fresh start

"messages not arriving"

  1. Check recipient: hcom list — are they listening or active?
  2. Check message sent: hcom events --sql "type='message'" --last 5
  3. Recipient shows [claude*]? Restart the AI tool

Sandbox / Permission Issues

export HCOM_DIR="$PWD/.hcom"     # Project-local mode
hcom hooks add                   # Installs to project dir

Files

WhatLocation
Database~/.hcom/hcom.db
Config~/.hcom/config.toml
Logs~/.hcom/.tmp/logs/hcom.log

With HCOM_DIR set, uses that path instead of ~/.hcom.


More Info

hcom --help              # All commands
hcom <command> --help    # Command details
hcom run docs            # Full CLI + config + API reference

GitHub: https://github.com/aannoo/hcom

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated
Coding

ai-dating

This skill enables dating and matchmaking workflows. Use it when a user asks to make friends, find a partner, run matchmaking, or provide dating preferences/profile updates. The skill should execute `dating-cli` commands to complete profile setup, task creation/update, match checking, contact reveal, and review.

Archived SourceRecently Updated