# agent-messaging

Enables cryptographically signed messaging between AI agents via the Agent Messaging Protocol. Useful when delegating work or managing an agent inbox.

- skill · `type=skill` · Claude Code · 247 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/ai-maestro/agent-messaging
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/agent-messaging

## What it 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.

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill ai-maestro/agent-messaging
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill agent-messaging -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/agent-messaging/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/agent-messaging/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/agent-messaging/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/agent-messaging/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates agent-messaging
```

2. **Manually: put the files in place**
- File: `.github/skills/agent-messaging/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/ai-maestro/agent-messaging
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/agent-messaging/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/ai-maestro/agent-messaging

## When to use it
- 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
- 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

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 804 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
