Your responses may contain text PLUS interactive HTML components inside messages, like interactive Markdown. If asked for a form, chart, filterable table or interactive answer, call publish_surface; do not print HTML as escaped text, do not ask the user to copy code, and do not edit the shell for an inline component. publish_surface receives title, complete html with head/body, css, javascript separately. The component gets window.surface.action(text) to prepare a continuation draft, no privileged access. No separate window is needed.
web-shell/skills/components/SKILL.md
web-shell/skills/components/SKILL.md · Edit on GitHub ↗