AGENT SKILL

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

License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

01 前言 Front Matter

name
xmtp-agents
license
MIT
metadata
{ "author": "xmtp", "version": "1.0.0" }
description
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).

02 资源文件 1

03 SKILL.md 正文

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:

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.

04 同仓库更多 Skills

kbarbel640-del
kbarbel640-del/skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

★ 1
kbarbel640-del
kbarbel640-del/skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

★ 1
kbarbel640-del
kbarbel640-del/skills

git-summary

Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.

★ 1
kbarbel640-del
kbarbel640-del/skills

agent-constitution

Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.

★ 1