xmtp-cli

Coding Agents & IDEs
v1.0.0
Benign

Run and script the XMTP CLI for testing, debugging, and interacting with XMTP conversations, groups, and messages.

11.4K downloads1.4K installsby @humanagent

Setup & Installation

Install command

clawhub install humanagent/xmtp-cli

If the CLI is not installed:

Install command

npx clawhub@latest install humanagent/xmtp-cli

Or install with OpenClaw CLI:

Install command

openclaw skills install humanagent/xmtp-cli

or paste the repo link into your assistant's chat

Install command

https://github.com/openclaw/skills/tree/main/skills/humanagent/xmtp-cli

What This Skill Does

Command-line interface for the XMTP messaging protocol. Covers sending messages, managing group conversations, listing and syncing messages, inspecting inboxes, and demonstrating content types.

Lets developers test and script XMTP interactions directly from the terminal without writing application code.

When to Use It

  • Send a test message to an XMTP address from terminal
  • Debug why a group conversation isn't syncing
  • List all members and permissions in a group
  • Inspect inbox state for a wallet address
  • Script XMTP message flows in CI or local dev
View original SKILL.md file
# 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)

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Send a test message to an XMTP address from terminal

AGENT
  1. 1Send a test message to an XMTP address from terminal
  2. 2Debug why a group conversation isn't syncing
  3. 3List all members and permissions in a group
  4. 4Inspect inbox state for a wallet address
  5. 5Script XMTP message flows in CI or local dev
OUTPUT
Run and script the XMTP CLI for testing, debugging, and interacting with XMTP conversations, groups, and messages.

Share this skill

Security Audits

VirusTotalBenign
OpenClawBenign
View full report

These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.

Details

LanguageMarkdown
Last updatedFeb 28, 2026