[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6N3Z3EY5B4N5SQWPSWYR2GA":3,"skill-same:01M6N3Z3EY5B4N5SQWPSWYR2GA":79},{"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":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":6,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M6N3Z3EY5B4N5SQWPSWYR2GA","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.","Kernel8901\u002Fai-agent-skills-classification","Kernel8901","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F72647553?v=4","01M6KV388J2H5PNC8D8P940BJD","01M6KV38CS5B3AY63RKZB410YM",7,"MIT","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fxmtp-agent\u002Fcreating-inline-actions\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30],"actions","creating inline actions","inline","ui","confirmation","interactive","use","selection","options","triggers","interaction","xmtp agents","for","2026-11-10 10:12:30",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":36,"description":7},{"author":37,"version":38},"xmtp","1.0.0","main","f4cb2d49f7667e79ef7804f50396d5aaffdf1f56","人工智能与大型语言模型\u002Fxmtp-agent\u002Fcreating-inline-actions",1,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification","https:\u002F\u002Fgithub.com\u002FKernel8901","a little little little dobe in life but science geek","2026-04-05 16:43:56",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add Kernel8901\u002Fai-agent-skills-classification --skill creating-inline-actions",{"tool":53,"command":54},"bunx","bunx skills add Kernel8901\u002Fai-agent-skills-classification --skill creating-inline-actions",{"tool":56,"command":57},"pnpm","pnpm dlx skills add Kernel8901\u002Fai-agent-skills-classification --skill creating-inline-actions","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fxmtp-agent\u002Fcreating-inline-actions\u002FSKILL.md",true,[61,67,71,75],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"rules\u002Fbuilder-create.md","REFERENCE","参考文档",1187,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fxmtp-agent\u002Fcreating-inline-actions\u002Frules\u002Fbuilder-create.md",{"path":68,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":69,"sourceHtmlUrl":70},"rules\u002Fconfig-menus.md",1498,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fxmtp-agent\u002Fcreating-inline-actions\u002Frules\u002Fconfig-menus.md",{"path":72,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":73,"sourceHtmlUrl":74},"rules\u002Fhelpers-confirmation.md",947,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fxmtp-agent\u002Fcreating-inline-actions\u002Frules\u002Fhelpers-confirmation.md",{"path":76,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":77,"sourceHtmlUrl":78},"rules\u002Fhelpers-selection.md",1114,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fxmtp-agent\u002Fcreating-inline-actions\u002Frules\u002Fhelpers-selection.md",[80,103,126,134,141,167],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":31},"01M6Q5R6WZ06RRB9RQTW54B34B","zyfai","Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit\u002Fwithdraw anytime.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzyfai-sdk\u002FSKILL.md",[],[82,87,88,89,90,91,24,92,93,94,95,96,97,98,99,100,101,102],"safe","ethereum","defi","Optimization","user","Wallet","base","deposit","withdraw","yield","arbitrum","non-custodial","passive","defi yield","earn","yield optimization",{"skillNo":104,"name":105,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":31},"01M6Q5R337B5JSNER4P4YS03TN","zerion-api","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api\u002FSKILL.md",[],[109,110,111,112,113,114,115,89,116,92,117,118,119,120,121,122,123,124,125],"api","zerion api","zerion","MCP","mcp server","server","blockchain","transactions","crypto wallet","crypto","evm","solana","query","across","positions","token","prices",{"skillNo":127,"name":128,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":31},"01M6Q5QZFYTDAZMZ27BN5VZXAR","zerion-api-skill","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-skill\u002FSKILL.md",[],[109,132,133,110,111,112,113,114,115,89,116,92,118,119,120,121,122,123,124,125],"api skill","zerion api skill",{"skillNo":135,"name":136,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":31},"01M6Q5QW17QW98RA3FE45E4RD8","zerion-api-mcp","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-mcp\u002FSKILL.md",[],[112,109,140,110,111,113,114,89,116,92,117,118,119,120,121,122,123,124,125],"zerion api mcp",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":31},"01M6Q5QQYZB7A501BDEQWKGSJT","yahoo-finance-forex","Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR\u002FUSD, GBP\u002FUSD, USD\u002FJPY, etc.). Analyzes sentiment and provides trading context.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-forex\u002FSKILL.md",[],[148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,30],"finance","yahoo finance","forex","yahoo","yahoo finance forex","github","https","sentiment","real-time","python3","install","Market","usd","news","time","currency","gbp","pip","market data",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":31},"01M6Q5QM6VS84WZVM7BKXXPF32","yahoo-finance","This skill should be used when the user asks to \"get stock prices\", \"check stock quotes\", \"look up earnings\", \"get financial data\", \"find trending stocks\", or needs stock market data from Yahoo Finance.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-cli\u002FSKILL.md",[],[148,149,151,174,175,176,177,178,179,159,180,181,182,183,184,185,186,187,125,166],"cli","homebrew","find","check","brew","up","local","get","stock","link","trending","sf","quotes","ln"]