用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/nexus-research-lab/nexus --skill visualize命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
在当前 Nexus round 中创建、读取、明确纠正、审计、完成或阻塞 durable Goal。只处理用户或系统明确的跨轮目标生命周期;普通任务、提醒和执行图责任分别使用直接执行、Automation 或 Execution。
Explain current Nexus product features, entry locations, ordinary usage, visible results, and current limits. Use when a user asks what Nexus can do, where a feature is, how to use it, which feature to choose, or says they do not know how to start. Covers conversations, Agents, Rooms, Goals, work graphs, proactive follow-up, scheduled tasks, Browser, Skills, Connectors, external messaging, settings, and account management.
Eight-to-ten-player Avalon rules for a permanent Agent host, with the user choosing to join the randomized player pool or spectate.
| name | visualize |
| title | Interactive Visualization |
| description | 在 Nexus 对话中生成交互式图表、流程图、模拟器、可探索讲解、数据看板、视觉对比、SVG/Canvas 艺术和 UI 原型。仅在可视化比正文或表格更清楚时使用;不用于需要持久保存或下载的 HTML、图解文件。 |
| scope | any |
| tags | ["visualization","interactive","chart","diagram","widget"] |
Create a custom interactive visual only when it communicates the answer better than ordinary prose or a table.
show_widget with a concise title and one self-contained HTML fragment in widget_code.html, head, or body tags.show_widget, check every inline script for unmatched quotes, backticks, brackets, and incomplete blocks. Prefer short functions over one monolithic script.show_widget, verify that every id, class, or data attribute referenced by JavaScript exists in the submitted markup and is spelled identically.show_widget calls with short prose between them, but keep one cohesive widget when its views share state.postMessage bridge.widget_code contains the visual and its local controls, not duplicate prose.--nexus-background--nexus-surface--nexus-surface-hover--nexus-text--nexus-muted--nexus-border--nexus-accent--nexus-accent-contrast--nexus-chart-1 through --nexus-chart-5--nexus-font-sans--nexus-font-mono--nexus-radius-md--nexus-radius-lgUse these variables for CSS and SVG. Canvas APIs cannot resolve CSS var(...) strings; read their computed values first.
button, input, select, and range controls with explicit labels. Every visible control must change the visual immediately and support keyboard input..addEventListener directly on getElementById(...) or querySelector(...): fail with a clear Missing widget element: <selector> error for required elements, and use optional chaining only for genuinely optional controls.addEventListener. Do not wait for DOMContentLoaded; final widget scripts already run after the submitted markup is inserted. Do not mix inline handlers, duplicated listeners, and global mutable callbacks.textContent, attributes, classes, SVG paths, or chart data over replacing a large subtree with innerHTML.prefers-reduced-motion.position:relative container with an explicit height. Do not set CSS height on canvas. Use responsive:true and maintainAspectRatio:false.--nexus-chart-1 through --nexus-chart-5 with getComputedStyle(document.documentElement).getPropertyValue(name).trim().canvas.width or canvas.height clears the bitmap and resets the context. Set the backing size only during initialization or a real resize, never inside draw or coordinate helpers.onload plus an immediate fallback cannot create it twice.onload to call a named init function, and also call it when the global already exists.chart.update(). Disable library legends when a compact HTML legend communicates values more clearly.width="100%" and a complete viewBox. Put defs and arrow markers before visible nodes so streaming connectors are valid.viewBox from the lowest element plus padding. Keep labels inside bounds and account for text-anchor direction.When diagram-design is installed, use it for a persistent, downloadable single-file HTML diagram rather than an inline conversational widget.
--nexus-border boundaries, --nexus-surface for restrained grouping, and 8px or 12px radii. Avoid gradients, glass, glow, and heavy shadows.devicePixelRatio once, and keep coordinate conversion separate from drawing.fillStyle, strokeStyle, shadows, or gradients.requestAnimationFrame, cap particle or object counts, and pause or simplify when prefers-reduced-motion is enabled.