Slide decks, design canvases, whiteboards, spreadsheets, data dashboards, docs, animated films and design systems as folders of files that open in one local page where you view, edit
and comment. Type /open-artifacts slides a 6-slide pitch for this repo (or design …, whiteboard …, sheets …, data …, docs …, motion …, page …).
With Node.js 22.18+ and Git installed, clone the prebuilt plugin repository to a permanent location. Nothing is downloaded by hand:
git clone --depth 1 https://github.com/openartifactsai/open-artifacts-zcode ~/open-artifacts-zcodeIn ZCode, open Plugin Marketplace and add that folder as a plugin marketplace, then install Open Artifacts from
the listing. Without Git, download open-artifacts-plugins.zip from GitHub Releases,
extract it to a permanent location and add its zcode/ folder the same way. From a source checkout, point the
marketplace at the built dist/plugins/zcode folder.
The first time it is needed, ZCode asks once to authorize the extension's sessions.write grant. One dialog. Declining it keeps
everything else working: page messages then ride the session hooks, and the agent's own background wait still brings them in.
git -C ~/open-artifacts-zcode pullFor a folder from the ZIP, replace it at the same path with the one from the new release (or rebuild
dist/plugins/zcode). Then open the plugin store, check for updates in the top bar, and update when a newer version
shows.
Up to 0.22 the plugin was named open-artifact. It keeps working until you switch: its runtime keeps updating
itself, to the newest @openartifactsai/cli (see Switching from the open-artifact plugin).
To switch, uninstall Open Artifact in the plugin store and remove the marketplace that points at the old zcode/
folder, then follow Install.
New artifacts go in the folder ZCode works in: artifacts/<slug>. In a Git checkout the daemon adds
artifacts/.gitignore when it makes that folder, so they stay out of git status (delete the file to track them).
To keep them under your own Open Artifacts folder instead (~/OpenArtifacts/<project>/<slug>), run
open-artifacts config set artifactsLocation home in your terminal. Whether ZCode lets its agent write outside the
working folder was not measured; when it does not, the agent sends the files through the daemon. See
Settings.
| Part | File | Does |
|---|---|---|
MCP server open-artifacts |
.mcp.json |
the Artifact, ArtifactData and ArtifactComments tools, through the local daemon |
Skill /open-artifacts |
skills/open-artifacts/ |
how to pick the type, create, fill, check and show an artifact; carries the daemon |
| Hooks | hooks/hooks.json |
SessionStart, UserPromptSubmit and Stop: comments sent from the page reach ZCode at session start, with your next message, or keep its turn going when they arrive while it works |
| Extension | extension/index.mjs |
keeps ZCode sessions visible to the daemon, and starts a turn the moment a page message is sent to an idle session |
Press "Send to agent" (or "Ask ZCode") on the page. The comments reach the session that made the artifact: as it starts, with your next
message, right after a running turn (the Stop hook continues it), and, while the session idles, the moment they are sent through the
extension. With the grant declined, an agent that keeps the skill's background wait command running still receives everything.