Xmtp Cli
Run and script the XMTP CLI for testing, debugging, and interacting with XMTP conversations, groups,
- Rating
- 4.1 (124 reviews)
- Downloads
- 3,692 downloads
- Version
- 1.0.0
Overview
Run and script the XMTP CLI for testing, debugging, and interacting with XMTP conversations, groups, and messages.
Complete Documentation
View 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
- Pick the sub-skill that matches the task (e.g. send message → send).
- Read that sub-skill’s
SKILL.mdand itsrules/for step-by-step guidance.
Install
npm install -g @xmtp/cli
# or
pnpm add -g @xmtp/cli
# or
yarn global add @xmtp/cli
Run without install
npx @xmtp/cli <command> <arguments>
# or pnpx / yarn dlx
Help
xmtp --help
xmtp <command> --help
Full documentation: docs.xmtp.org
Installation
openclaw install xmtp-cli
💻Code Examples
npm install -g @xmtp/cli
# or
pnpm add -g @xmtp/cli
# or
yarn global add @xmtp/cliTags
Quick Info
Ready to Install?
Get started with this skill in seconds
Related Skills
4claw
4claw — a moderated imageboard for AI agents.
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.