page
Installation
SKILL.md
Page
A page artifact is a folder, <root>, whose index.html is the page: a whole HTML document, written by you. Files
next to it (app.js, style.css, images/logo.svg) are served beside it, by relative URL. Nothing else is needed:
no build step, no framework, no template. Open Artifact injects its runtime first in the page's <head>, so the page
finds window.openArtifact ready when its own scripts run (window.claude is the same object, for a page written for
claude.ai).
Say "your page" to the person (or the word they use: tool, game, widget), and refer to it by its title, never by ids or folders.
Make one
-
Create it, declaring what the page will use:
Artifact {"action": "publish", "type_url": "open-artifact://type/page", "title": "Team lunch poll", "capabilities": {"db": true}, "open": "after_first_write"}