visualize
यह क्या करती है
यह AI एजेंट को show widget टूल से डायग्राम, चार्ट या इंटरैक्टिव व्यू दिखाने के लिए निर्देश देती है, जब वे किसी नतीजे को समझने में मदद करें। यह उन लोगों के लिए है जो लंबे टेक्स्ट के बजाय तस्वीरों से बेहतर सीखते हैं।
कब इस्तेमाल करें
- ✓जब कोड की संरचना या फ़्लो का डायग्राम किसी व्याख्या को साफ़ कर सके।
- ✓जब कोई तुलना या मापा हुआ नतीजा चार्ट या टेबल में पढ़ना आसान हो।
- ✓जब आप चाहते हों कि आपके बोर्ड पर कई दृश्य एक साथ दिखाने वाला स्थायी डैशबोर्ड हो।
Skill का लिंक
https://github.com/openclaw/openclaw/blob/main/skills/visualize/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“दिखाइए कि लॉगिन फ़्लो इन तीन सेवाओं के बीच कैसे चलता है, उसका एक विज़ुअल बनाइए।”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
discord-user-post
394kयह आपके एजेंट को, आपकी मंज़ूरी के बाद, चैनल की पुष्टि करके आपके नाम से Discord डेस्कटॉप ऐप के ज़रिए संदेश भेजने देती है।
discrawl
394kयह आपके एजेंट को Discord संदेशों के सेव किए गए स्थानीय आर्काइव में खोजने, उसका सारांश बनाने और उसकी ताज़गी जांचने में मदद करती है।
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
graincrawl
394kयह आपके एजेंट को सेव की गई Granola मीटिंग नोट्स और ट्रांसक्रिप्ट में खोजने, उनकी ताज़गी जांचने और किसी अवधि के हिसाब से गिनती करने देती है।
मिलती-जुलती skills
prototype
310kएक सवाल का जवाब देने के लिए एक छोटा, फेंक दिए जाने वाला प्रोटोटाइप बनाती है, जैसे यह कि कोई लॉजिक मॉडल ठीक लगता है या नहीं, या कोई स्क्रीन कैसी दिखनी चाहिए।
accessibility
280kयह आपके एजेंट को ऐसे इंटरफ़ेस बनाने में मदद करता है जिन्हें हर कोई इस्तेमाल कर सके। यह पक्का करता है कि वेबसाइट और ऐप दिव्यांग लोगों के लिए भी अच्छे से काम करें, जैसे नेत्रहीन या जिन्हें चलने-फिरने में दिक्कत होती है।
design-system
280kआपके एजेंट को मौजूदा कोड से design system बनाने में मदद करता है। यह visual जानकारी निकालता है और consistency जाँचता है, और एक report व interactive preview बनाता है।