The html skill owns creating and revising durable, standalone HTML artifacts: a complete self-contained index.html saved in a requested or generated artifact directory, with inline dependencies, accessible structure, loopback serving, and exact-file verification. It triggers when a user asks to create, build, turn content or data into, save, revise, or update a “durable HTML artifact,” “one-file dashboard,” “single-page local artifact,” or named HTML artifact, or explicitly says “use /html” or “activate the HTML skill.” It does not trigger for integrating HTML into React or Next.js routing, reviewing or explaining HTML or accessibility, browser-based QA of an existing page, converting Figma designs into reusable components, or merely serving an existing dist directory.
AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Html 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。
Resolve ARTIFACT_DIR inside the provided HTML state root, or expanded ~/.html otherwise: revise a named artifact in place, or create a three-random-word lowercase slug for new work.
Write only ARTIFACT_DIR/index.html as a complete self-contained, source-faithful, responsive interface with semantic structure and accessible controls unless the user names another entry file.
Start a long-lived static server for ARTIFACT_DIR on 127.0.0.1 using a free non-common port.
Verify the exact http://127.0.0.1:<PORT>/index.html with files inside the task run, retrying from step 3 on another port if binding or fetching fails, and keep the verified server alive through handoff.
Reply with exactly HTML file: <absolute entry-file path> then HTML: [Open locally](<verified /index.html URL>); if serving cannot be verified, omit the link and give the path plus one concise reason.
Details
Run python3 -m http.server "$PORT" --bind 127.0.0.1 --directory "$ARTIFACT_DIR" as the foreground command of a long-running tool session; do not background or detach it from a shell that will exit.
常见问题
Html AI 技能有什么作用?
The html skill owns creating and revising durable, standalone HTML artifacts: a complete self-contained index.html saved in a requested or generated artifact directory, with inline dependencies, accessible structure, loopback serving, and exact-file verification. It triggers when a user asks to create, build, turn content or data into, save, revise, or update a “durable HTML artifact,” “one-file dashboard,” “single-page local artifact,” or named HTML artifact, or explicitly says “use /html” or “activate the HTML skill.” It does not trigger for integrating HTML into React or Next.js routing,...
为什么在 TypingMind 中使用 Html?
因为您只需安装一次,就能搭配任何模型使用。Html 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。