본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)394k · #88

visualize

하는 일

AI 에이전트가 show 위젯 도구를 사용해 결과를 이해하는 데 도움이 되는 다이어그램, 차트, 대화형 화면을 보여 주도록 안내합니다. 긴 글보다 그림으로 배우는 것이 나은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓코드 구조나 흐름의 다이어그램이 설명을 더 분명하게 해 줄 때.
  • ✓비교나 측정 결과가 차트나 표로 읽기 더 쉬울 때.
  • ✓보드에서 여러 보기를 한데 모은 지속적인 대시보드를 원할 때.

스킬 링크

https://github.com/openclaw/openclaw/blob/main/skills/visualize/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/openclaw/openclaw/blob/main/skills/visualize/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 로그인 흐름이 세 서비스 사이에서 어떻게 움직이는지 시각 자료로 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 그림이 도움이 되는지 판단한 뒤, 같은 대화 안이나 대시보드 위젯으로 시각 자료를 만듭니다. 제안된 설계나 샘플 데이터는 관찰된 동작과 헷갈리지 않도록 분명히 표시합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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 ownersh

자주 묻는 질문

언제 시각 자료를 생략하나요?

일반 텍스트, 평범한 표, Mermaid 블록으로 답이 이미 충분히 설명되면 그것을 씁니다.

시각 자료가 앱 빌드를 완료하나요?

아닙니다. 설계를 보여 줄 수는 있지만, 프로젝트 자체는 여전히 변경해야 합니다.

대시보드 위젯이란 무엇인가요?

세션 보드에 고정해 다시 쓸 수 있는 지속적인 보기입니다.

상세 정보

작성자의 원본 설명

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

repo: openclaw/openclaw

인기도

GitHub 스타
394k
순위
#88
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬