Prototype
/install prototype
Prototype
Create interactive HTML prototypes with components, animations, and navigation.
Commands
create
Create a new interactive prototype HTML page with specified sections and style.
bash scripts/script.sh create --name "app-proto" --sections "nav,hero,features,footer" --theme light --output proto/
component
Generate a standalone UI component (button, modal, card, form, navbar, etc).
bash scripts/script.sh component --type modal --title "Confirm" --body "Are you sure?" --actions "cancel,confirm" --output components/
animate
Add CSS animation to an element in an existing prototype HTML file.
bash scripts/script.sh animate --input proto/index.html --selector ".hero" --animation fadeIn --duration 0.5s --output proto/index.html
link
Add click-based page navigation between prototype pages.
bash scripts/script.sh link --from proto/index.html --selector ".nav-about" --to proto/about.html
preview
Generate a preview summary of a prototype: page list, component count, linked routes.
bash scripts/script.sh preview --input proto/
export
Bundle a multi-page prototype into a single self-contained HTML file with all assets inlined.
bash scripts/script.sh export --input proto/ --output prototype-bundle.html
Output
create: HTML file(s) in the output directory with inline CSS and JScomponent: HTML snippet file for the specified componentanimate: Updated HTML file with injected CSS keyframes and classlink: Updated HTML file with onclick navigation wiredpreview: Summary printed to stdout (pages, components, links)export: Single HTML file with all pages, styles, and scripts inlined
Requirements
- bash 4+
Feedback
https://bytesagain.com/feedback/
Powered by BytesAgain | bytesagain.com
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install prototype - 安装完成后,直接呼叫该 Skill 的名称或使用
/prototype触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Prototype 是什么?
Build interactive HTML prototypes. Use when creating clickable mockups, adding animations, linking pages, or exporting HTML. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 436 次。
如何安装 Prototype?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install prototype」即可一键安装,无需额外配置。
Prototype 是免费的吗?
是的,Prototype 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Prototype 支持哪些平台?
Prototype 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Prototype?
由 BytesAgain2(@ckchzh)开发并维护,当前版本 v3.4.1。