bots

Installation
SKILL.md

Towns Protocol Bot SDK Reference

Critical Rules

MUST follow these rules - violations cause silent failures:

  1. User IDs are Ethereum addresses - Always 0x... format, never usernames
  2. Mentions require BOTH - <@{userId}> format in text AND mentions array in options
  3. Two-wallet architecture:
    • bot.viem.account.address = Gas wallet (signs & pays fees) - MUST fund with Base ETH
    • bot.appAddress = Treasury (optional, for transfers)
  4. Slash commands DON'T trigger onMessage - They're exclusive handlers
  5. Interactive forms use type property - Not case (e.g., type: 'form')
  6. Never trust txHash alone - Verify receipt.status === 'success' before granting access

Quick Reference

Key Imports

Installs
2
Repository
openclaw/skills
GitHub Stars
4.5K
First Seen
Feb 1, 2026
bots — openclaw/skills