agent-mail
Coordinar múltiples agentes de IA con Mail
Múltiples agentes de IA trabajando juntos a menudo se sobrescriben mutuamente los cambios o pierden contexto crítico. Agent Mail proporciona una capa de coordinación similar al correo electrónico con reservas de archivos, mensajería hilvanada y supervisión humana para mantener a los agentes organizados y prevenir conflictos.
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“agent-mail”。 Start a session for my claude-code agent working on auth module refactoring
预期结果:
- Project: /home/user/project (created)
- Agent: CoolPond registered
- File reservations: src/auth/**/*.ts (granted, no conflicts)
- Inbox: 0 unread messages
正在使用“agent-mail”。 Reserve files and announce work on database schema
预期结果:
- Reserved: db/schema/**/*.sql (exclusive, 1 hour TTL)
- Conflicts: none
- Message sent to team: [bd-456] Starting schema updates
- Awaiting acknowledgment from 2 agents
正在使用“agent-mail”。 Check inbox for urgent messages
预期结果:
- Urgent: 1 message from RedMountain
- Subject: [bd-123] Need help with auth middleware
- Action required: reply within 2 hours
安全审计
安全This skill contains only documentation (SKILL.md). The static analyzer flagged patterns that only apply to executable code, not markdown documentation. All findings are false positives: Ed25519 and Age are modern secure cryptography; shell syntax examples are documentation, not code; the install command uses standard secure practices (curl -fsSL from trusted GitHub source).
风险因素
🌐 网络访问 (9)
⚙️ 外部命令 (104)
📁 文件系统访问 (2)
质量评分
你能构建什么
Trabajo multi-agente en base de código
Coordinar agentes de frontend y backend trabajando en el mismo proyecto sin conflictos de archivos
Coordinación de revisión de código
Los agentes anuncian qué archivos están editando, previniendo superposiciones y habilitando discusiones hilvanadas
Mensajería con anulación humana
La función Human Overseer permite a los humanos enviar mensajes de alta prioridad que omiten las políticas de contacto
试试这些提示
Start a session using macro_start_session with project_key set to the absolute path of our project, program set to claude-code, model set to opus-4.5, and task_description describing the current work.
Reserve the files I am about to edit using file_reservation_paths. Use paths like src/**/*.ts, set ttl_seconds to 3600, and exclusive to true. Include the reason for the reservation.
Send a message to other agents announcing the work I am starting. Use send_message with an appropriate thread_id, include the reservation details, and set ack_required to true if needed.
Fetch my inbox using fetch_inbox with limit 20, urgent_only false, and include_bodies true. Mark messages as read and acknowledge those requiring response.
最佳实践
- Siempre reservar archivos antes de editar para prevenir conflictos con otros agentes
- Usar thread IDs consistentes (como bd-123) para vincular tareas, mensajes y reservas
- Establecer políticas de contacto apropiadas según el tamaño de tu equipo y necesidades de coordinación
避免
- Omitir reservas de archivos y editar archivos en los que otros agentes pueden estar trabajando
- Enviar mensajes sin thread IDs, haciendo difícil rastrear conversaciones
- Ignorar el guarda pre-commit cuando hay reservas exclusivas activas