AgentSkillsCN

hive-msg

启动或接入智能体间的消息主题,实现 Claude 会话间的实时协作。

SKILL.md
--- frontmatter
name: hive-msg
description: Start or connect to inter-agent messaging topics for real-time collaboration between Claude sessions.
argument-hint: start <context> | connect | inbox

Hive Messaging

Inter-agent communication via inbox-based messaging.

Commands

CommandAction
/hive-msg inboxCheck your inbox for messages
/hive-msg start <context>Find target agent and send message
/hive-msg connectCheck inbox and respond to sender

Core Pattern

bash
# Get your session ID
hive session info

# Your inbox: agent.{your-id}.inbox

# Check for new messages
hive msg sub -t agent.{your-id}.inbox --new

# Discover other agents
hive ls --json

# Send to another agent's inbox
hive msg pub -t agent.{their-id}.inbox "message"

Message Format

Include your inbox for replies:

markdown
# Request from {your-id}

<your message>

Reply to: agent.{your-id}.inbox

If stuck, run hive doc messaging for more details.