HTML can allow you to interact with the document, for example you might want to ask it to add sliders or knobs to adjust a design or allow you to tweak different options in the algorithm to see what happens. You can also ask it to let you copy these changes into a prompt to paste back into Claude Code.
作者指出HTML的一大优势是支持文档交互,可以添加滑块、旋钮等控件来调整设计或算法参数,实现与Agent的双向互动。