Skip to content
FunCoding

Search

Search docs, Skills and MCP

hcom-agent-messaging

Multi-agent communication for AI coding tools. Agents message, watch, and spawn each other across terminals. Use when setting up hcom or troubleshooting.

AI 与智能体561skills/hcom-agent-messaging/SKILL.md

Install

Send this to Claude Code, Codex or Cursor. The agent checks the Skill for safety first and installs it only after you confirm.

读取 https://funcoding.ai/skills/aannoo/hcom/hcom-agent-messaging/install.md ,按里面的步骤帮我安装这个 Skill。

SKILL.md

hcom — multi-agent communication for AI coding tools

AI agents running in separate terminals are isolated. hcom connects them via hooks and a shared database so they can message, watch, and spawn each other in real-time.

Start an agent with hcom in front, then prompt normally.

Use hcom to:

  • coordinate multi-agent pipelines
  • run different AI CLIs as each other's subagents
  • avoid copy-pasting
uv tool install hcom
hcom claude       # or: hcom gemini, hcom codex, hcom opencode, hcom kilo, hcom pi, hcom omp, hcom agy, hcom cursor, hcom kimi, hcom copilot, hcom qoder, hcom grok
hcom              # TUI dashboard

Quickstart:

# terminal 1
hcom claude

# terminal 2
hcom codex

Prompt normally — e.g. review what claude did and send it fixes


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 in real time: mid-turn or wake immediately when idle

Observe each other: status, transcripts, file edits, live terminal screens, command history.

Subscribe and notify on status changes, file edits, collisions, specific events. React automatically.

Spawn, fork, resume, kill in any terminal emulator or headless.

run hcom --help for full command syntax and flags.


Works with Claude Code, Gemini CLI, Codex, OpenCode, Kilo Code, Pi, Oh My Pi, Antigravity, Cursor, Kimi, Copilot, Qoder CLI, Grok Build, and other tools


setup

When this skill is invoked, first run:

hcom status

If hcom status works: run hcom list

If hcom list shows "Your name: " where <name> is not "(not participating)": congratulations!

If running hcom status returns "command not found", install first:

uv tool install hcom

See the hcom README for other install options.

If hcom status shows a list of CLI tools and you are not any of them, run hcom start to connect to hcom.

If you've just installed hcom now or if hcom list shows "Your name: (not participating)" and you are a tool in the hcom status list of CLI tools:

Relaunch into hcom properly for automatic message delivery and full hcom functionality. User should exit and run hcom <tool>. Or if you know your sessionID/ses_/thread_name: user can exit and run hcom r <session-id> to resume you inside hcom. See hcom r --help.


troubleshooting

"hcom not working"

hcom status          # check installation
hcom hooks status    # check hooks specifically
hcom relay status    # check cross-device relay

still broken?

hcom reset all # backup config/db + reset it
hcom claude          # fresh start

still broken after that?

git clone https://github.com/aannoo/hcom.git
cd hcom

Read code and figure out what is going on.

sandbox / permission issues

Use project-local hcom state when the normal hcom directory is unavailable:

HCOM_DIR=$PWD/.hcom hcom <tool>

files

whatlocation
database~/.hcom/hcom.db
config~/.hcom/config.toml
env~/.hcom/env
logs~/.hcom/.tmp/logs/
user scripts~/.hcom/scripts/

more info

hcom --help
hcom <command> --help
hcom run docs --scripts   # script authoring info

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

Similar Skills

brand-guidelines
anthropics/skills180k

brand-guidelines

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

AI & agents

internal-comms
anthropics/skills180k

internal-comms

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

AI & agents

template-skill
anthropics/skills180k

template-skill

Replace with description of the skill and when Claude should use it.

AI & agents

mcp-builder
anthropics/skills180k

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

AI & agents

algorithmic-art
anthropics/skills180k

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

AI & agents

academy-guide
anthropics/skills180k

academy-guide

Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.

AI & agents