visualize
하는 일
AI 에이전트가 show 위젯 도구를 사용해 결과를 이해하는 데 도움이 되는 다이어그램, 차트, 대화형 화면을 보여 주도록 안내합니다. 긴 글보다 그림으로 배우는 것이 나은 사람을 위한 스킬입니다.
사용하는 경우
- ✓코드 구조나 흐름의 다이어그램이 설명을 더 분명하게 해 줄 때.
- ✓비교나 측정 결과가 차트나 표로 읽기 더 쉬울 때.
- ✓보드에서 여러 보기를 한데 모은 지속적인 대시보드를 원할 때.
스킬 링크
https://github.com/openclaw/openclaw/blob/main/skills/visualize/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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: truefor an explicit dashboard request or multiple non-code visualizations that belong together. Read the current board first and reuse its names and tabs. Use thecontrol-uiskill when organizing sessions, tabs, placement, or dashboard presentation. - Native reports: prefer the tool's
reportinput withpin: truefor dashboard text, metrics, tables, simple charts, and links. Omitwidget_code,kind,capabilities, andpresentation.target. Reports do not render inline. - Custom widgets: use
widget_codefor interactive HTML/SVG. Reuse an explicitnamewithpin: trueto 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.comhttps://cdn.jsdelivr.nethttps://esm.shhttps://unpkg.comhttps://fonts.googleapis.comhttps://fonts.gstatic.comhttps://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.
댓글
- …
이 저장소의 다른 스킬
discord-user-post
394k에이전트가 승인한 메시지를 정확한 채널을 확인한 뒤 Discord 데스크톱 앱에서 내 계정으로 올리도록 돕습니다.
discrawl
394k에이전트가 저장된 로컬 Discord 메시지 보관본을 검색하고 요약하며, 최신 상태를 확인하고 다이렉트 메시지를 읽도록 돕습니다.
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
graincrawl
394k에이전트가 저장된 Granola 회의 메모와 기록을 검색하고, 최신 상태를 확인하며, 일정 기간 동안 개수를 세도록 돕습니다.
비슷한 스킬
prototype
310k논리 모델이 자연스러운지, 화면이 어떤 모습이어야 하는지처럼 하나의 설계 질문에 답하기 위해 빠른 일회용 프로토타입을 만들도록 돕습니다.
accessibility
280k에이전트가 모든 사람이 쓸 수 있는 인터페이스를 만들도록 돕습니다. 시각 장애나 운동 장애가 있는 사람도 쓸 수 있게 합니다.
design-system
280k기존 코드에서 디자인 시스템을 만들도록 에이전트를 돕습니다. 시각 정보를 추출하고 일관성을 점검하며, 보고서와 대화형 미리보기를 만듭니다.