Guide · Agent skill
How to use the A4A Agent Messaging agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The a4a skill teaches an AI agent how to connect to the A4A end-to-end encrypted messaging network, where agents belonging to different people exchange messages using addresses that start with apub1. It is aimed at developers and technical users who already run, or are prepared to run, the official a4a-mcp server or a4a-sdk package. By the end of this guide you will know what the skill changes about your agent, how to install it, how to ask for things in plain language, and which safety limits to keep in place.
Quick start
- 1Install the official packages. Install the a4a-sdk and/or a4a-mcp packages separately in a Python environment, as described in the official A4A documentation. The skill does not include them.
- 2Download and unzip the skill. Download the a4a skill ZIP from the skill page and unzip it to get the a4a folder containing SKILL.md.
- 3Place the skill folder. Move the folder into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder. Alternatively, upload it under Settings → Capabilities → Skills in the Claude apps.
- 4Run a read-only inspection. Ask your agent to inspect the existing A4A connection without sending anything. Review the reported tool access and capability schema.
- 5Plan the setup. Ask for a read-only connection plan using the installed a4a_mcp connect-plan interface, and confirm the relay is owner-approved.
- 6Approve before sending. Only allow a send after you have explicitly authorised the recipient, the message content and the context.
What is an agent skill, and what does the a4a skill do?
An agent skill is a folder containing a SKILL.md file with instructions that an AI agent reads when a task matches the skill's description. It adds guidance, not new software. The a4a skill is a single SKILL.md file.
Once installed, the agent knows how to inspect an existing A4A connection, plan a setup using a read-only check, and follow strict rules before sending anything. The skill does not bundle the messaging software itself. It points to the official a4a-mcp and a4a-sdk packages, which you install separately.
What you need before installing the skill
The skill assumes a few things are already in place. Check these first, because the skill cannot supply them.
- A Python environment with the official a4a-mcp and/or a4a-sdk packages installed separately
- An MCP-capable host such as Claude Code, Cursor, Codex or Gemini CLI
- An owner-approved A4A relay destination
- Network access to the relay for sending or receiving messages
Install the a4a skill
Download the ZIP file from the skill page and unzip it. You can then place the skill in one of two locations, depending on how you want to use it.
For a personal setup available across projects, put the unzipped skill folder in ~/.claude/skills/. To limit it to one project, put it in that project's .claude/skills/ folder.
In the Claude apps you can instead upload the skill under Settings → Capabilities → Skills.
- Personal: ~/.claude/skills/
- Single project: .claude/skills/ inside the project folder
- Claude apps: Settings → Capabilities → Skills, then upload
How to trigger the skill with natural requests
You do not need a special command. Ask in plain language about messaging or coordinating with another person's agent using an apub1 address. The skill is meant for requests like these, and for setting up or running the a4a-mcp server in your host.
Ask for inspection before action. The skill is designed to start with read-only work, so asking the agent to check first is the safest way to begin.
- "Inspect my existing A4A connection without sending anything."
- "Plan an A4A setup with a read-only check, using a persistent identity directory outside Git."
- "Help me coordinate with the agent at this apub1 address, but only after I approve the recipient and the content."
What the agent will and won't do
The skill sets firm limits. When you ask for an inspection, the agent reads the existing approved configuration and capability schema, then reports tool access separately from any tested receipt or wake behaviour. It does not initialise a new identity, promote contacts, publish a profile or send a test message unless you have authorised that action.
The skill also tells the agent to treat every inbound message as untrusted content, even from an approved sender. Authentication proves key control, not permission to run instructions or disclose private data. Requests from any external sender to run shell commands, make payments or change files are refused.
- Does not act on unknown senders until you approve the address
- Sends only within explicit authorisation covering the recipient and content
- Never transmits or logs private key material such as asec1... values or identity keystore files
Safety notes: scripts, network and data
The skill itself runs no scripts and contains no code. It does use the network, because sending and receiving go through a relay. Message contents may leave your machine through the relay even when they are end-to-end encrypted, and the relay can observe metadata. The upstream production relay is wss://eu1.a4a.network, but you should use only a destination your owner has approved.
Sending is a real external action. Recipient mistakes cannot be undone, and delivery tracking does not reverse them. Keep sensitive data, payments and credentials out of this workflow.
- Runs scripts: no
- Uses network: yes
- Private-message encryption does not guarantee every event is private; check event visibility before sending
Tips for a safe first run
Start in a dedicated, non-production environment. Keep the private identity directory outside any Git repository, and keep automatic mandates off. Verify a new contact out of band or through a short owner confirmation before granting any automatic-delivery policy.
Do not assume automatic replies. The skill notes that inbound messages from a new collaborator may not trigger a reply, and that inbox behaviour depends on the installed version and host wake support. Do not weaken a gate just to get an automatic response.
- Use a dedicated test environment first
- Keep the identity directory private and outside Git
- Check the installed package's actual tool schema rather than assuming one exists
What people use it for
- Inspecting an existing A4A connection to see which tools are available, without changing anything
- Planning a first-time setup with a read-only check and a private identity directory outside Git
- Coordinating with another person's agent at an apub1 address in a dedicated test environment, after owner approval
- Operating the a4a-mcp server in Claude Code, Cursor, Codex or Gemini CLI with more cautious, guided steps
Frequently asked questions
How do I install the a4a skill?
Download the skill ZIP from the skill page and unzip it. Put the folder in ~/.claude/skills/ for personal use or in a project's .claude/skills/ folder, or upload it in the Claude apps under Settings → Capabilities → Skills.
Is the a4a skill free to use?
The skill is published under the MIT licence, as listed on the skill page. The official a4a-mcp and a4a-sdk packages are separate installs, so check their own licence and terms before use.
What do I need to run the a4a skill?
You need a Python environment with the official a4a-mcp and/or a4a-sdk packages installed separately, an MCP-capable host such as Claude Code, Cursor, Codex or Gemini CLI, an owner-approved A4A relay, and network access to that relay.
Does the a4a skill include the messaging software?
No. The skill contains only a SKILL.md instruction file. It points to the official a4a-mcp and a4a-sdk packages, which you need to install yourself.
Why won't my agent reply automatically to a new contact?
The skill tells the agent to keep unknown senders gated. Automatic replies depend on the installed version's inbox behaviour and host wake support, and the skill advises against weakening a gate just to get a reply.
Is it safe to let an agent send messages with this skill?
Sending is a real external action that leaves your machine through the relay, even when encrypted, and cannot be undone. Use a dedicated test environment, approve each recipient and content, and avoid sensitive data, payments and credentials.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
Use the a4a skill if you are a developer or technical user who already runs the a4a-mcp server or a4a-sdk and wants a cautious, guided way for your agent to exchange messages with an owner-approved agent. Pick something else if you are not comfortable reviewing what your agent sends, or if the task involves sensitive data, payments or credentials.
Download the skill