xmtp-agents
Building and extending XMTP agents with the Agent SDK. Use when: (1) creating or configuring an XMTP agent, (2) implementing agent features (commands, attachments, reactions, groups, transactions, inline actions, or domain resolution).
Best use case
xmtp-agents is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Building and extending XMTP agents with the Agent SDK. Use when: (1) creating or configuring an XMTP agent, (2) implementing agent features (commands, attachments, reactions, groups, transactions, inline actions, or domain resolution).
Teams using xmtp-agents should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/xmtp-agent/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How xmtp-agents Compares
| Feature / Agent | xmtp-agents | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Building and extending XMTP agents with the Agent SDK. Use when: (1) creating or configuring an XMTP agent, (2) implementing agent features (commands, attachments, reactions, groups, transactions, inline actions, or domain resolution).
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# XMTP agents Build event-driven messaging agents on the XMTP network. This skill is the entry point; use the sub-skills below for specific features. ## When to apply - Starting or configuring a new XMTP agent - Adding behavior: commands, attachments, reactions, groups, payments, inline actions, or address/domain resolution ## Sub-skills | Sub-skill | Use when | |-----------|----------| | **building-agents** | Setup, env vars, text/lifecycle events, middleware | | **handling-commands** | Slash commands, validators, message filters, type guards | | **handling-attachments** | Send/receive files, remote attachments, upload storage | | **sending-reactions** | Send or receive reactions, thinking/reply patterns | | **managing-groups** | Create groups, add members, roles, welcome-on-install | | **handling-transactions** | USDC transfers, balance checks, transaction references | | **creating-inline-actions** | Inline actions, confirmation/selection helpers, config menus | | **resolving-domains** | Resolve addresses, Farcaster profiles, extract mentions | ## How to use 1. Pick the sub-skill that matches the task (e.g. slash commands → `handling-commands`). 2. Read that sub-skill’s `SKILL.md` and its `rules/` for step-by-step guidance. 3. For SDK or API details, use the xmtp-docs skill (index + specific page fetch). ## Quick start Install the Agent SDK, create an agent from env, handle text, then start: ```bash npm install @xmtp/agent-sdk ``` Create the agent and handle messages using patterns from **building-agents** (setup, events, middleware). For commands, attachments, reactions, groups, transactions, inline actions, or resolution, use the corresponding sub-skill above.
Related Skills
ooze-agents
Visual identity that evolves with reputation - create and nurture your agent's digital creature with XP and evolution stages
agentspend
Use this skill when you need to: search the web, generate images or pictures, create videos, scrape or read.
agentscale
Deploy web apps and APIs to a public URL with a single command.
demo-agents-sdk
Complete Polygon agent toolkit.
xmtp-cli-sync
Sync conversations and messages with the XMTP CLI. Use when syncing conversations or syncing all.
xmtp-cli-setup
Initialize the XMTP CLI and configure environment variables. Use when setting up or changing CLI config (init, .env, gateway, env).
xmtp-cli-send
Send messages to an address or group from the XMTP CLI. Use when sending a message or waiting for a response.
xmtp-cli-permissions
Manage group permissions from the XMTP CLI. Use when listing, inspecting, or updating group permissions.
xmtp-cli-list
List conversations, members, and messages from the XMTP CLI. Use when listing or finding conversations.
xmtp-cli-groups
Create and manage XMTP groups and DMs from the CLI. Use when creating a DM or group, or updating group metadata.
xmtp-cli-debugging
Enable CLI debug logging with environment variables. Use when troubleshooting or inspecting CLI behavior.
xmtp-cli-debug
Get debug and diagnostic information from the XMTP CLI. Use when resolving address, inspecting inbox, or getting general info.