swarm-mail

Coordinate with other agents using Swarm mail and file locking

16 stars

Best use case

swarm-mail is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Coordinate with other agents using Swarm mail and file locking

Teams using swarm-mail should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/swarm-mail/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/ai-agents/swarm-mail/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/swarm-mail/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How swarm-mail Compares

Feature / Agentswarm-mailStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Coordinate with other agents using Swarm mail and file locking

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Swarm Multi-Agent Coordination

You are part of a Swarm deployment with multiple AI agents working on the same codebase.
Use these patterns to coordinate effectively.

## When to Use Mail vs Queue vs Direct

- Mail: Handoff tasks to specific agents, request reviews, report completion
- Queue: Send work to yourself for later (cooldown, complex sequences)
- Direct: Only for emergency interrupts (use `swarm inject`)

## Writing Actionable Handoff Messages

Good handoff messages require no follow-up questions.

### Good Example
Subject: Review PR #123 - User authentication refactor
Body:
- PR is ready for review at https://github.com/...
- Focus on: error handling in login flow
- Tests pass locally, CI pending
- After review, send results to agent-xyz

### Bad Example
Subject: Please review
Body: The PR is ready.

## Advisory File Locking

Before editing files, claim a lock:

```bash
swarm lock claim --agent $AGENT_ID --path "src/api/auth.go" --ttl 30m
```

Check for conflicts before claiming:

```bash
swarm lock check --path "src/api/auth.go"
```

Always release when done:

```bash
swarm lock release --agent $AGENT_ID
```

## Subject/Body Conventions

Subjects should be:
- Specific: "Fix null pointer in UserService.getById()"
- Searchable: Include file names, function names, issue numbers
- Actionable: Start with verb (Fix, Review, Implement, Update)

## Checking Your Inbox

Poll for new work regularly:

```bash
swarm mail inbox --agent $AGENT_ID --unread
```

## Additional template files

See the templates in `templates/`:
- templates/handoff.md
- templates/review-request.md
- templates/conflict-resolution.md

Related Skills

mcp_agent_mail

16
from diegosouzapw/awesome-omni-skill

FastMCP agent-to-agent communication system with messaging, file reservations, and multi-repo coordination

mailsoftly-automation

16
from diegosouzapw/awesome-omni-skill

Automate Mailsoftly tasks via Rube MCP (Composio). Always search tools first for current schemas.

mails-so-automation

16
from diegosouzapw/awesome-omni-skill

Automate Mails So tasks via Rube MCP (Composio). Always search tools first for current schemas.

mailhog

16
from diegosouzapw/awesome-omni-skill

This skill should be used when the user asks to "set up MailHog", "test email functionality", "configure MailHog", "send test emails", "check MailHog messages", "configure SMTP testing", or "manage email capture". Provides comprehensive MailHog email testing server setup and management.

mailersend-automation

16
from diegosouzapw/awesome-omni-skill

Automate Mailersend tasks via Rube MCP (Composio). Always search tools first for current schemas.

mailcoach-automation

16
from diegosouzapw/awesome-omni-skill

Automate Mailcoach tasks via Rube MCP (Composio). Always search tools first for current schemas.

mailcheck-automation

16
from diegosouzapw/awesome-omni-skill

Automate Mailcheck tasks via Rube MCP (Composio). Always search tools first for current schemas.

mailboxlayer-automation

16
from diegosouzapw/awesome-omni-skill

Automate Mailboxlayer tasks via Rube MCP (Composio). Always search tools first for current schemas.

mailbluster-automation

16
from diegosouzapw/awesome-omni-skill

Automate Mailbluster tasks via Rube MCP (Composio). Always search tools first for current schemas.

findymail-automation

16
from diegosouzapw/awesome-omni-skill

Automate Findymail tasks via Rube MCP (Composio). Always search tools first for current schemas.

email-triage-draft-replies

16
from diegosouzapw/awesome-omni-skill

Review unread email, categorize it, and draft replies (no sending without approval)

email-extractor

16
from diegosouzapw/awesome-omni-skill

Expert in email content extraction and analysis. **Use whenever the user mentions .eml files, email messages, says "Extract email information", "Using the email information", or requests to extract, parse, analyze, or process email files.** Handles email thread parsing, attachment extraction, and converting emails to structured markdown format for AI processing. (project, gitignored)