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★ 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.shto 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.shto 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:
- Receive notification:
[MESSAGE] From: slack-bridge - Question from #engineering - check your inbox - Check inbox details:
check-aimaestro-messages.sh - Read specific message:
read-aimaestro-message.sh <message-id> - Message is automatically marked as read after reading
- 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
Установить agent-messaging в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashВложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic