All types / page
Page
A free HTML page with the runtime capabilities it declares: a shared database, uploads, who is viewing, live messages, comments.
One complete HTML document the agent writes itself, kept as index.html in the artifact's folder. For small interactive things no other type fits: a widget, a calculator, a mini game, an explainer page, a poll or a sign-up sheet that remembers what people do on it.
What you get
Your own page, whole
No template, framework or build step. The page's <title> is the artifact's title.
Declared capabilities
window.openArtifact.use("db") for a shared database, uploads, files to save, the viewer, live messages and comments.
claude.ai compatible
window.claude is the same object, so pages written for claude.ai run as they are.
Live
Every open view reloads when index.html changes; database writes show in every view at once.
On a site too
Publish to a self-hosted Node or Cloudflare site; data, comments and uploads sync both ways.
It’s just a folder
The artifact is a plain directory you can read, back up, diff and keep in Git.
lunch-poll/
├── index.html # the page, written whole
├── db/ # its shared database, one JSON per document
├── .artifact.json # declared capabilities
├── _blobs/
└── comments.json
Exports
No file exports
No file export: it publishes to a Node or Cloudflare site.
Ask your agent
/open-artifact page a unit converter for cooking measures
/open-artifact page a team lunch poll that remembers everyone's vote