跳到正文
cccskills
免费在 GitHub 公开中文介绍

visualize

用交互式图示解释代码结构、执行流程和性能差异,并在OpenClaw仪表板中持续展示相关指标、表格和图表,便于比较实测结果与查看信息。

原文查看原文说明

Create inline visuals for code and explanations, or author persistent OpenClaw dashboard widgets with show_widget.

AI 评分90分/ 100查看安装方法

适用场景

  • 解释代码结构和数据流
  • 比较实测性能结果
  • 操作并检查界面原型
  • 在仪表板中持续展示指标

中文介绍

功能

通过图示和可交互的展示,解释代码结构、执行流程及性能差异。使用show_widget创建会话内图示,或保留在OpenClaw仪表板中的组件。根据内容选择整合指标、表格和简单图表的展示,或使用HTML/SVG定制展示,并通过选择和筛选查看内容。

适用场景

适合仅靠文字难以理解代码关系,或需要在同一尺度上比较多组实测结果的情况。也可用于操作并检查界面原型,或持续查看相关指标。展示时会区分已观测的事实、设计提案和示例数据。

使用示例

  • “请画出这段处理的并行执行方式和数据流。”
  • “请把性能测量结果做成可以比较的展示。”
  • “请把相关指标集中展示在仪表板中。”

注意事项

使用环境需要提供show_widget,展示位置和权限以当时支持的范围为准。用于更新的数据和操作API面向固定在仪表板上的组件。外部资源的加载来源受限,严格嵌入模式会禁用脚本。仅创建组件并不代表已经完成应用实现。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

客观评估

AI 仅根据 SKILL.md 的内容,从 4 个方面进行了评估。星标数和热度不计入评估。

指令清晰度能否看出何时使用、做什么
A良好区分会话内图示和固定仪表板,并说明何时使用show_widget。
步骤具体性步骤、输入输出和示例是否具体
A良好具体说明report与widget_code的选择、pin设置、输出格式和展示限制。
安全性发送数据、删除文件、执行命令等是否有说明
A良好限制外部资源来源,要求声明操作权限和用户点击,并禁止嵌入凭据。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足需要show_widget及对应环境的权限,但未提供该工具本身的安装步骤。

总分按每项 A=25 分、B=15 分、C=5 分相加。 由 AI(OpenAI Codex)于 2026年10月19日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(1)

  • SKILL.md9.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Visualize

Use show_widget when seeing or interacting with a result helps the user reason about it. This includes code architecture, execution traces, performance, comparisons, simulations, UI mockups, and session dashboards. Use prose, a normal Markdown table, or a supported Mermaid block when that already explains the answer. A request to implement an application still needs changes in its project; a widget can illustrate the design but does not complete the implementation.

Choose the surface

  • Code work and one-off explanations: prefer inline when available this turn. Show the actual owners, relationships, measured values, or states relevant to the question. Distinguish proposed designs and illustrative data from observed behavior. Several diagrams for a code task do not by themselves call for a dashboard.
  • Persistent dashboards: use pin: true for an explicit dashboard request or multiple non-code visualizations that belong together. Read the current board first and reuse its names and tabs. Use the control-ui skill when organizing sessions, tabs, placement, or dashboard presentation.
  • Native reports: prefer the tool's report input with pin: true for dashboard text, metrics, tables, simple charts, and links. Omit widget_code, kind, capabilities, and presentation.target. Reports do not render inline.
  • Custom widgets: use widget_code for interactive HTML/SVG. Reuse an explicit name with pin: true to replace a pinned widget's content. A same-name update cannot change its content owner; inspect before converting HTML to a report.

Use only tools, source kinds, and presentation targets advertised in this turn. On a pinned-only surface, set pin: true and omit presentation.target. If the tool is unavailable, explain the limitation instead of inventing a render call. Restart recovery can be pinned-only even when the original turn supported inline widgets; follow the current tool schema instead of earlier delivery instructions.

Author the content

Send the markup itself in widget_code. Use an HTML or SVG fragment, optionally including <style> and <script>; OpenClaw supplies the document shell, theme, and host bridges. Do not send a file path, Markdown fence, full HTML document, or another application's visualization directive. title is host metadata: start with useful content rather than repeating the title or drawing dashboard chrome.

Keep a useful initial state in the markup. Use local JavaScript for selections, filters, parameter changes, and animation. Give the root a unique ID and scope styles and selectors to it. Insert labels and external data with textContent instead of interpolating untrusted strings into markup or executable code.

Keep source compact: widget_code is limited to 262,144 characters, pinned HTML to 256 KiB after wrapping, and Discord source to 48 KiB. Aggregate large datasets and load a suitable library instead of embedding its distribution in the call.

Libraries and fonts

Scripts, ES modules, stylesheets, and fonts can load from these HTTPS origins:

  • https://cdnjs.cloudflare.com
  • https://cdn.jsdelivr.net
  • https://esm.sh
  • https://unpkg.com
  • https://fonts.googleapis.com
  • https://fonts.gstatic.com
  • https://fonts.bunny.net

Use version-pinned library URLs. For example, load D3 with <script src="https://cdn.jsdelivr.net/npm/d3@7.9.0/dist/d3.min.js" crossorigin="anonymous"></script> before the inline script that uses d3. Use a module script for ESM imports. Transitive imports, font files, and redirects must also stay on allowed origins. No library, icon set, or font is preloaded. Choose native SVG/CSS for simple visuals; load a library when its scales, layout, or interaction justify it.

Provide readable fallback content and a visible failure state if an asset fails to load. Avoid eval-based libraries; unsafe-eval, remote frames, and arbitrary resource hosts remain unavailable. Images must be embedded as data URLs or drawn locally. CDN URLs are for public assets, never private data or credentials.

CDN loading does not grant fetch, WebSocket, or host API access. Retrieve data with the agent's available tools and embed the needed observations for inline visuals. Use dashboard capabilities for refreshable data, as described below.

Composition and theme

For code explanations, emphasize the relationship being discussed: aligned lanes for concurrent work, labeled edges for ownership and data flow, or shared scales for performance comparisons. Keep source details that support the conclusion; avoid decorative metrics or diagrams of unrelated modules.

For dashboards, make each widget useful on its own and keep related measures comparable. Show data freshness, units, loading, empty, and error states where they affect interpretation. Preserve the last successful data when refresh fails. Use a mockup's product context for its inner controls while retaining the host's theme for the surrounding surface.

OpenClaw styles native headings, controls, tables, and code. It provides .card, .row, .metric, .muted, .badge with .ok/.warn/.danger/.info, and button.primary. Use these when they fit; do not assume another host's classes. Colors and typography use --text, --text-strong, --muted, --surface, --card, --elevated, --border, --border-strong, --accent, --accent-fill, --accent-fg, --ok, --warn, --danger, --info, --radius, --font-body, and --font-mono. Keep the outer background transparent and avoid extra cards around a whole plot. Pair colors with labels or shapes. Canvas libraries need resolved computed colors and redraws when the host theme changes.

Fit the actual container, including narrow chat and resized dashboard columns. Use fluid widths, wrapping controls, and stacked panels; reserve horizontal scrolling for code, tables, or diagrams that require exact geometry. Size SVGs from their container and keep labels readable instead of shrinking a desktop layout. Include axes and units for plots, accessible names, visible control labels, keyboard operation, and touch targets. Honor reduced-motion preferences.

Conversation and dashboard actions

Keep presentation-only changes local. A clearly labeled user-clicked control can call openclaw.prompt.send(text) to ask the agent to investigate selected values. Include those values and the requested action. In the Control UI, prompts need a real user activation in the visible, focused widget; text must be nonempty, at most 4,000 characters, and cannot start with /. Do not trigger prompts on load or on every filter change, and do not assume the widget can read the agent reply. Native renderers do not provide the Control UI conversation bridge.

Only pinned dashboard widgets have the ticket-bound data and action APIs:

  • openclaw.data.read(bindingId, params?) reads an advertised Gateway binding.
  • openclaw.action.run(actionId, params?) invokes an advertised action.
  • openclaw.cron.trigger(jobId) requires cron.trigger:<jobId>.
  • openclaw.state.emit(payload) emits a bounded session notice.

Use the current tool schema for binding/action IDs and their parameter shapes. Declare required grants in capabilities.tools. For browser API fetches, declare exact HTTPS origins in capabilities.netOrigins; the browser still requires CORS. Use host bindings for authenticated data; never embed tokens in HTML. Inline previews do not inherit dashboard grants. Check capabilityState and report pending or rejected access; saving a widget does not prove a data read. Updated content may require approval again.

Use normal dashboard links with target="_blank" rel="noopener noreferrer". window.open and nested external iframes do not work. For Control UI links, read openclaw.host.controlUiBaseUrl at click time; it is null before dashboard initialization and outside that host.

Verify and deliver

Fix reported inline-script syntax errors and call the tool again. Script errors thrown after an inline widget renders in the Control UI are reported back to this session. Agent browser tools normally run a separate profile without the viewer's Control UI session, so opening the chat there reaches sign-in, not the widget; do not use them to inspect inline widgets. When a browser or device tool can load the rendered surface itself, verify libraries and fonts loaded, important controls work, and content fits the intended width and theme. For live dashboards, exercise the data read in the actual pinned frame. Strict embed mode disables scripts. Report any concrete visual or platform verification gap; successful hosting alone proves neither rendering nor data access.

Follow result.presentation when present. A status: "pinned" result means the widget is on the session dashboard. Use the available dashboard tool to focus its tab in the current session. Do not navigate to widget hosting URLs in the Browser panel as a substitute for presentation.

Keep the final prose focused on the useful conclusion or remaining limitation, without repeating the entire visual. Do not promise PNG exports preserve externally loaded styles or fonts without checking the exported image.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

1password

免费

Set up and authenticate the 1Password CLI, then supply stored passwords and API keys to commands or configuration. The skill covers desktop integration, service accounts, and interactive sign-in while keeping secrets out of chat and logs.

中文简介正在准备中。当前显示英语简介。

  • Setting up the 1Password CLI
  • Supplying API keys to commands
  • Using service account authentication in CI
openclaw/openclaw39.2万2026年10月18日 更新

acp-router

免费有简介AI 评分 80分

将提交给OpenClaw的自然语言请求转交给Claude Code等外部编程智能体,通过ACP或acpx启动、继续会话,并保留对话上下文。

  • 在讨论串中启动Claude Code
  • 继续外部智能体的现有工作
  • 通过acpx直接传递指令
openclaw/openclaw39.2万2026年10月18日 更新

Add a model provider to OpenClaw and verify it with a real response. The skill validates configuration, keeps credentials in environment or file references, and reports test results and any default model changes.

中文简介正在准备中。当前显示英语简介。

  • Adding a model provider to OpenClaw
  • Configuring credentials through environment or file references
  • Checking whether a model returns a real response
openclaw/openclaw39.2万2026年10月18日 更新

Prepare an agent activity transcript for a GitHub pull request or issue. Extract relevant prompts, decisions, and results from local logs, remove sensitive material, and preview the edited record before separately authorized publication.

中文简介正在准备中。当前显示英语简介。

  • Preparing an agent activity record for a pull request
  • Extracting task-relevant prompts and results from local logs
  • Previewing a transcript with sensitive information removed
openclaw/openclaw39.2万2026年10月18日 更新

Manage Apple Notes on macOS through memo, a command-line tool. Create, browse, search, edit, delete, and move notes between folders, or export selected notes to HTML or Markdown for use outside the app.

中文简介正在准备中。当前显示英语简介。

  • Creating notes with titles
  • Finding notes by folder or approximate search
  • Editing notes and organizing them into folders
openclaw/openclaw39.2万2026年10月18日 更新

apple-reminders

免费有简介AI 评分 70分

通过Mac查看、添加和编辑Apple Reminders中带截止时间的待办事项,管理列表并完成或删除任务,整理在iPhone或iPad上查看的个人任务。

  • 查看今天和已逾期的任务
  • 添加带截止日期的个人待办事项
  • 整理iPhone或iPad上的任务
openclaw/openclaw39.2万2026年10月18日 更新

查看 openclaw 的全部技能

报告此技能的问题