跳到正文
cccskills
免费在 GitHub 公开中文介绍

live-artifact

基于本地资料或已连接服务的数据制作 HTML 仪表板和报告,后续可替换数据而无需重做页面,并记录来源、获取时间及加工过程,便于追溯数值依据。

原文查看原文说明

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.

集成工具Notion
AI 评分90分/ 100查看安装方法

适用场景

  • 制作可更新数据的仪表板
  • 制作可核查来源的报告
  • 制作已连接服务的状态页面
  • 在同一页面查看最新数据

中文介绍

功能

live-artifact 根据本地资料或已连接服务的数据,制作可更新的 HTML 仪表板和报告。它将展示模板与数据分开,后续可以替换数据,无需重新制作页面。同时记录来源、获取时间和加工过程,让读者能够核查所显示数值的依据。

适用场景

适合需要定期查看的进度页面,以及需要追溯来源的报告。它不会直接放入大量获取结果的全文,而是只整理展示所需的数值,因此也可用于汇总项目状态。

使用示例

  • “根据本地项目数据,制作一个之后可以更新的进度仪表板。”
  • “搜索已连接的 Notion,整理成能够查看来源和获取时间的报告。”

注意事项

需要 OpenDesign 守护进程环境,以及执行命令和写入文件的权限。使用外部数据时,还需要连接相应服务的连接器。不保存认证凭据或获取结果的全文,只记录必要的值。用于预览的 index.html 由守护进程生成。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

客观评估

AI 仅根据 SKILL.md 的内容,从 4 个方面进行了评估。星标数和热度不计入评估。

指令清晰度能否看出何时使用、做什么
A良好明确可更新仪表板等用途,并说明与静态成果的选择区别。
步骤具体性步骤、输入输出和示例是否具体
A良好具体规定四个源文件、数据绑定语法和守护进程注册命令。
安全性发送数据、删除文件、执行命令等是否有说明
A良好要求使用只读连接器工具,并禁止保存凭据或服务返回结果的全文。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足依赖守护进程、环境变量及已连接的连接器,但未提供环境安装步骤。

总分按每项 A=25 分、B=15 分、C=5 分相加。 由 AI(OpenAI Codex)于 2026年10月20日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(17)

  • SKILL.md8.7 KB
  • assets/templates/clinic-console/data.json7.3 KB
  • assets/templates/clinic-console/README.md15.4 KB
  • assets/templates/clinic-console/template.html43.2 KB
  • examples/baby-health-live.html31.6 KB
  • examples/competitor-radar-live.html48.1 KB
  • examples/crm-table-live.html53.1 KB
  • examples/crypto-dashboard.html118.7 KB
  • examples/monday-operator-live.html37.8 KB
  • examples/stock-dashboard.html114.5 KB
  • examples/stock-portfolio-live/artifact.json352 B
  • examples/stock-portfolio-live/data.json13.7 KB
  • examples/stock-portfolio-live/provenance.json1.4 KB
  • examples/stock-portfolio-live/template.html50.8 KB
  • references/artifact-schema.md3.3 KB
  • references/connector-policy.md7.0 KB
  • references/refresh-contract.md3.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

  1. 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 with status: "connected", choose an appropriate read-only auto tool from its catalog and execute it through the connector wrapper.
    • For Notion specifically, a connected notion connector plus a user brief that names Notion is enough to start with notion.notion_search using a query derived from the requested artifact/topic. Use notion.notion_fetch_database only 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?”
  2. Author the source files

    • Write template.html as the human-designed HTML template. The daemon hydrates it with data.json using the html_template_v1 binding contract — stay inside it or hydration fails and the raw template ships with visible {{…}} tokens:
      • Scalars: {{data.path.to.value}}. Paths start with data, 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 matching data-od-repeat scope — that binding is unresolvable. Nested repeats, conditionals, filters, helpers, and raw/triple-brace interpolation are unsupported.
    • Write data.json as the canonical preview data used by those bindings — real values, not placeholders.
    • Write artifact.json with the live artifact metadata, preview declaration, document declaration, and safe source descriptors.
    • Write provenance.json with concise source notes, timestamps, non-sensitive connector references, and transformation notes.
    • Do not author index.html as source. The daemon derives index.html from template.html and data.json.
  3. Keep data compact and preview-oriented

    • Store only normalized values needed by the preview.
    • Summarize large lists, provider responses, or logs before writing them into data.json.
    • Stay within the bounded JSON rules in references/artifact-schema.md.
  4. Apply safety rules before registration

    • Never store credentials, OAuth tokens, API keys, cookies, auth headers, raw provider responses, HTTP envelopes, full payloads, or secret-like fields in artifact.json, data.json, provenance.json, or source metadata.
    • Avoid forbidden key names such as raw, rawResponse, payload, body, headers, cookie, authorization, token, secret, credential, and password anywhere in persisted JSON.
    • Use escaped html_template_v1 interpolation only. Raw/unescaped HTML interpolation is not allowed.
  5. Register or update through daemon wrappers

    • Use the OpenDesign daemon wrapper commands via "$OD_NODE_BIN" "$OD_BIN" instead of raw curl, bare node, or bare od:

      "$OD_NODE_BIN" "$OD_BIN" tools live-artifacts create --input artifact.json
      "$OD_NODE_BIN" "$OD_BIN" tools live-artifacts list --format compact
      "$OD_NODE_BIN" "$OD_BIN" tools live-artifacts update --artifact-id "$ARTIFACT_ID" --input artifact.json
      
    • The wrapper reads injected OD_NODE_BIN, OD_BIN, OD_DAEMON_URL, and OD_TOOL_TOKEN; do not print, persist, or override token values.

    • Do not include or invent projectId; the daemon derives project/run scope from the token.

    • Use raw HTTP only for daemon development/debugging when explicitly requested.

  6. Use connector wrappers for connector data

    • Discover available connectors and tools:

      "$OD_NODE_BIN" "$OD_BIN" tools connectors list --format compact
      
    • Execute a read-only connector tool with a JSON object input file:

      "$OD_NODE_BIN" "$OD_BIN" tools connectors execute --connector "$CONNECTOR_ID" --tool "$TOOL_NAME" --input input.json
      
    • Persist only the compact normalized fields needed by the preview plus non-sensitive connector references (connectorId, toolName, accountLabel). Never persist connector credentials, transport metadata, or raw provider output.

    • Do not ask for connector secrets or duplicate setup. If status is connected, use the listed tools; if it is not connected, tell the user to connect it in the UI.

    • See references/connector-policy.md for listing/execution and credential boundaries, and references/refresh-contract.md for read-only refresh source metadata.

  7. Report concise results

    • On success, return the artifact ID/title and note that index.html is daemon-derived.
    • On validation failure, fix the source files and retry through the wrapper. Do not bypass validation.

Required files

Every live artifact creation flow must produce these source files before registration:

  • template.html — declared skill output and source template for the preview.
  • data.json — compact, canonical preview data.
  • artifact.json — create/update input for daemon validation.
  • provenance.json — safe source and transformation summary.

index.html is the primary preview entry declared in frontmatter, but it is derived daemon output rather than agent-authored source.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

8-bit-orbit-video-template

免费有简介AI 评分 90分

使用Hyperframes的HTML模板制作复古像素风格的三场景视频,替换标题、标签和配色,同时保留场景转换节奏及可重复的动画时序。

  • 制作像素风格的介绍视频
  • 替换三场景视频中的内容
  • 通过HTML预览场景转换
nexu-io/open-design10.3万2026年10月22日 更新

ad-creative

免费有简介AI 评分 80分

为社交媒体广告和搜索广告撰写标题、说明及正文,并反复调整措辞。可用于准备广告文案备选版本,以及检查现有文案并考虑修改方案。

  • 撰写社交媒体广告标题
  • 准备搜索广告说明
  • 修改广告正文措辞
nexu-io/open-design10.3万2026年10月22日 更新

after-hours-editorial-template

免费有简介AI 评分 80分

以深色背景和衬线字体制作时尚杂志风格的三页动态展示,结合文字逐步显现与章节转场,最终生成内嵌CSS和JavaScript的单个HTML文件。

  • 制作时尚杂志风格的动态介绍
  • 用三页展示简短故事
  • 将现有品牌风格融入深色版面
nexu-io/open-design10.3万2026年10月22日 更新

agent-browser

免费有简介AI 评分 100分

通过浏览器查看页面,执行点击、输入、截图和信息提取。主要用于检查OpenDesign的本地预览,以及核查网页应用的运行情况与质量。

  • 检查OpenDesign本地预览
  • 测试网页应用的点击和输入
  • 截取页面或元素图像
nexu-io/open-design10.3万2026年10月22日 更新

ai-music-album

免费有简介AI 评分 80分

用于AI音乐专辑制作,涵盖概念构思、歌词初稿、曲目排序和导出,适合独立专辑实验或品牌音乐企划;完整制作流程需另行安装上游资源包。

  • 策划独立制作的专辑
  • 围绕专辑主题起草歌词
  • 安排专辑曲目顺序
nexu-io/open-design10.3万2026年10月22日 更新

algorithmic-art

免费有简介AI 评分 80分

使用p5.js,根据计算规则与随机数创作生成艺术。固定随机种子即可重现相同画面,适合制作海报、表现动感的静态图像和艺术构图草案。

  • 根据规则制作海报
  • 创作具有动感的静态图像
  • 试验艺术作品的构图
nexu-io/open-design10.3万2026年10月22日 更新

查看 nexu-io 的全部技能

报告此技能的问题