[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EVA8A0CCCZJQA8924YPP1F":3,"skill-same:01M6EVA8A0CCCZJQA8924YPP1F":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6EVA8A0CCCZJQA8924YPP1F","tools-ui",null,"Tool lifecycle UI components for React\u002FNext.js from ui.inference.sh. Display tool calls: pending, progress, approval required, results. Capabilities: tool status, progress indicators, approval flows, results display. Use for: showing agent tool calls, human-in-the-loop approvals, tool output. Triggers: tool ui, tool calls, tool status, tool approval, tool results, agent tools, mcp tools ui, function calling ui, tool lifecycle, tool pending","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Finferen-sh\u002Ftools-ui\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"tools ui","ui","Tools","tool","flows","ui components","progress","triggers","human","next","calling","use","MCP","loop","human-in-the-loop","lifecycle","capabilities","status","react","components","2026-11-10 10:12:30",false,"---\nname: tools-ui\ndescription: \"Tool lifecycle UI components for React\u002FNext.js from ui.inference.sh. Display tool calls: pending, progress, approval required, results. Capabilities: tool status, progress indicators, approval flows, results display. Use for: showing agent tool calls, human-in-the-loop approvals, tool output. Triggers: tool ui, tool calls, tool status, tool approval, tool results, agent tools, mcp tools ui, function calling ui, tool lifecycle, tool pending\"\n---\n\n# Tool UI Components\n\nTool lifecycle components from [ui.inference.sh](https:\u002F\u002Fui.inference.sh).\n\n![Tool UI Components](https:\u002F\u002Fcloud.inference.sh\u002Fapp\u002Ffiles\u002Fu\u002F4mg21r6ta37mpaz6ktzwtt8krr\u002F01kgjw8atdxgkrsr8a2t5peq7b.jpeg)\n\n## Quick Start\n\n```bash\nnpx shadcn@latest add https:\u002F\u002Fui.inference.sh\u002Fr\u002Ftools.json\n```\n\n## Tool States\n\n| State | Description |\n|-------|-------------|\n| `pending` | Tool call requested, waiting to execute |\n| `running` | Tool is currently executing |\n| `approval` | Requires human approval before execution |\n| `success` | Tool completed successfully |\n| `error` | Tool execution failed |\n\n## Components\n\n### Tool Call Display\n\n```tsx\nimport { ToolCall } from \"@\u002Fregistry\u002Fblocks\u002Ftools\u002Ftool-call\"\n\n\u003CToolCall\n  name=\"search_web\"\n  args={{ query: \"latest AI news\" }}\n  status=\"running\"\n\u002F>\n```\n\n### Tool Result\n\n```tsx\nimport { ToolResult } from \"@\u002Fregistry\u002Fblocks\u002Ftools\u002Ftool-result\"\n\n\u003CToolResult\n  name=\"search_web\"\n  result={{ results: [...] }}\n  status=\"success\"\n\u002F>\n```\n\n### Tool Approval\n\n```tsx\nimport { ToolApproval } from \"@\u002Fregistry\u002Fblocks\u002Ftools\u002Ftool-approval\"\n\n\u003CToolApproval\n  name=\"send_email\"\n  args={{ to: \"user@example.com\", subject: \"Hello\" }}\n  onApprove={() => executeTool()}\n  onDeny={() => cancelTool()}\n\u002F>\n```\n\n## Full Example\n\n```tsx\nimport { ToolCall, ToolResult, ToolApproval } from \"@\u002Fregistry\u002Fblocks\u002Ftools\"\n\nfunction ToolDisplay({ tool }) {\n  if (tool.status === 'approval') {\n    return (\n      \u003CToolApproval\n        name={tool.name}\n        args={tool.args}\n        onApprove={tool.approve}\n        onDeny={tool.deny}\n      \u002F>\n    )\n  }\n\n  if (tool.result) {\n    return (\n      \u003CToolResult\n        name={tool.name}\n        result={tool.result}\n        status={tool.status}\n      \u002F>\n    )\n  }\n\n  return (\n    \u003CToolCall\n      name={tool.name}\n      args={tool.args}\n      status={tool.status}\n    \u002F>\n  )\n}\n```\n\n## Styling Tool Cards\n\n```tsx\n\u003CToolCall\n  name=\"read_file\"\n  args={{ path: \"\u002Fsrc\u002Findex.ts\" }}\n  status=\"running\"\n  className=\"border-blue-500\"\n\u002F>\n```\n\n## Tool Icons\n\nTools automatically get icons based on their name:\n\n| Pattern | Icon |\n|---------|------|\n| `search*`, `find*` | Search |\n| `read*`, `get*` | File |\n| `write*`, `create*` | Pencil |\n| `delete*`, `remove*` | Trash |\n| `send*`, `email*` | Mail |\n| Default | Wrench |\n\n## With Agent Component\n\nThe Agent component handles tool lifecycle automatically:\n\n```tsx\nimport { Agent } from \"@\u002Fregistry\u002Fblocks\u002Fagent\u002Fagent\"\n\n\u003CAgent\n  proxyUrl=\"\u002Fapi\u002Finference\u002Fproxy\"\n  config={{\n    core_app: { ref: 'openrouter\u002Fclaude-sonnet-45@0fkg6xwb' },\n    tools: [\n      {\n        name: 'search_web',\n        description: 'Search the web',\n        parameters: { query: { type: 'string' } },\n        requiresApproval: true, \u002F\u002F Enable approval flow\n      },\n    ],\n  }}\n\u002F>\n```\n\n## Related Skills\n\n```bash\n# Full agent component (recommended)\nnpx skills add inference-sh\u002Fskills@agent-ui\n\n# Chat UI blocks\nnpx skills add inference-sh\u002Fskills@chat-ui\n\n# Widgets for tool results\nnpx skills add inference-sh\u002Fskills@widgets-ui\n```\n\n## Documentation\n\n- [Adding Tools to Agents](https:\u002F\u002Finference.sh\u002Fdocs\u002Fagents\u002Fadding-tools) - Equip agents with tools\n- [Human-in-the-Loop](https:\u002F\u002Finference.sh\u002Fdocs\u002Fruntime\u002Fhuman-in-the-loop) - Approval flows\n- [Tool Approval Gates](https:\u002F\u002Finference.sh\u002Fblog\u002Ftools\u002Fapproval-gates) - Implementing approvals\n\nComponent docs: [ui.inference.sh\u002Fblocks\u002Ftools](https:\u002F\u002Fui.inference.sh\u002Fblocks\u002Ftools)\n\n","# Tool UI Components\n\nTool lifecycle components from [ui.inference.sh](https:\u002F\u002Fui.inference.sh).\n\n![Tool UI Components](https:\u002F\u002Fcloud.inference.sh\u002Fapp\u002Ffiles\u002Fu\u002F4mg21r6ta37mpaz6ktzwtt8krr\u002F01kgjw8atdxgkrsr8a2t5peq7b.jpeg)\n\n## Quick Start\n\n```bash\nnpx shadcn@latest add https:\u002F\u002Fui.inference.sh\u002Fr\u002Ftools.json\n```\n\n## Tool States\n\n| State | Description |\n|-------|-------------|\n| `pending` | Tool call requested, waiting to execute |\n| `running` | Tool is currently executing |\n| `approval` | Requires human approval before execution |\n| `success` | Tool completed successfully |\n| `error` | Tool execution failed |\n\n## Components\n\n### Tool Call Display\n\n```tsx\nimport { ToolCall } from \"@\u002Fregistry\u002Fblocks\u002Ftools\u002Ftool-call\"\n\n\u003CToolCall\n  name=\"search_web\"\n  args={{ query: \"latest AI news\" }}\n  status=\"running\"\n\u002F>\n```\n\n### Tool Result\n\n```tsx\nimport { ToolResult } from \"@\u002Fregistry\u002Fblocks\u002Ftools\u002Ftool-result\"\n\n\u003CToolResult\n  name=\"search_web\"\n  result={{ results: [...] }}\n  status=\"success\"\n\u002F>\n```\n\n### Tool Approval\n\n```tsx\nimport { ToolApproval } from \"@\u002Fregistry\u002Fblocks\u002Ftools\u002Ftool-approval\"\n\n\u003CToolApproval\n  name=\"send_email\"\n  args={{ to: \"user@example.com\", subject: \"Hello\" }}\n  onApprove={() => executeTool()}\n  onDeny={() => cancelTool()}\n\u002F>\n```\n\n## Full Example\n\n```tsx\nimport { ToolCall, ToolResult, ToolApproval } from \"@\u002Fregistry\u002Fblocks\u002Ftools\"\n\nfunction ToolDisplay({ tool }) {\n  if (tool.status === 'approval') {\n    return (\n      \u003CToolApproval\n        name={tool.name}\n        args={tool.args}\n        onApprove={tool.approve}\n        onDeny={tool.deny}\n      \u002F>\n    )\n  }\n\n  if (tool.result) {\n    return (\n      \u003CToolResult\n        name={tool.name}\n        result={tool.result}\n        status={tool.status}\n      \u002F>\n    )\n  }\n\n  return (\n    \u003CToolCall\n      name={tool.name}\n      args={tool.args}\n      status={tool.status}\n    \u002F>\n  )\n}\n```\n\n## Styling Tool Cards\n\n```tsx\n\u003CToolCall\n  name=\"read_file\"\n  args={{ path: \"\u002Fsrc\u002Findex.ts\" }}\n  status=\"running\"\n  className=\"border-blue-500\"\n\u002F>\n```\n\n## Tool Icons\n\nTools automatically get icons based on their name:\n\n| Pattern | Icon |\n|---------|------|\n| `search*`, `find*` | Search |\n| `read*`, `get*` | File |\n| `write*`, `create*` | Pencil |\n| `delete*`, `remove*` | Trash |\n| `send*`, `email*` | Mail |\n| Default | Wrench |\n\n## With Agent Component\n\nThe Agent component handles tool lifecycle automatically:\n\n```tsx\nimport { Agent } from \"@\u002Fregistry\u002Fblocks\u002Fagent\u002Fagent\"\n\n\u003CAgent\n  proxyUrl=\"\u002Fapi\u002Finference\u002Fproxy\"\n  config={{\n    core_app: { ref: 'openrouter\u002Fclaude-sonnet-45@0fkg6xwb' },\n    tools: [\n      {\n        name: 'search_web',\n        description: 'Search the web',\n        parameters: { query: { type: 'string' } },\n        requiresApproval: true, \u002F\u002F Enable approval flow\n      },\n    ],\n  }}\n\u002F>\n```\n\n## Related Skills\n\n```bash\n# Full agent component (recommended)\nnpx skills add inference-sh\u002Fskills@agent-ui\n\n# Chat UI blocks\nnpx skills add inference-sh\u002Fskills@chat-ui\n\n# Widgets for tool results\nnpx skills add inference-sh\u002Fskills@widgets-ui\n```\n\n## Documentation\n\n- [Adding Tools to Agents](https:\u002F\u002Finference.sh\u002Fdocs\u002Fagents\u002Fadding-tools) - Equip agents with tools\n- [Human-in-the-Loop](https:\u002F\u002Finference.sh\u002Fdocs\u002Fruntime\u002Fhuman-in-the-loop) - Approval flows\n- [Tool Approval Gates](https:\u002F\u002Finference.sh\u002Fblog\u002Ftools\u002Fapproval-gates) - Implementing approvals\n\nComponent docs: [ui.inference.sh\u002Fblocks\u002Ftools](https:\u002F\u002Fui.inference.sh\u002Fblocks\u002Ftools)\n\n",{"name":5,"description":7},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Faiskillstore\u002Fmarketplace\u002Finferen-sh\u002Ftools-ui",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill tools-ui",{"tool":59,"command":60},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill tools-ui",{"tool":62,"command":63},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill tools-ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Finferen-sh\u002Ftools-ui\u002FSKILL.md",true,[67],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"skill-report.json","REFERENCE","参考文档",8036,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Finferen-sh\u002Ftools-ui\u002Fskill-report.json",[74,83,91,100,106,112],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":39},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[80,81,82],"model","model hierarchy","model hierarchy skill",{"skillNo":84,"name":85,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":39},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[31,89,90],"zoom","zoom mcp",{"skillNo":92,"name":93,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":39},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[97,98,99,89],"sdk","zoom apps sdk","apps",{"skillNo":101,"name":102,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":39},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[102],{"skillNo":107,"name":108,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":39},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[108],{"skillNo":113,"name":114,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":39},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[114]]