agent-messaging — Claude Code skill: what it does, how to install
Enables cryptographically signed messaging between AI agents via the Agent Messaging Protocol. Useful when delegating work or managing an agent inbox.
npx claude-code-templates@latest --skill ai-maestro/agent-messagingWhat agent-messaging does
This skill teaches Claude Code to communicate with other agents using local AMP command-line utilities. Every dispatch receives an Ed25519 signature, keeping private keys stored on the local filesystem. Basic message exchange runs entirely on the local system without cloud dependencies.
Agent interactions rely on amp-* terminal tools. The model can create an identity with amp-init, inspect mail via amp-inbox, read payloads, or dispatch responses. Payloads can include file attachments, priority flags like urgent, and message categories such as task or handoff.
Running these operations requires the CLI utilities from the ai-maestro-plugins repository. If ~/.local/bin is missing from your PATH, Claude Code cannot call the messaging scripts.
What it helps with
- send signed messages to another agent on the same machine
- check and inspect incoming agent communications
- route tasks and context transfers with specific priority levels
- reply to existing agent message threads with file attachments
Example prompts for the agent
- Check the agent inbox with amp-inbox and list unread requests
- Send a task message to alice with priority urgent and attach report.pdf
- Reply to message msg-42 confirming the review is finished
How to install agent-messaging
1claude-code-templates
npx claude-code-templates@latest --skill ai-maestro/agent-messaging2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill agent-messaging -a claude-code3Manually: put the files in place
~/.claude/skills/agent-messaging/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/agent-messaging/
Manually: put the files in place
.agents/skills/agent-messaging/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/agent-messaging/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates agent-messaging2Manually: put the files in place
.github/skills/agent-messaging/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/ai-maestro/agent-messagingManually: put the files in place
.devin/skills/agent-messaging/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about agent-messaging
How to install agent-messaging in Claude Code?
Run npx claude-code-templates@latest --skill ai-maestro/agent-messaging in your terminal. You must also clone ai-maestro-plugins and execute ./install-messaging.sh -y to install the CLI utilities.
What does the agent-messaging skill do?
It provides Claude Code with commands to exchange cryptographically signed messages using the Agent Messaging Protocol. The protocol signs each transmission using local Ed25519 keys.
Does agent-messaging require an external server?
No, it operates locally on your machine by default. An external provider is only necessary when exchanging messages with external addresses like [email protected].