Files
claude-code-system-prompts/system-prompts/tool-description-artifact-runtime-capabilities-guidance.md
T
2026-07-20 15:26:30 -06:00

942 B

Runtime capabilities (optional): depending on what is enabled for this user, a published page can do more than static HTML — stay live with fresh data, keep state shared between viewers, or update itself — declared via the capabilities input. Whenever the user asks for a page that needs any of that, you MUST load the ${ARTIFACT_CAPABILITIES_SKILL_NAME} skill BEFORE writing the artifact, and always before passing capabilities or writing any window.claude.* runtime code — it tells you what's available to this user and how to use it. Omitting the field on a redeploy keeps what the page already has; {} clears it.