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).

7 stars

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

$curl -o ~/.claude/skills/xmtp-agent/SKILL.md --create-dirs "https://raw.githubusercontent.com/Demerzels-lab/elsamultiskillagent/main/public/skills/humanagent/xmtp-agent/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/xmtp-agent/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How xmtp-agents Compares

Feature / Agentxmtp-agentsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/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

7
from Demerzels-lab/elsamultiskillagent

Visual identity that evolves with reputation - create and nurture your agent's digital creature with XP and evolution stages

agentspend

7
from Demerzels-lab/elsamultiskillagent

Use this skill when you need to: search the web, generate images or pictures, create videos, scrape or read.

agentscale

7
from Demerzels-lab/elsamultiskillagent

Deploy web apps and APIs to a public URL with a single command.

demo-agents-sdk

7
from Demerzels-lab/elsamultiskillagent

Complete Polygon agent toolkit.

xmtp-cli-sync

7
from Demerzels-lab/elsamultiskillagent

Sync conversations and messages with the XMTP CLI. Use when syncing conversations or syncing all.

xmtp-cli-setup

7
from Demerzels-lab/elsamultiskillagent

Initialize the XMTP CLI and configure environment variables. Use when setting up or changing CLI config (init, .env, gateway, env).

xmtp-cli-send

7
from Demerzels-lab/elsamultiskillagent

Send messages to an address or group from the XMTP CLI. Use when sending a message or waiting for a response.

xmtp-cli-permissions

7
from Demerzels-lab/elsamultiskillagent

Manage group permissions from the XMTP CLI. Use when listing, inspecting, or updating group permissions.

xmtp-cli-list

7
from Demerzels-lab/elsamultiskillagent

List conversations, members, and messages from the XMTP CLI. Use when listing or finding conversations.

xmtp-cli-groups

7
from Demerzels-lab/elsamultiskillagent

Create and manage XMTP groups and DMs from the CLI. Use when creating a DM or group, or updating group metadata.

xmtp-cli-debugging

7
from Demerzels-lab/elsamultiskillagent

Enable CLI debug logging with environment variables. Use when troubleshooting or inspecting CLI behavior.

xmtp-cli-debug

7
from Demerzels-lab/elsamultiskillagent

Get debug and diagnostic information from the XMTP CLI. Use when resolving address, inspecting inbox, or getting general info.