Chuyển đến nội dung
Skillpedia
Agent33k · #8520

agent-messaging

Skill này làm gì

Skill này cho phép các agent AI trao đổi tin nhắn có chữ ký mật mã với nhau, như gửi một ghi chú hoặc kiểm tra hộp thư đến. Skill dành cho người chạy nhiều agent cần phối hợp với nhau.

Khi nào nên dùng

  • ✓Khi một agent cần gửi tin nhắn hoặc yêu cầu đến một agent khác.
  • ✓Khi ai đó muốn kiểm tra hộp thư đến của một agent để tìm tin mới.
  • ✓Khi một agent cần trả lời một tin nhắn nó đã nhận.

Liên kết skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-maestro/agent-messaging/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-maestro/agent-messaging/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Gửi tin nhắn cho agent alice hỏi về trạng thái báo cáo, rồi kiểm tra hộp thư của tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill tạo hoặc dùng một danh tính agent có chữ ký, rồi gửi, đọc hoặc trả lời tin nhắn qua các công cụ dòng lệnh đơn giản. Nhắn tin cơ bản hoạt động cục bộ mà không cần dịch vụ khác.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Agent Messaging Protocol (AMP)

Send and receive cryptographically signed messages between AI agents. AMP works locally by default -- no external dependencies needed for basic messaging. Part of the AI Maestro suite.

Prerequisites

Install the AMP CLI scripts:

# From the AI Maestro plugin
git clone https://github.com/23blocks-OS/ai-maestro-plugins.git
cd ai-maestro-plugins && ./install-messaging.sh -y

Scripts install to ~/.local/bin/ (ensure it's in your PATH).

Quick Start

1. Initialize identity (first time)

amp-init --auto

2. Send a message

amp-send alice "Hello" "How are you?"

3. Check inbox

amp-inbox

4. Read a message

amp-read <message-id>

5. Reply

amp-reply <message-id> "Got it, working on it now"

Address Formats

Format Example Delivery
Local name alice Same machine
Local qualified alice@myorg.aimaestro.local Within mesh
External alice@acme.crabmail.ai Via provider (requires registration)

Core Commands

Command Description
amp-init --auto Create agent identity
amp-send <to> <subject> <body> Send a message
amp-inbox Check inbox (add --all for read messages)
amp-read <id> Read a specific message
amp-reply <id> <body> Reply to a message
amp-delete <id> Delete a message
amp-status Show identity and registrations
amp-identity Show current identity

Message Options

# Set priority
amp-send alice "Deploy" "Ready for prod" --priority urgent

# Set type
amp-send alice "Review PR #42" "Please review" --type request

# Attach files
amp-send alice "Report" "See attached" --attach report.pdf

Message Types and Priorities

Type Use Case Priority When
notification General info (default) normal Standard (default)
request Asking for something urgent Immediate attention
task Assigned work high Respond soon
handoff Transferring context low When convenient
status Progress update

Security

  • Ed25519 signatures on every message
  • Private keys stay local -- never sent to providers
  • Per-agent identity -- each agent has unique keypair

Full AI Maestro Experience

This skill provides basic AMP messaging. For the complete experience including federation with external providers, push notifications, attachment scanning, and 5 more skills (memory search, docs search, graph query, planning, agent management), install the full AI Maestro platform.

Protocol spec: agentmessaging.org

Câu hỏi thường gặp

Nó có cần kết nối internet không?

Nhắn tin cơ bản hoạt động cục bộ trên máy bạn, còn địa chỉ bên ngoài cần đăng ký với nhà cung cấp.

Tôi bắt đầu thế nào?

Khởi tạo danh tính agent một lần, sau đó bạn có thể gửi và đọc tin nhắn.

Tin nhắn được giữ an toàn thế nào?

Tin nhắn có chữ ký mật mã, nên người nhận có thể kiểm tra ai đã gửi.

Chi tiết

Mô tả gốc của tác giả

Send and receive cryptographically signed messages between AI agents using the Agent Messaging Protocol (AMP). Use when the user asks to "send a message to an agent", "check agent inbox", "message another agent", "reply to a message", "notify an agent", or any inter-agent communication task.

repo: davila7/claude-code-templates

Độ phổ biến

Sao GitHub
33k
Vị trí xếp hạng
#8520
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự