skills/managing-groups/SKILL.md
Group conversation management for XMTP agents. Use when creating groups, managing members, setting permissions, or sending welcome messages. Triggers on group creation, member management, or permissions.
npx skillsauth add xmtplabs/xmtp-agent-examples managing-groupsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Manage group conversations, permissions, and members.
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
|----------|----------|--------|--------|
| 1 | Create | CRITICAL | create- |
| 2 | Members | HIGH | members- |
| 3 | Permissions | HIGH | permissions- |
| 4 | Welcome | MEDIUM | welcome- |
create-group - Create new group conversationscreate-dm - Create direct messagesmembers-add - Add members to groupsmembers-remove - Remove members from groupsmembers-get-address - Get member Ethereum addressespermissions-roles - Understand member, admin, super admin rolespermissions-custom - Set custom permission policieswelcome-on-install - Send welcome on agent installationwelcome-new-members - Welcome new group members// Create a group
const group = await agent.createGroupWithAddresses(addresses, {
groupName: "My Group",
groupDescription: "A cool group",
});
// Welcome on new conversations
agent.on("group", async (ctx) => {
await ctx.conversation.sendText("Hello group!");
});
agent.on("dm", async (ctx) => {
await ctx.conversation.sendText("Hello! How can I help?");
});
Read individual rule files for detailed explanations:
rules/create-group.md
rules/members-add.md
rules/permissions-roles.md
rules/welcome-on-install.md
development
Emoji reactions and thinking indicators for XMTP agents. Use when adding reactions to messages or showing processing state with thinking emoji. Triggers on emoji reactions, thinking indicator, or message acknowledgment.
development
ENS and Web3 identity resolution for XMTP agents. Use when resolving domain names, extracting mentions, or fetching Farcaster profiles. Triggers on ENS resolution, Farcaster lookup, or mention extraction.
data-ai
Token transactions and wallet integration for XMTP agents. Use when sending USDC, creating transaction requests, or handling transaction confirmations. Triggers on USDC transfer, wallet calls, or transaction reference.
data-ai
Patterns for handling commands, validating input, and filtering messages in XMTP agents. Use when implementing slash commands, validators, or message filters. Triggers on command handling, input validation, or type guards.