xmtp-cli

Run and script the XMTP CLI for testing, debugging, and interacting with XMTP conversations, groups, and messages. Use when the user needs init, send, list, groups, debug, sync, permissions, or content commands from the CLI.

7 stars

Best use case

xmtp-cli is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Run and script the XMTP CLI for testing, debugging, and interacting with XMTP conversations, groups, and messages. Use when the user needs init, send, list, groups, debug, sync, permissions, or content commands from the CLI.

Teams using xmtp-cli 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-cli/SKILL.md --create-dirs "https://raw.githubusercontent.com/Demerzels-lab/elsamultiskillagent/main/public/skills/humanagent/xmtp-cli/SKILL.md"

Manual Installation

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

How xmtp-cli Compares

Feature / Agentxmtp-cliStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Run and script the XMTP CLI for testing, debugging, and interacting with XMTP conversations, groups, and messages. Use when the user needs init, send, list, groups, debug, sync, permissions, or content commands from the CLI.

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 CLI

Use the `xmtp` command to test, debug, and interact with XMTP conversations, groups, and messages from the command line. This skill is the entry point; use the sub-skills below for specific CLI tasks.

## When to apply

- Testing or debugging XMTP from the command line
- Sending messages or creating and managing groups
- Listing or finding conversations, members, and messages
- Syncing conversations and messages
- Managing group permissions
- Demonstrating content types (text, markdown, attachment, transaction, deeplink, miniapp)

## Sub-skills

| Sub-skill | Use when |
|-----------|----------|
| **setup** | Initialize CLI and configure env (init, env variables) |
| **groups** | Create DM or group, update group metadata |
| **send** | Send messages to address or group |
| **list** | List conversations, members, messages; find by address or inbox |
| **debug** | Get info, resolve address, inspect inbox |
| **sync** | Sync conversations or sync all |
| **permissions** | List/info group permissions, update permissions |
| **content** | Demo text, markdown, attachment, transaction, deeplink, miniapp |
| **debugging** | Enable CLI debug logging (XMTP_FORCE_DEBUG env) |

## How to use

1. Pick the sub-skill that matches the task (e.g. send message → **send**).
2. Read that sub-skill’s `SKILL.md` and its `rules/` for step-by-step guidance.

## Install

```bash
npm install -g @xmtp/cli
# or
pnpm add -g @xmtp/cli
# or
yarn global add @xmtp/cli
```

## Run without install

```bash
npx @xmtp/cli <command> <arguments>
# or pnpx / yarn dlx
```

## Help

```bash
xmtp --help
xmtp <command> --help
```

Full documentation: [docs.xmtp.org](https://docs.xmtp.org)

Related Skills

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.

xmtp-cli-content

7
from Demerzels-lab/elsamultiskillagent

Demonstrate XMTP content types from the CLI. Use when sending text, markdown, attachment, transaction, deeplink, or miniapp content.

xmtp-agents

7
from Demerzels-lab/elsamultiskillagent

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

paylock

7
from Demerzels-lab/elsamultiskillagent

Non-custodial SOL escrow for AI agent deals.

agent-reputation

7
from Demerzels-lab/elsamultiskillagent

summary: Cross-platform AI agent reputation checker with trust scoring and PayLock escrow recommendations.