К основному содержанию
скилл CX Codex

hcom-agent-messaging — скилл Claude Code: установка

Связывает AI-агентов в разных терминалах через сообщения, наблюдение и запуск дочерних сессий. Нужен для координации совместной работы.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add aannoo/hcom --skill hcom-agent-messaging -a claude-code
Открыть на GitHub

Что делает hcom-agent-messaging

Скилл описывает работу hcom для AI-агентов, запущенных в отдельных терминалах. Через хуки и общую базу они могут обмениваться сообщениями, видеть статус, транскрипты, правки файлов и историю команд, а также подписываться на события. Агент может запустить, возобновить или остановить другую сессию.

Для старта используется команда hcom <tool>, а панель терминала открывается через hcom. Проверку установки скилл начинает с hcom status, затем предлагает выполнить hcom list. Если команда не найдена, сначала установите hcom через uv tool install hcom.

При проблемах пригодятся hcom hooks status, hcom relay status и hcom reset all. В песочнице состояние можно перенести в проект: HCOM_DIR=$PWD/.hcom hcom <tool>. Без установленного hcom команда hcom status не сработает.

Какие задачи решает

  • связать агентов в разных терминалах
  • передать задачу другому AI-агенту
  • наблюдать за правками и статусом сессии
  • запустить или возобновить дочернего агента
  • проверить хуки и состояние hcom

Примеры запросов агенту

  • Запусти два терминала через hcom claude и hcom codex, затем передай результат проверки между агентами.
  • Попроси Claude Code следить за правками Gemini и отправлять замечания при найденных ошибках.
  • Проверь подключение через hcom status, а затем покажи список участников командой hcom list.

Как установить hcom-agent-messaging

1Через Skills CLI (Vercel)

npx skills add aannoo/hcom --skill hcom-agent-messaging -a claude-code

2Вручную: положить файлы

~/.claude/skills/hcom-agent-messaging/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/hcom-agent-messaging/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о hcom-agent-messaging

Как установить hcom-agent-messaging в Claude Code?

Выполните npx skills add aannoo/hcom --skill hcom-agent-messaging -a claude-code. Затем проверьте файл ~/.claude/skills/hcom-agent-messaging/SKILL.md.

Что делает hcom-agent-messaging?

Скилл подключает агентов в разных терминалах к hcom. Они могут обмениваться сообщениями, наблюдать за сессиями и запускать или возобновлять другие терминалы.

Что делать, если обычная папка hcom недоступна?

Запустите инструмент с состоянием внутри проекта: HCOM_DIR=$PWD/.hcom hcom <tool>. Это использует локальную папку .hcom.

Исходный текст

SKILL.md · MIT
---
name: hcom-agent-messaging
description: >
  Multi-agent communication for AI coding tools. Agents message, watch,
  and spawn each other across terminals. Use when setting up hcom or
  troubleshooting.
---

# 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

```bash
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 hermes
hcom              # TUI dashboard
```

Quickstart:

```bash
# 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, Hermes Agent, and other tools

---

## setup

When this skill is invoked, first run:

```bash
hcom status
```

If hcom status works: run `hcom list`

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

If running `hcom status` returns "command not found", install first:
```bash
uv tool install hcom
```

See the [hcom README](https://github.com/aannoo/hcom#install) 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"

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

still broken?
```bash
hcom reset all # backup config/db + reset it
hcom claude          # fresh start
```

still broken after that?
```bash
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:

```bash
HCOM_DIR=$PWD/.hcom hcom <tool>
```

## files

| what | location |
|------|----------|
| database | `~/.hcom/hcom.db` |
| config | `~/.hcom/config.toml` |
| env | `~/.hcom/env` |
| logs | `~/.hcom/.tmp/logs/` |
| user scripts | `~/.hcom/scripts/` |

---

## more info

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

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

© aannoo · MIT · aannoo/hcom

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
setup-matt-pocock-skills Matt Pocock Скилл настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. 1 052 851установок ask-matt Matt Pocock Помогает выбрать подходящий скилл или рабочий поток из набора Matt Pocock. Пригодится, когда непонятно, с чего начать задачу: от идеи до разбора бага. 766 587установок to-tickets Matt Pocock Разбивает план, спецификацию или переписку на небольшие сквозные задачи и отмечает, какие из них блокируют остальные. Пригодится, когда нужно согласовать порядок работы до публикации задач в трекере. 711 230установок writing-plans Jesse Vincent Скилл превращает требования к многошаговой задаче в подробный план реализации до начала работы с кодом. Пригодится, когда исполнителю нужно зафиксировать файлы, интерфейсы и проверки. CX Codex 282 859установок caveman-review JuliusBrussee Пишет замечания к коду одной строкой: место, проблема, исправление. Пригодится, когда ревью диффа или PR надо пройти быстро и без воды. CX Codex +1 411 800установок caveman-compress JuliusBrussee Сжимает CLAUDE.md, списки задач и другие текстовые файлы в краткий формат, сохраняя читаемую резервную копию. CX Codex +1 411 500установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой