Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

agent-messaging

БесплатноБез исполняемых скриптовНе проверен

Send and receive messages between AI agents using AI Maestro's messaging system. Use this skill when the user asks to "send a message", "check inbox", "read…

diegosouzapwот diegosouzapw★ 68 звёзд на GitHub

Об этом скилле

AI Maestro Agent Messaging

Purpose

Enable communication between AI coding agents using AI Maestro's dual-channel messaging system. Agents are identified by their agent ID or alias from the agent registry. Supports both SENDING and RECEIVING messages.

CRITICAL: Inter-Agent Communication

YOU ARE AN AGENT - This skill is for agent-to-agent communication, NOT human-agent communication.

IMPORTANT: Understanding "Your Messages"

When the human operator says "check your messages" or "read your messages":

  • YOUR inbox = Messages addressed TO YOUR AGENT (from anyone - operator, other agents, etc.)
  • NOT the operator's inbox = You check YOUR inbox, not the operator's

Example:

  • Human says: "Check your messages"
  • You are agent: backend-api
  • You check: ~/.aimaestro/messages/inbox/backend-api/ (YOUR inbox)
  • These are messages addressed TO backend-api (from any sender)
  • You DO NOT check: The operator's inbox or any other agent's inbox

Agent Identity - AUTOMATIC, DO NOT SET MANUALLY

Your identity is detected automatically. Just use the messaging scripts - they handle everything.

  • Your inbox = Messages addressed TO YOUR AGENT
  • Your agent alias = Your name (e.g., backend-api, lola, crm)
  • Your inbox location = Handled automatically by the scripts

DO NOT:

  • ❌ Set environment variables manually
  • ❌ Prefix messages with your agent ID
  • ❌ Try to configure your identity

JUST DO:

  • ✅ Run check-aimaestro-messages.sh to check your inbox
  • ✅ Run send-aimaestro-message.sh <target> <subject> <message> to send
  • ✅ Run reply-aimaestro-message.sh <msg-id> <reply> to reply

The scripts detect who you are automatically from your tmux session or working directory.


ONLY FOR EXTERNAL AGENTS (Skip if you're in AI Maestro)

⚠️ READ THIS FIRST: If you are running inside AI Maestro (in a tmux session managed by the dashboard), SKIP THIS SECTION. Your identity is automatic. The section below is ONLY for agents running OUTSIDE of AI Maestro.

What is an "External Agent"?

  • An agent running in a separate Claude Code instance (not managed by AI Maestro)
  • An agent in CI/CD pipelines
  • An agent on a machine without AI Maestro installed
  • NOT you, if you see tmux sessions in the AI Maestro dashboard

For External Agents ONLY:

# Set identity ONLY if you're external (not in AI Maestro)
export AI_MAESTRO_AGENT_ID="my-project"
export AI_MAESTRO_HOST_ID="my-hostname"  # Optional

# Then use messaging normally
send-aimaestro-message.sh lola@mini-lola "Hello" "Message from external"
check-aimaestro-messages.sh

How to know if you're external:

  • You DON'T see yourself in the AI Maestro dashboard
  • You're NOT in a tmux session named after an agent
  • You're running from a random directory, not an agent's workingDirectory

You do NOT read:

  • ❌ The operator's inbox
  • ❌ Other agents' inboxes
  • ❌ Messages not addressed to your agent

You DO read:

  • ✅ Messages addressed TO YOUR AGENT
  • ✅ YOUR OWN inbox only
  • ✅ Your agent's inbox: ~/.aimaestro/messages/inbox/YOUR-AGENT-ID/

When to Use This Skill

Sending (Agent-to-Agent):

  • User (operator) says "send a message to [another-agent]"
  • User says "notify [another-agent]" or "alert [another-agent]"
  • User wants YOU to communicate with ANOTHER agent
  • You need to send urgent alerts or requests to OTHER AGENTS

Receiving Messages (Push Notifications):

  • You receive automatic notifications when messages arrive - no polling needed!
  • Notification format: [MESSAGE] From: sender - Subject - check your inbox
  • When you see a notification, use check-aimaestro-messages.sh to see details
  • Use read-aimaestro-message.sh <id> to read the full message
  • User asks "any new messages?" = Use check-aimaestro-messages.sh

RECOMMENDED WORKFLOW:

  1. Receive notification: [MESSAGE] From: slack-bridge - Question from #engineering - check your inbox
  2. Check inbox details: check-aimaestro-messages.sh
  3. Read specific message: read-aimaestro-message.sh <message-id>
  4. Message is automatically marked as read after reading
  5. Reply if needed: reply-aimaestro-message.sh <message-id> "Your reply"
    • For Slack messages (📱), reply automatically posts to Slack thread

Note: Notifications are instant - you don't need to poll or periodically check for messages.

Available Tools

PART 1: RECEIVING MESSAGES (YOUR OWN INBOX)

📖 QUICK START - Check and Read Messages:

# Step 1: Check what unread messages you have
check-aimaestro-messages.sh

# Output shows:
# [msg-1234...] 🔴 From: backend-api | 2025-10-29 14:30
#     Subject: Authentication endpoint ready
#     Preview: The /api/auth/login endpoint is now...

# Step 2: Read the specific message (automatically marks as read)
read-aimaestro-message.sh msg-1234...

# Step 3: Check again - that message is now gone from unread
check-aimaestro-messages.sh
# Output: "📭 No unread messages"

**⚠️ CRIT

Полный SKILL.md на GitHub

Установить agent-messaging в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash

Вложенные файлы

metadata.json

FAQ

Что делает скилл agent-messaging?

Send and receive messages between AI agents using AI Maestro's messaging system. Use this skill when the user asks to "send a message", "check inbox", "read messages", "notify [agent]", "tell [agent]", or any inter-agent communication.

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

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл agent-messaging запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить agent-messaging с