By jmerelnyc
Coordinate multiple AI agents using a file-based message queue for inter-agent messaging, co-op mode, and structured collaborative workflows for design projects.
Coordinate agents via the AMQ CLI for file-based inter-agent messaging. Use this skill whenever you need to send messages to another agent (codex, claude, or any named handle), check your inbox, drain queued messages, set up co-op mode between agents, join a swarm team, route messages across projects, or diagnose delivery issues. Also use it when you receive a message and need to know how to reply, inspect receipts, or handle priority. Covers any multi-agent coordination task where agents need to talk to each other — review requests, questions, status updates, decision threads, wake notifications, and orchestrator integration (Symphony, Kanban). For collaborative spec/design workflows specifically, prefer the /amq-spec skill which provides structured phase-by-phase guidance. Not intended for distributed systems design (RabbitMQ, Kafka), CI/CD pipelines, or single-agent tasks with no partner.
Parallel-research-then-converge design workflow between two agents. Use this skill when the user wants two agents to independently think through a design problem before aligning on a solution — "spec X with codex", "design X together", "both agents think through X", "brainstorm architecture together", "parallel research then joint proposal", "think through separately then align", "careful thought from both sides before coding", or any variation where the user wants collaborative design rather than just splitting implementation work. Also use this when you receive a message labeled workflow:spec and need to know the correct receiver-side protocol. Not for sending simple messages or reviews (use /amq-cli), implementing completed designs, or creating document templates.
# agentmail




> File-based message queue for local agent communication using Maildir
## table of contents
- [install](#install)
- [usage](#usage)
- [api](#api)
- [contributing](#contributing)
- [license](#license)
## install
```bash
go get github.com/yourusername/agentmail
package main
import (
"fmt"
"log"
"github.com/yourusername/agentmail"
)
func main() {
// Create a new mailbox
mbox, err := agentmail.NewMailbox("/var/spool/agents/myagent")
if err != nil {
log.Fatal(err)
}
defer mbox.Close()
// Send a message
msg := agentmail.Message{
From: "agent1",
To: "agent2",
Body: []byte("hello from agent1"),
}
if err := mbox.Send(msg); err != nil {
log.Fatal(err)
}
// Receive messages
messages, err := mbox.Receive()
if err != nil {
log.Fatal(err)
}
for _, m := range messages {
fmt.Printf("From: %s\nBody: %s\n", m.From, string(m.Body))
m.Delete() // Remove from queue after processing
}
}
NewMailbox(path string) (*Mailbox, error)Creates a new mailbox at the specified path. Creates the Maildir structure (new/, cur/, tmp/) if it doesn't exist.
(*Mailbox) Send(msg Message) errorSends a message to the mailbox. Uses atomic file operations to ensure message integrity.
(*Mailbox) Receive() ([]*Message, error)Retrieves all pending messages from the mailbox. Moves messages from new/ to cur/ following Maildir semantics.
(*Mailbox) Watch(handler func(*Message)) errorWatches the mailbox for new messages and calls the handler function for each one. Blocks until an error occurs or the context is canceled.
(*Message) Delete() errorRemoves the message file from disk. Call after successfully processing a message.
(*Message) MarkRead() errorUpdates the message filename to indicate it has been read.
type Message struct {
From string
To string
Timestamp time.Time
Body []byte
Headers map[string]string
}
prs welcome. open an issue first for big changes.
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub jmerelnyc/agentmailUltra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Frontend design skill for UI/UX implementation
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Memory compression system for Claude Code - persist context across sessions
Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.