[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78WSD0ED5B1RBV167142QE2":3,"skill-same:01M78WSD0ED5B1RBV167142QE2":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":13,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M78WSD0ED5B1RBV167142QE2","creating-inline-actions",null,"Interactive button-based UI for XMTP agents following XIP-67. Use when creating menus, confirmation dialogs, selection options, or any button-based interaction. Triggers on inline actions, buttons, menus, or ActionBuilder.","meghal86\u002Fstacksignal","meghal86","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F37388715?v=4","01M6CS2EW8SK89GH52R2ZEN8QQ","01M728J5CGY456EETEFG6HJBTM",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fxmtp-agents\u002Fcreating-inline-actions\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: creating-inline-actions\ndescription: Interactive button-based UI for XMTP agents following XIP-67. Use when creating menus, confirmation dialogs, selection options, or any button-based interaction. Triggers on inline actions, buttons, menus, or ActionBuilder.\nlicense: MIT\nmetadata:\n  author: xmtp\n  version: \"1.0.0\"\n---\n\n# XMTP inline actions\n\nInteractive button-based UI for XMTP agents following the XIP-67 specification. Users can tap buttons instead of typing commands.\n\n## When to apply\n\nReference these guidelines when:\n- Creating interactive button menus\n- Building confirmation dialogs\n- Implementing selection options\n- Setting up multi-menu navigation\n- Handling action callbacks\n\n## Rule categories by priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | ActionBuilder | CRITICAL | `builder-` |\n| 2 | Helpers | HIGH | `helpers-` |\n| 3 | App Config | MEDIUM | `config-` |\n| 4 | Validators | MEDIUM | `validators-` |\n\n## Quick reference\n\n### ActionBuilder (CRITICAL)\n- `builder-create` - Create action menus with ActionBuilder\n- `builder-send` - Send actions to conversation\n\n### Helpers (HIGH)\n- `helpers-confirmation` - Send confirmation dialogs\n- `helpers-selection` - Send selection menus\n- `helpers-navigation` - Show navigation options\n\n### App Config (MEDIUM)\n- `config-menus` - Configure multi-menu applications\n- `config-initialize` - Initialize app from config\n\n### Validators (MEDIUM)\n- `validators-inbox-id` - Validate inbox ID format\n- `validators-ethereum-address` - Validate Ethereum address\n\n## Quick start\n\n```typescript\n\u002F\u002F 1. Add middleware to handle intent messages\nagent.use(inlineActionsMiddleware);\n\n\u002F\u002F 2. Register action handlers\nregisterAction(\"my-action\", async (ctx) => {\n  await ctx.conversation.sendText(\"Action executed!\");\n});\n\n\u002F\u002F 3. Send interactive buttons\nawait ActionBuilder.create(\"my-menu\", \"Choose an option:\")\n  .add(\"my-action\", \"Click Me\")\n  .add(\"other-action\", \"Cancel\")\n  .send(ctx);\n```\n\n## Implementation snippets\n\n**Action registry and handler:**\n\n```typescript\nimport type { AgentMiddleware, MessageContext } from \"@xmtp\u002Fagent-sdk\";\nimport type { Intent } from \"@xmtp\u002Fnode-sdk\";\n\ntype ActionHandler = (ctx: MessageContext) => Promise\u003Cvoid>;\nconst actionHandlers = new Map\u003Cstring, ActionHandler>();\n\nconst registerAction = (id: string, handler: ActionHandler) => {\n  actionHandlers.set(id, handler);\n};\n```\n\n**Inline actions middleware:**\n\n```typescript\nconst inlineActionsMiddleware: AgentMiddleware = async (ctx, next) => {\n  if (ctx.message.contentType?.typeId === \"intent\") {\n    const intent = ctx.message.content as Intent;\n    const handler = actionHandlers.get(intent.actionId);\n    if (handler) await handler(ctx);\n    else await ctx.conversation.sendText(`Unknown action: ${intent.actionId}`);\n    return;\n  }\n  await next();\n};\n```\n\n**ActionBuilder class:**\n\n```typescript\nimport { ActionStyle } from \"@xmtp\u002Fnode-sdk\";\n\nclass ActionBuilder {\n  private actions: { id: string; label: string; style?: ActionStyle }[] = [];\n  constructor(private id: string, private description: string) {}\n  \n  static create(id: string, description: string) {\n    return new ActionBuilder(id, description);\n  }\n  \n  add(id: string, label: string, style?: ActionStyle) {\n    this.actions.push({ id, label, style });\n    return this;\n  }\n  \n  async send(ctx: MessageContext) {\n    await ctx.conversation.sendActions({\n      id: this.id,\n      description: this.description,\n      actions: this.actions,\n    });\n  }\n}\n```\n\n**Confirmation helper:**\n\n```typescript\nconst sendConfirmation = async (\n  ctx: MessageContext, message: string,\n  onYes: ActionHandler, onNo?: ActionHandler\n) => {\n  const ts = Date.now();\n  registerAction(`yes-${ts}`, onYes);\n  registerAction(`no-${ts}`, onNo || (async (c) => c.conversation.sendText(\"Cancelled\")));\n  await ActionBuilder.create(`confirm-${ts}`, message)\n    .add(`yes-${ts}`, \"Yes\").add(`no-${ts}`, \"No\", ActionStyle.Danger).send(ctx);\n};\n```\n\n## How to use\n\nRead individual rule files for detailed explanations:\n\n```\nrules\u002Fbuilder-create.md\nrules\u002Fhelpers-confirmation.md\nrules\u002Fconfig-menus.md\n```\n\n","# XMTP inline actions\n\nInteractive button-based UI for XMTP agents following the XIP-67 specification. Users can tap buttons instead of typing commands.\n\n## When to apply\n\nReference these guidelines when:\n- Creating interactive button menus\n- Building confirmation dialogs\n- Implementing selection options\n- Setting up multi-menu navigation\n- Handling action callbacks\n\n## Rule categories by priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | ActionBuilder | CRITICAL | `builder-` |\n| 2 | Helpers | HIGH | `helpers-` |\n| 3 | App Config | MEDIUM | `config-` |\n| 4 | Validators | MEDIUM | `validators-` |\n\n## Quick reference\n\n### ActionBuilder (CRITICAL)\n- `builder-create` - Create action menus with ActionBuilder\n- `builder-send` - Send actions to conversation\n\n### Helpers (HIGH)\n- `helpers-confirmation` - Send confirmation dialogs\n- `helpers-selection` - Send selection menus\n- `helpers-navigation` - Show navigation options\n\n### App Config (MEDIUM)\n- `config-menus` - Configure multi-menu applications\n- `config-initialize` - Initialize app from config\n\n### Validators (MEDIUM)\n- `validators-inbox-id` - Validate inbox ID format\n- `validators-ethereum-address` - Validate Ethereum address\n\n## Quick start\n\n```typescript\n\u002F\u002F 1. Add middleware to handle intent messages\nagent.use(inlineActionsMiddleware);\n\n\u002F\u002F 2. Register action handlers\nregisterAction(\"my-action\", async (ctx) => {\n  await ctx.conversation.sendText(\"Action executed!\");\n});\n\n\u002F\u002F 3. Send interactive buttons\nawait ActionBuilder.create(\"my-menu\", \"Choose an option:\")\n  .add(\"my-action\", \"Click Me\")\n  .add(\"other-action\", \"Cancel\")\n  .send(ctx);\n```\n\n## Implementation snippets\n\n**Action registry and handler:**\n\n```typescript\nimport type { AgentMiddleware, MessageContext } from \"@xmtp\u002Fagent-sdk\";\nimport type { Intent } from \"@xmtp\u002Fnode-sdk\";\n\ntype ActionHandler = (ctx: MessageContext) => Promise\u003Cvoid>;\nconst actionHandlers = new Map\u003Cstring, ActionHandler>();\n\nconst registerAction = (id: string, handler: ActionHandler) => {\n  actionHandlers.set(id, handler);\n};\n```\n\n**Inline actions middleware:**\n\n```typescript\nconst inlineActionsMiddleware: AgentMiddleware = async (ctx, next) => {\n  if (ctx.message.contentType?.typeId === \"intent\") {\n    const intent = ctx.message.content as Intent;\n    const handler = actionHandlers.get(intent.actionId);\n    if (handler) await handler(ctx);\n    else await ctx.conversation.sendText(`Unknown action: ${intent.actionId}`);\n    return;\n  }\n  await next();\n};\n```\n\n**ActionBuilder class:**\n\n```typescript\nimport { ActionStyle } from \"@xmtp\u002Fnode-sdk\";\n\nclass ActionBuilder {\n  private actions: { id: string; label: string; style?: ActionStyle }[] = [];\n  constructor(private id: string, private description: string) {}\n  \n  static create(id: string, description: string) {\n    return new ActionBuilder(id, description);\n  }\n  \n  add(id: string, label: string, style?: ActionStyle) {\n    this.actions.push({ id, label, style });\n    return this;\n  }\n  \n  async send(ctx: MessageContext) {\n    await ctx.conversation.sendActions({\n      id: this.id,\n      description: this.description,\n      actions: this.actions,\n    });\n  }\n}\n```\n\n**Confirmation helper:**\n\n```typescript\nconst sendConfirmation = async (\n  ctx: MessageContext, message: string,\n  onYes: ActionHandler, onNo?: ActionHandler\n) => {\n  const ts = Date.now();\n  registerAction(`yes-${ts}`, onYes);\n  registerAction(`no-${ts}`, onNo || (async (c) => c.conversation.sendText(\"Cancelled\")));\n  await ActionBuilder.create(`confirm-${ts}`, message)\n    .add(`yes-${ts}`, \"Yes\").add(`no-${ts}`, \"No\", ActionStyle.Danger).send(ctx);\n};\n```\n\n## How to use\n\nRead individual rule files for detailed explanations:\n\n```\nrules\u002Fbuilder-create.md\nrules\u002Fhelpers-confirmation.md\nrules\u002Fconfig-menus.md\n```\n\n",{"name":5,"license":14,"metadata":23,"description":7},{"author":24,"version":25},"xmtp","1.0.0","main","54afe4b75ed2eb8f0feabb2f5b57dfa4bcbb3c44",".agents\u002Fskills\u002Fxmtp-agents\u002Fcreating-inline-actions","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal","https:\u002F\u002Fgithub.com\u002Fmeghal86","2026-05-17 14:11:28",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add meghal86\u002Fstacksignal --skill creating-inline-actions",{"tool":38,"command":39},"bunx","bunx skills add meghal86\u002Fstacksignal --skill creating-inline-actions",{"tool":41,"command":42},"pnpm","pnpm dlx skills add meghal86\u002Fstacksignal --skill creating-inline-actions","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fxmtp-agents\u002Fcreating-inline-actions\u002FSKILL.md",true,[46,52,56,60],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"rules\u002Fbuilder-create.md","REFERENCE","参考文档",1187,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fxmtp-agents\u002Fcreating-inline-actions\u002Frules\u002Fbuilder-create.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"rules\u002Fconfig-menus.md",1498,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fxmtp-agents\u002Fcreating-inline-actions\u002Frules\u002Fconfig-menus.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"rules\u002Fhelpers-confirmation.md",947,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fxmtp-agents\u002Fcreating-inline-actions\u002Frules\u002Fhelpers-confirmation.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"rules\u002Fhelpers-selection.md",1114,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fxmtp-agents\u002Fcreating-inline-actions\u002Frules\u002Fhelpers-selection.md",[65,73,81,89,97,104],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":69,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M78XH0FRP65NYEDHF2BT7NB1","zvukogram","Text-to-Speech via Zvukogram API with SSML support. Use when you need to generate speech from text, create podcasts, voice notifications, or work with audio. Supports speed control, stress marks, English word transcription, and audio fragment merging.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzvukogram\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzvukogram\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":77,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M78XEND5ASXYB6MN8AQQGJAF","zohomail","Zoho Mail API integration with managed OAuth. Send, receive, and manage emails, folders, and labels.\nUse this skill when users want to send emails, read messages, manage folders, or work with email labels in Zoho Mail.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzohomail\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzohomail\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M78XEBBV3C6DRZFAJXP6RDKS","zoho-recruit","Zoho Recruit API integration with managed OAuth. Manage candidates, job openings, interviews, and recruitment workflows.\nUse this skill when users want to read, create, update, or search recruitment data like candidates, job openings, interviews, and applications in Zoho Recruit.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-recruit\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-recruit\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M78XE5CQG75DZWYSKGXFR99T","zoho-people","Zoho People API integration with managed OAuth. Manage employees, departments, designations, attendance, and leave.\nUse this skill when users want to read, create, update, or query HR data like employees, departments, designations, and forms in Zoho People.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-people\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-people\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":18},"01M78XDZKMZAJYFJJFT7MR5ZN2","zoho-mail","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-mail\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-mail\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":108,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":18},"01M78XDST8JK0WVDA1F3VPNWXD","zoho-inventory","Zoho Inventory API integration with managed OAuth. Manage items, sales orders, invoices, purchase orders, bills, contacts, and shipments.\nUse this skill when users want to read, create, update, or delete inventory items, sales orders, invoices, purchase orders, bills, or other inventory records in Zoho Inventory.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-inventory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-inventory\u002FSKILL.md",[],[]]