live-artifact
यह क्या करती है
यह टूल ऐसे डेटा विज़ुअलाइज़ेशन बनाता है जिन्हें रिफ्रेश किया जा सकता है। इसे डैशबोर्ड या रिपोर्ट समझो, जो ज़रूरी जानकारी दिखाती है और बिना शुरू से दोबारा बनाए नए डेटा से अपडेट हो सकती है।
कब इस्तेमाल करें
- ✓जब आपको बदलते डेटा वाला लाइव डैशबोर्ड चाहिए।
- ✓ऐसी रिपोर्ट बनाने के लिए जिन्हें नई जानकारी से अपडेट किया जा सके।
- ✓जब आपको दोबारा इस्तेमाल होने वाला और भरोसेमंद डेटा विज़ुअलाइज़ेशन चाहिए।
Skill का लिंक
https://github.com/nexu-io/open-design/blob/main/design-templates/live-artifact/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“पिछले महीने के सेल्स डेटा के साथ रिफ्रेश होने वाला डैशबोर्ड बनाओ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
टूल एक HTML टेम्पलेट और अलग से रखे डेटा का इस्तेमाल करता है। जब डेटा बदलता है, तो विज़ुअलाइज़ेशन अपने-आप अपडेट हो जाता है और डिज़ाइन वैसा ही रहता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Live Artifact Skill
Create an OpenDesign live artifact: a project-scoped, previewable HTML artifact whose data can later be refreshed without redesigning the presentation.
Resource map
live-artifact/
├── SKILL.md
└── references/
├── artifact-schema.md ← `references/artifact-schema.md`: artifact files, DTO shape, template binding rules
├── connector-policy.md ← `references/connector-policy.md`: connector safety, redaction, credential boundaries
└── refresh-contract.md ← `references/refresh-contract.md`: source metadata, refresh execution, snapshots
Current status
Use the references in this directory as the source of truth for the live artifact file contract. Prefer daemon wrapper commands over raw HTTP when registering or updating live artifacts.
When to use this skill
Use this skill when the user asks for a data-backed view that should remain useful after the first render, for example a live dashboard, refreshable report, synced status page, auditable data view, or artifact that can later be refreshed from local/project data or connectors.
Before creating files, decide whether the user actually wants a live artifact or a normal static artifact:
- Use a live artifact when the user mentions refresh, sync, recurring updates, connector-backed data, source/provenance tracking, dashboards, reports, or reusable data-backed views.
- Use a normal static artifact when the user only wants a one-off HTML/mockup/image/file and does not need refresh, source metadata, or data/provenance panels.
- If the intent is ambiguous, ask one short question: “Should this be refreshable/live, or just a static artifact?”
Workflow
Resolve scope and data source without blocking on connected connectors
- Identify the preview goal, audience, data freshness expectations, and whether refresh should be possible later.
- If the user explicitly names a connector/source such as Notion, GitHub, Slack, or Google Drive, do not ask “where should the data come from?” before checking daemon connector tools.
- Prefer local/project sources or daemon connector tools when available.
- Do not call provider APIs directly when a daemon connector/wrapper exists.
- If connector data is needed, first list connectors with
"$OD_NODE_BIN" "$OD_BIN" tools connectors list --format compact. If the named connector is present withstatus: "connected", choose an appropriate read-onlyautotool from its catalog and execute it through the connector wrapper. - For Notion specifically, a connected
notionconnector plus a user brief that names Notion is enough to start withnotion.notion_searchusing a query derived from the requested artifact/topic. Usenotion.notion_fetch_databaseonly when the user supplied a database id or the search result clearly identifies one. - Ask the user a data-source question only when no matching connected connector exists, multiple connected candidates fit equally well, or the requested artifact has no usable topic/query to search for. If you must ask, be specific: ask for the page/database/topic or permission to search broadly, not “where is the Notion data source?”
Author the source files
- Write
template.htmlas the human-designed HTML template. The daemon hydrates it withdata.jsonusing thehtml_template_v1binding contract — stay inside it or hydration fails and the raw template ships with visible{{…}}tokens:- Scalars:
{{data.path.to.value}}. Paths start withdata, dot-separated; numeric array indexes are allowed ({{data.kpis.0.value}}). Every binding must resolve to a single string/number, not an object or array. - Lists: repeat one element with
data-od-repeat="item in data.items", then bind loop-scoped fields inside it as{{item.label}}(or{{item}}for a scalar array). One level only;data.*still works inside the repeat for globals. - Do NOT hand-loop in a
<script>(scripts are stripped from previews), and do NOT reference a bare loop variable like{{metric.value}}without a matchingdata-od-repeatscope — that binding is unresolvable. Nested repeats, conditionals, filters, helpers, and raw/triple-brace interpolation are unsupported.
- Scalars:
- Write
data.jsonas the canonical preview data used by those bindings — real values, not placeholders. - Write
artifact.jsonwith the live artifact metadata, preview declaration, document declaration, and safe source descriptors.
- Write
…
अक्सर पूछे जाने वाले सवाल
'live artifact' क्या है?
यह एक डेटा विज़ुअलाइज़ेशन (जैसे रिपोर्ट या डैशबोर्ड) है, जिसे नई जानकारी से अपडेट किया जा सकता है, बिना आपको उसे पूरी तरह दोबारा बनाए। यह एक टेम्पलेट और डेटा पर आधारित होता है, जिसे बदला जा सकता है।
डेटा कैसे रिफ्रेश होता है?
टूल जुड़े हुए स्रोतों (जैसे Notion या GitHub) या लोकल फ़ाइलों से डेटा ला सकता है। जब स्रोत पर डेटा बदलता है, तो विज़ुअलाइज़ेशन को रिफ्रेश करके नया डेटा दिखाया जा सकता है।
क्या मैं इसे किसी भी तरह के डेटा के लिए इस्तेमाल कर सकता हूँ?
हाँ, बशर्ते डेटा को विज़ुअल फॉर्मेट में दिखाया जा सके। यह डैशबोर्ड, रिपोर्ट और ऐसी किसी भी चीज़ के लिए अच्छा है जिसे ताज़ा और भरोसेमंद डेटा चाहिए।
जानकारी
लेखक का मूल विवरण
Create refreshable, auditable OpenDesign artifacts backed by connector or local data. Trigger when the user asks for live dashboards, refreshable reports, synced views, or reusable data-backed artifacts.
repo: nexu-io/open-design
लोकप्रियता
- GitHub स्टार
- 101k
- रैंकिंग में स्थान
- #938
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
sample-plugin
101kआपके एजेंट से टेस्ट के लिए metadata file बनवाता है। इससे पक्का होता है कि कोड अलग-अलग स्थितियों में सही चलता है।
aster-atelier
101kआपके एजेंट से क्लासिक लुक वाली एक कलात्मक website बनवाता है। इसमें खूबसूरत इमेज, नीला आसमान और serif fonts इस्तेमाल होते हैं, जिससे सिनेमाई एहसास मिलता है।
audio-jingle
101kआपके एजेंट से जिंगल्स और sound effects जैसा audio बनवाता है। यह music और voice बना सकता है और नतीजा audio file में सेव करता है।
blog-post
101kआपका एजेंट लंबे articles या blog posts लिखने में मदद करता है। इसमें images, quotes और author की जानकारी के लिए जगह भी होती है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।