Live artifact

From wolfenazz/YzPzCode · View interactive version

Live artifact is an AI agent skill from the GitHub repository wolfenazz/YzPzCode. Create refreshable, auditable Open Design artifacts backed by connector or local data. Trigger when the user asks for live dashboards, refreshable reports, synced views, or reusable data-backed artifacts.

How to use this skill

Skill file

Live Artifact Skill

Create an Open Design 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:

Workflow

  1. Resolve scope and data source without blocking on connected connectors
  1. Author the source files
  1. Keep data compact and preview-oriented
  1. Apply safety rules before registration
  1. Register or update through daemon wrappers

```bash

"$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

```

  1. Use connector wrappers for connector data

```bash

"$OD_NODE_BIN" "$OD_BIN" tools connectors list --format compact

```

```bash

"$OD_NODE_BIN" "$OD_BIN" tools connectors execute --connector "$CONNECTOR_ID" --tool "$TOOL_NAME" --input input.json

```

  1. Report concise results

Required files

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

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.