live-artifact
Что он делает
Этот инструмент создает визуализации данных, которые можно обновлять. Представьте себе дашборд или отчет, который показывает важную информацию и может обновляться новыми данными без полной пересборки с нуля.
Когда использовать
- ✓Когда нужен живой дашборд с меняющимися данными.
- ✓Чтобы создавать отчеты, которые можно обновлять новой информацией.
- ✓Когда нужна повторно используемая и надежная визуализация данных.
Ссылка на скилл
https://github.com/nexu-io/open-design/blob/main/design-templates/live-artifact/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Создай дашборд с возможностью обновления на основе данных о продажах за прошлый месяц.”
5 новых скиллов в неделю. 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
Комментарии
- …
Другие скиллы из этого репозитория
sample-plugin
101kАгент создаёт файл метаданных для тестов, чтобы код правильно работал в разных ситуациях.
aster-atelier
101kПомогает агенту создать художественный сайт в классическом стиле: изысканные образы, голубое небо и шрифты с засечками.
audio-jingle
101kАгент генерирует звук, например джинглы и звуковые эффекты, создаёт музыку и голоса и сохраняет результат в аудиофайл.
blog-post
101kПомогает агенту писать длинные статьи и посты для блога с местом для изображений, цитат и информации об авторе.
Похожие скиллы
gitcrawl
394kПозволяет агенту искать в сохраненном архиве задач и запросов на слияние GitHub, объединять дубликаты и проверять их текущий статус на GitHub.
slacrawl
394kПозволяет агенту искать и считать сообщения в локальном архиве Slack, проверять его свежесть и при необходимости обновлять архив.
goplaces
394kПомогает агенту искать места, получать их подробности и отзывы и определять названия мест через Google Places, с выводом в JSON для скриптов.