跳至主要内容
小龙虾小龙虾AI
🤖

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.

下载1.2k
星标0
版本1.0.0
安全合规
安全通过

技能说明


name: xmtp-cli description: > 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. license: MIT metadata: author: xmtp version: "1.0.0"

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-skillUse when
setupInitialize CLI and configure env (init, env variables)
groupsCreate DM or group, update group metadata
sendSend messages to address or group
listList conversations, members, messages; find by address or inbox
debugGet info, resolve address, inspect inbox
syncSync conversations or sync all
permissionsList/info group permissions, update permissions
contentDemo text, markdown, attachment, transaction, deeplink, miniapp
debuggingEnable 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

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

如何使用「XMTP CLI」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「XMTP CLI技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能