En

Agent Mailbox Light

A lightweight, cross-workspace local mailbox system for multi-agent temporary coordination and context sharing.

开发流程 协调多智能体同步项目上下文优化Token消耗 claude通用 ★ 784 Updated 2026-08-02

Install & Use

Copy this prompt and send it to your AI assistant (Claude / Cursor / TRAE / Codex / WorkBuddy etc.) to auto-install:

Help me install this AI Skill: Agent Mailbox Light.
It is used for: A lightweight, cross-workspace local mailbox system for multi-agent temporary coordination and context sharing.
Full Skill content: https://321skill.com/skills/agent-mailbox-light-x-2/raw/index.md
Read that page and install it.

The prompt includes a link to the full Skill content. You can also view the full content.

This Skill addresses the need for low-noise, temporary coordination and information sharing among multiple AI agents across different workspaces. In practical development, agents often need to pass prompts, warnings, or context between different tasks or sessions, but they may not want to write these temporary messages into long-term memory or rely on complex message buses, which can lead to high coordination overhead and information clutter.

Usage is straightforward: simply enable this Skill in the agent's workspace, and it will create a .agent-mailbox directory under each workspace, containing three folders: inbox, keep, and archive. The sender script scans other workspaces based on configured path patterns and writes emails as Markdown files into the target workspace's inbox folder. The receiving agent can read the latest emails from its own inbox upon startup or before executing a task, quickly obtaining relevant context, and move emails to the keep or archive folders as needed.

It is ideal for developers or teams who need to coordinate multiple AI agents working in parallel (e.g., multiple Claude Code agents), especially those already using frameworks like OpenClaw and needing to pass temporary prompts, status updates, or warnings between agents across different projects or sessions, while keeping the system lightweight, local, and free of complex dependencies.

It is recommended to integrate mailbox checks into the agent's baseline startup routine, such as automatically reading the latest 1-3 emails each time it starts. Note that this is primarily a "best-effort" broadcast system based on the local file system; it does not guarantee delivery, has no push notifications, and is not suitable as a task execution bus. Email content should be treated as advisory prompts for the local agent to consider, not as mandatory commands.

Key Features

Unlike message queues that rely on centralized registries or cloud services, it adopts a fully decentralized local file system model, achieving "best-effort" broadcasts by scanning workspace directories. This requires no server or network dependencies, greatly simplifying deployment and debugging.

Limitations

This Skill only supports the local file system and cannot perform remote synchronization or cloud delivery. Its "best-effort" broadcast model means emails may be silently dropped if the target path does not exist or write operations fail, with no retry or delivery confirmation mechanism.

FAQ

Can emails be guaranteed to reach other agents?

No. It uses a "best-effort" broadcast model. If the target workspace path does not exist or the write operation fails, the email is silently skipped with no retry or delivery confirmation.

Will email content consume a large number of tokens?

No. The design encourages sending brief emails, and the receiver typically only reads the latest 1-3 emails, compressing them into a concise summary to optimize token usage.

Installation guide for AI assistants

If your AI coding assistant (Claude Code, Cursor, TRAE etc.) can see this page, send it this message to auto-install:

Visit https://321skill.com/skills/agent-mailbox-light-x-2/raw/index.md to read the original Skill definition (Markdown format) for Agent Mailbox Light, and install it according to the instructions.