agent-ui
78构建 React Agent 界面
团队需要 Agent 聊天界面,而不必重新构建流式传输、审批和工具展示。此技能指导在 React 和 Next.js 中设置 inference.sh Agent 组件。
为 Agent 应用添加工具生命周期 UI
Agent 应用需要清晰显示工具状态、审批和结果。此技能为这些工作流提供 React 和 Next.js 组件指导。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "tools-ui" from https://skillstore.io/skills/inference-sh-9-tools-ui.md and its manifest at https://skillstore.io/api/skills/inference-sh-9-tools-ui/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“tools-ui”。 用户要求在 web search 工具运行时显示它。
预期结果:
会显示一个紧凑的工具卡片,包含搜索图标、工具名称、可见参数和 running 状态指示器。
正在使用“tools-ui”。 用户要求在发送 email 工具调用之前添加审批。
预期结果:
界面会显示 email 工具名称、收件人和主题详情,以及 approve 和 deny 操作。
正在使用“tools-ui”。 用户要求在 agent transcript 中显示成功的工具结果。
预期结果:
结果区域会显示已完成的工具名称、success 状态,以及返回数据的可读摘要。
Most static findings are markdown fences, inline code formatting, or documentation links, not executable code. The real issues are unpinned npx install instructions, a remote shadcn registry URL, and a remotely hosted image asset.
这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/inference-sh-9-tools-ui/audits/6?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/inference-sh-9-tools-ui?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/inference-sh-9-tools-ui?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/inference-sh-9-tools-ui/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/inference-sh-9-tools-ui.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>inference-sh-9. (2026). tools-ui security audit report (audit version 6) [Author version unspecified]. Skillstore. https://skillstore.io/skills/inference-sh-9-tools-ui/audits/6@techreport{inference-sh-9-inference-sh-9-tools-ui-2026,
author = {inference-sh-9},
title = {tools-ui security audit report (audit version 6)},
institution = {Skillstore},
year = {2026},
number = {6},
url = {https://skillstore.io/skills/inference-sh-9-tools-ui/audits/6},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "tools-ui security audit report (audit version 6)"
version: "unspecified"
type: report
authors:
- name: "inference-sh-9"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/inference-sh-9-tools-ui/audits/6"
identifiers:
- type: other
value: "skillstore:inference-sh-9-tools-ui:audit:6"
description: "Skillstore immutable audit report identifier"
每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
inference-sh-9-tools-ui
2026-09-09
在 React 界面中显示 agent 工具调用的 pending、running、success 和 error 状态。
在 agent 应用中,在敏感工具执行前添加 approve 和 deny 控件。
在一致的界面中为操作员和最终用户渲染结构化工具输出。
将工具 UI 组件添加到我的 React 或 Next.js 项目中。在更改文件之前说明所有安装步骤。
使用工具 UI 组件为我的 agent 工具调用显示 pending、running、success 和 error 状态。
构建一个工具审批视图,显示工具参数并调用我的 approve 或 deny 处理程序。
将 Agent 组件连接到我的工具列表,并仅为标记为敏感的工具显示审批关卡。
许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
0519034dad657fb1f7706e0550e962beeda73fdf
维护新鲜度
2026/7/18
使用量
3 次下载 · 146 次浏览
文件结构
📄 SKILL.md
构建 React Agent 界面
团队需要 Agent 聊天界面,而不必重新构建流式传输、审批和工具展示。此技能指导在 React 和 Next.js 中设置 inference.sh Agent 组件。
在 React 中渲染 JSON Widgets
Agent 输出通常需要交互式 UI,而不是纯文本。此技能展示如何将结构化 widget 定义渲染为 React 和 Next.js 组件。
构建 React 聊天界面
团队需要与现代 React 应用相匹配的聊天界面。此技能提供 shadcn 风格的组件和模式,用于消息、输入框、头像和流式状态。
改进用于文本、图像和视频的 AI 提示词
当提示词含糊或结构不佳时,AI 结果通常会失败。此技能为 LLM、图像和视频提示词提供可复用的模式。
使用结构化拆解分析竞争对手
竞争研究常常分散在笔记、截图、定价页面和评论网站中。此技能提供可重复使用的拆解框架、对比模板和研究工作流,帮助做出清晰的战略决策。
在托管沙盒中运行 Python 代码
Python 任务通常需要库和隔离执行。此技能通过 inference.sh 运行 Python,并提供用于数据、媒体、抓取和自动化的工具。
在资深指导下构建全栈应用
由 alirezarezvani
全栈项目通常需要一致的设置、架构选择和质量检查。此技能为 React、Next.js、Node.js、GraphQL 和 PostgreSQL 工作提供脚本与参考资料。
实现 React View Transitions
由 vercel-labs
React 视图过渡很容易放错位置,从而导致无提示或嘈杂的动画。此技能可指导路由、Suspense、列表和共享元素动画的选择。
构建可用于生产的前端功能
由 davila7
前端团队需要在各项目中获得一致的 React 和 Next.js 指导。此技能提供用于前端分析的参考工作流、质量实践和辅助脚本。
优化 Next.js 性能
由 Atman36
Next.js 应用可能会因为大型 bundle、薄弱的缓存和未优化的媒体而变慢。此技能会指导 Claude、Codex 和 Claude Code 对生产应用进行有针对性的性能改进。
优化 React 和 Next.js 性能
由 vercel-labs
React 和 Next.js 应用常常会因为瀑布式请求、大型包体以及可避免的重复渲染而变慢。此技能为代理提供具体规则,以便更安全地进行以性能为重点的改动。
自动化 Web 应用本地化
由 DNYoussef
添加多语言支持通常会让字符串、路由、元数据和语言环境文件散落在整个代码库中。此技能会规划并实现 i18n 设置,包括翻译、验证和文档。