कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

xmtp-agent

humanagent द्वारा

Web & Frontend Development
1.5kclawskills.sh द्वारा बताए गए डाउनलोड
2स्टार
1व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Building and extending XMTP agents with the Agent SDK.

विवरण

यह स्किल क्या करती है

A skill for building event-driven messaging agents on the XMTP decentralized network. Covers agent setup and a set of sub-skills for specific features: slash commands, file attachments, reactions, group management, USDC payments, inline actions, and address/domain resolution. Entry point for the full xmtp-agents skill tree.

Organizes agent development into focused sub-skills so you can go directly to the relevant guidance instead of scanning broad SDK docs.

इसे कब इस्तेमाल करें

  • Building a chatbot that responds to slash commands in XMTP chats
  • Sending and receiving file attachments through a messaging agent
  • Managing group conversations with role-based member control
  • Processing USDC transfers triggered by agent interactions
  • Resolving Farcaster profiles and ENS addresses from message mentions

उदाहरण वर्कफ़्लो

इनपुट

User asks: Create an XMTP agent that replies to a /ping command

एजेंट
  1. 1

    Install @xmtp/agent-sdk via npm

  2. 2

    Initialize the agent using env vars (private key, network env)

  3. 3

    Register a command handler that matches '/ping'

  4. 4

    Send a text reply back to the sender

  5. 5

    Start the agent and listen for incoming messages

आउटपुट

A running XMTP agent on the configured network that responds with a reply whenever a user sends /ping

आवश्यकताएँ

  • Private key for the agent wallet (XMTP_PRIVATE_KEY or equivalent env var)

इंस्टॉलेशन

clawhub install humanagent/xmtp-agent

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक