Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计异常

agent-mailAgent 邮件

Agent Skill

agent-mail 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

612

周安装

26

GitHub Stars

23

下载量

214
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-mail(Agent 邮件)
来源仓库:https://github.com/johnlindquist/claude
仓库路径:skills/agent-mail
安装命令:
npx skills add https://github.com/johnlindquist/claude --skill agent-mail
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/johnlindquist/claude --skill agent-mail

简介

agent-mail 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位结果。

  • 适用于需要基于任务场景或来源线索进行信息筛选的研究检索场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用该技能。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网或文件读写操作。
  • 建议结合原始 README 和仓库内容进一步核验具体用法和功能细节。

SKILL.md

Agent Mail System

Communication system for coordinating multiple agents.

Overview

Agent mail enables:

  • Message passing between agents
  • File reservation to prevent conflicts
  • Session tracking across agents
  • Thread-based conversations

Session Management

Start Agent Session

Register agent and get inbox:

# Initialize session
curl -X POST http://localhost:3847/api/session/start \
  -H "Content-Type: application/json" \
  -d '{
    "project_path": "/path/to/project",
    "program": "claude-code",
    "model": "opus-4",
    "agent_name": "agent-1",
    "task_description": "Working on auth module"
  }'

List Agents

curl http://localhost:3847/api/agents?project_path=/path/to/project

Agent Info

curl http://localhost:3847/api/agents/agent-1?project_path=/path/to/project

Messaging

Send Message

curl -X POST http://localhost:3847/api/mail/send \
  -H "Content-Type: application/json" \
  -d '{
    "project_path": "/path/to/project",
    "sender_name": "agent-1",
    "to": ["agent-2"],
    "subject": "Auth module complete",
    "body_md": "## Summary\nAuth implementation is done.\n\n## Files changed\n- src/auth/*",
    "importance": "normal",
    "ack_required": false
  }'

Check Inbox

curl "http://localhost:3847/api/mail/inbox?project_path=/path/to/project&agent_name=agent-1"

Reply to Message

curl -X POST http://localhost:3847/api/mail/reply \
  -H "Content-Type: application/json" \
  -d '{
    "project_path": "/path/to/project",
    "message_id": 123,
    "sender_name": "agent-2",
    "body_md": "Thanks! I'\''ll start on the API integration."
  }'

Acknowledge Message

curl -X POST http://localhost:3847/api/mail/ack \
  -H "Content-Type: application/json" \
  -d '{
    "project_path": "/path/to/project",
    "agent_name": "agent-2",
    "message_id": 123
  }'

Search Messages

curl "http://localhost:3847/api/mail/search?project_path=/path/to/project&query=authentication"

File Reservations

Prevent conflicts when multiple agents edit files.

Reserve Files

curl -X POST http://localhost:3847/api/files/reserve \
  -H "Content-Type: application/json" \
  -d '{
    "project_path": "/path/to/project",
    "agent_name": "agent-1",
    "paths": ["src/auth/*.ts", "src/config.ts"],
    "exclusive": true,
    "reason": "Implementing authentication",
    "ttl_seconds": 3600
  }'

Check Reservations

curl "http://localhost:3847/api/files/reservations?project_path=/path/to/project"

Release Files

curl -X POST http://localhost:3847/api/files/release \
  -H "Content-Type: application/json" \
  -d '{
    "project_path": "/path/to/project",
    "agent_name": "agent-1",
    "paths": ["src/auth/*.ts"]
  }'

Thread Management

Get Thread Summary

curl "http://localhost:3847/api/mail/thread/THREAD_ID/summary?project_path=/path/to/project"

Thread Operations

Threads are automatically created when replying to messages.

Coordination Patterns

Task Handoff

Agent 1 completes task:
1. Reserve output files
2. Complete work
3. Send message to Agent 2 with handoff details
4. Release file reservations

Agent 2 receives:
1. Get inbox
2. Reserve input files
3. Continue work
4. Acknowledge receipt

Parallel Work

Coordinator:
1. Reserve coordination files
2. Send tasks to agents
3. Wait for completion messages
4. Merge results

Workers:
1. Reserve assigned files
2. Complete task
3. Send completion message
4. Release files

Review Request

Author:
1. Complete code
2. Send review request to reviewer agents
3. Wait for feedback

Reviewers:
1. Get inbox
2. Review code (read-only, no reservation needed)
3. Send feedback message

Health Check

curl http://localhost:3847/api/health

Message Importance Levels

LevelUse Case
lowFYI, status updates
normalStandard communication
highNeeds attention soon
urgentBlocking, needs immediate response

Best Practices

  1. Reserve before editing - Prevent conflicts
  2. Use meaningful subjects - Easy inbox scanning
  3. Acknowledge important - Confirm receipt when ack_required
  4. Release promptly - Don't hold reservations unnecessarily
  5. Use threads - Keep related messages together
  6. Check inbox regularly - Don't miss messages
  7. Handoff cleanly - Include all needed context

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.69%
按下载量换算59

OpenCode

21%
按下载量换算45

Antigravity

19.75%
按下载量换算42

Gemini CLI

13.07%
按下载量换算28

windsurf

8.67%
按下载量换算19

trae

3.92%
按下载量换算8

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills