Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
0xPD33 avatar

Hydra Mail

  • Updated February 5, 2026
  • 0xPD33/hydra-tools

hydra-mail provides multi-agent pub/sub messaging using TOON encoding. It lets multiple agents publish and subscribe to messages so they can coordinate work. It is agent-coordination tooling for multi-agent setups.

Key points

  • Multi-agent pub/sub messaging
  • TOON encoding
  • Agent coordination

Hydra Mail by the numbers

  • Data as of Jul 7, 2026 (Skillselion catalog sync)
/plugin marketplace add 0xPD33/hydra-tools
/plugin install hydra-mail@hydra-tools

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Last updatedFebruary 5, 2026
Repository0xPD33/hydra-tools

What it does

Multi-agent pub/sub messaging with TOON encoding to coordinate communication between agents.

README.md

Hydra Mail - Claude Code Plugin

Multi-agent pub/sub messaging system with TOON encoding for token-efficient coordination between AI agents.

Features

  • Lightweight pub/sub - In-memory broadcast channels with <5ms latency
  • Token efficiency - TOON encoding provides 30-60% token savings vs JSON
  • Project isolation - UUID-scoped channels prevent cross-project interference
  • Replay buffer - Late subscribers automatically receive message history
  • Skills integration - Auto-generated Claude Code skills for seamless usage

Installation

# Symlink skill for persistent use
ln -s /path/to/hydra-tools/hydra-mail/.claude-plugin/skills/hydra-mail ~/.claude/skills/hydra-mail

# Or load plugin for one session
claude --plugin-dir /path/to/hydra-tools/hydra-mail

Testing

# 1. Start Claude with the plugin
claude --plugin-dir ./hydra-mail

# 2. Verify skill loaded
> What skills are available?

# 3. Test the skill triggers
> I just fixed a bug in auth.py, emit this to hydra-mail

Usage

1. Initialize in Your Project

cd your-project
hydra-mail init --daemon

This creates:

  • .hydra/config.toml - Project configuration with UUID
  • .hydra/config.sh - Shell integration
  • Daemon process for persistent messaging

2. Use in Claude Code

Once the skill is loaded, use these tools in your prompts:

Emit a message after completing an action:

After fixing the auth bug, I'll notify other agents:
hydra_emit channel='repo:delta' type='delta' data='{"action":"fixed","target":"auth.py","impact":"login validates tokens"}'

Check for messages from other agents:

Let me check if other agents have made changes:
hydra_subscribe channel='repo:delta' once=true

3. Channels

  • repo:delta - Code changes, refactoring, architecture
  • team:alert - Errors, warnings, critical issues
  • team:status - Progress updates, test results
  • team:question - Questions needing coordination

CLI Commands

# Initialize project
hydra-mail init [--daemon]

# Start daemon
hydra-mail start

# Stop daemon
hydra-mail stop

# Check status
hydra-mail status

# Emit message
echo '{"action":"updated","target":"file.rs"}' | \
  hydra-mail emit --channel repo:delta --type delta

# Subscribe to channel
hydra-mail subscribe --channel repo:delta [--once]

Skills

The plugin includes one skill:

  • hydra-mail - Core pub/sub tools for multi-agent coordination

Architecture

  • In-memory pub/sub - Tokio broadcast channels
  • Unix Domain Sockets - Efficient IPC (Linux/macOS only)
  • TOON encoding - Token-Oriented Object Notation for efficiency
  • Project-scoped - UUID-based isolation
  • Daemon mode - Persistent process per project

Building from Source

# Using Nix (recommended)
nix build

# Using Cargo
cargo build --release

# Binary location
./target/release/hydra-mail

Documentation

License

MIT

Related skills

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.