{
  "schemaVersion": "1.0",
  "item": {
    "slug": "tools-ui",
    "name": "Tools Ui",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/okaris/tools-ui",
    "canonicalUrl": "https://clawhub.ai/okaris/tools-ui",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/tools-ui",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tools-ui",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/tools-ui"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/tools-ui",
    "agentPageUrl": "https://openagent3.xyz/skills/tools-ui/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tools-ui/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tools-ui/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Tool UI Components",
        "body": "Tool lifecycle components from ui.inference.sh."
      },
      {
        "title": "Quick Start",
        "body": "npx shadcn@latest add https://ui.inference.sh/r/tools.json"
      },
      {
        "title": "Tool States",
        "body": "StateDescriptionpendingTool call requested, waiting to executerunningTool is currently executingapprovalRequires human approval before executionsuccessTool completed successfullyerrorTool execution failed"
      },
      {
        "title": "Tool Call Display",
        "body": "import { ToolCall } from \"@/registry/blocks/tools/tool-call\"\n\n<ToolCall\n  name=\"search_web\"\n  args={{ query: \"latest AI news\" }}\n  status=\"running\"\n/>"
      },
      {
        "title": "Tool Result",
        "body": "import { ToolResult } from \"@/registry/blocks/tools/tool-result\"\n\n<ToolResult\n  name=\"search_web\"\n  result={{ results: [...] }}\n  status=\"success\"\n/>"
      },
      {
        "title": "Tool Approval",
        "body": "import { ToolApproval } from \"@/registry/blocks/tools/tool-approval\"\n\n<ToolApproval\n  name=\"send_email\"\n  args={{ to: \"user@example.com\", subject: \"Hello\" }}\n  onApprove={() => executeTool()}\n  onDeny={() => cancelTool()}\n/>"
      },
      {
        "title": "Full Example",
        "body": "import { ToolCall, ToolResult, ToolApproval } from \"@/registry/blocks/tools\"\n\nfunction ToolDisplay({ tool }) {\n  if (tool.status === 'approval') {\n    return (\n      <ToolApproval\n        name={tool.name}\n        args={tool.args}\n        onApprove={tool.approve}\n        onDeny={tool.deny}\n      />\n    )\n  }\n\n  if (tool.result) {\n    return (\n      <ToolResult\n        name={tool.name}\n        result={tool.result}\n        status={tool.status}\n      />\n    )\n  }\n\n  return (\n    <ToolCall\n      name={tool.name}\n      args={tool.args}\n      status={tool.status}\n    />\n  )\n}"
      },
      {
        "title": "Styling Tool Cards",
        "body": "<ToolCall\n  name=\"read_file\"\n  args={{ path: \"/src/index.ts\" }}\n  status=\"running\"\n  className=\"border-blue-500\"\n/>"
      },
      {
        "title": "Tool Icons",
        "body": "Tools automatically get icons based on their name:\n\nPatternIconsearch*, find*Searchread*, get*Filewrite*, create*Pencildelete*, remove*Trashsend*, email*MailDefaultWrench"
      },
      {
        "title": "With Agent Component",
        "body": "The Agent component handles tool lifecycle automatically:\n\nimport { Agent } from \"@/registry/blocks/agent/agent\"\n\n<Agent\n  proxyUrl=\"/api/inference/proxy\"\n  config={{\n    core_app: { ref: 'openrouter/claude-sonnet-45@0fkg6xwb' },\n    tools: [\n      {\n        name: 'search_web',\n        description: 'Search the web',\n        parameters: { query: { type: 'string' } },\n        requiresApproval: true, // Enable approval flow\n      },\n    ],\n  }}\n/>"
      },
      {
        "title": "Related Skills",
        "body": "# Full agent component (recommended)\nnpx skills add inference-sh/skills@agent-ui\n\n# Chat UI blocks\nnpx skills add inference-sh/skills@chat-ui\n\n# Widgets for tool results\nnpx skills add inference-sh/skills@widgets-ui"
      },
      {
        "title": "Documentation",
        "body": "Adding Tools to Agents - Equip agents with tools\nHuman-in-the-Loop - Approval flows\nTool Approval Gates - Implementing approvals\n\nComponent docs: ui.inference.sh/blocks/tools"
      }
    ],
    "body": "Tool UI Components\n\nTool lifecycle components from ui.inference.sh.\n\nQuick Start\nnpx shadcn@latest add https://ui.inference.sh/r/tools.json\n\nTool States\nState\tDescription\npending\tTool call requested, waiting to execute\nrunning\tTool is currently executing\napproval\tRequires human approval before execution\nsuccess\tTool completed successfully\nerror\tTool execution failed\nComponents\nTool Call Display\nimport { ToolCall } from \"@/registry/blocks/tools/tool-call\"\n\n<ToolCall\n  name=\"search_web\"\n  args={{ query: \"latest AI news\" }}\n  status=\"running\"\n/>\n\nTool Result\nimport { ToolResult } from \"@/registry/blocks/tools/tool-result\"\n\n<ToolResult\n  name=\"search_web\"\n  result={{ results: [...] }}\n  status=\"success\"\n/>\n\nTool Approval\nimport { ToolApproval } from \"@/registry/blocks/tools/tool-approval\"\n\n<ToolApproval\n  name=\"send_email\"\n  args={{ to: \"user@example.com\", subject: \"Hello\" }}\n  onApprove={() => executeTool()}\n  onDeny={() => cancelTool()}\n/>\n\nFull Example\nimport { ToolCall, ToolResult, ToolApproval } from \"@/registry/blocks/tools\"\n\nfunction ToolDisplay({ tool }) {\n  if (tool.status === 'approval') {\n    return (\n      <ToolApproval\n        name={tool.name}\n        args={tool.args}\n        onApprove={tool.approve}\n        onDeny={tool.deny}\n      />\n    )\n  }\n\n  if (tool.result) {\n    return (\n      <ToolResult\n        name={tool.name}\n        result={tool.result}\n        status={tool.status}\n      />\n    )\n  }\n\n  return (\n    <ToolCall\n      name={tool.name}\n      args={tool.args}\n      status={tool.status}\n    />\n  )\n}\n\nStyling Tool Cards\n<ToolCall\n  name=\"read_file\"\n  args={{ path: \"/src/index.ts\" }}\n  status=\"running\"\n  className=\"border-blue-500\"\n/>\n\nTool Icons\n\nTools automatically get icons based on their name:\n\nPattern\tIcon\nsearch*, find*\tSearch\nread*, get*\tFile\nwrite*, create*\tPencil\ndelete*, remove*\tTrash\nsend*, email*\tMail\nDefault\tWrench\nWith Agent Component\n\nThe Agent component handles tool lifecycle automatically:\n\nimport { Agent } from \"@/registry/blocks/agent/agent\"\n\n<Agent\n  proxyUrl=\"/api/inference/proxy\"\n  config={{\n    core_app: { ref: 'openrouter/claude-sonnet-45@0fkg6xwb' },\n    tools: [\n      {\n        name: 'search_web',\n        description: 'Search the web',\n        parameters: { query: { type: 'string' } },\n        requiresApproval: true, // Enable approval flow\n      },\n    ],\n  }}\n/>\n\nRelated Skills\n# Full agent component (recommended)\nnpx skills add inference-sh/skills@agent-ui\n\n# Chat UI blocks\nnpx skills add inference-sh/skills@chat-ui\n\n# Widgets for tool results\nnpx skills add inference-sh/skills@widgets-ui\n\nDocumentation\nAdding Tools to Agents - Equip agents with tools\nHuman-in-the-Loop - Approval flows\nTool Approval Gates - Implementing approvals\n\nComponent docs: ui.inference.sh/blocks/tools"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/okaris/tools-ui",
    "publisherUrl": "https://clawhub.ai/okaris/tools-ui",
    "owner": "okaris",
    "version": "0.1.5",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/tools-ui",
    "downloadUrl": "https://openagent3.xyz/downloads/tools-ui",
    "agentUrl": "https://openagent3.xyz/skills/tools-ui/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tools-ui/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tools-ui/agent.md"
  }
}