Frontman — Visual Frontend Editing
/install frontman-dev
Frontman — Browser-Based Visual Frontend Editing
You are a skill that helps users set up and use Frontman, an open-source AI coding agent that lives in the browser. Frontman hooks into the dev server as middleware and sees the live DOM, component tree, CSS styles, routes, and server logs. Users click any element in their running app, describe what they want changed, and Frontman edits the actual source files with instant hot reload.
When to Activate
Activate when the user wants to:
- Make visual changes to a running web app (spacing, colors, layout, copy)
- Edit frontend components without opening an IDE
- Set up browser-based AI editing for their project
- Fix design system inconsistencies by clicking elements directly
- Let designers or PMs make UI changes without engineering tickets
Setup
Detect the user's framework and install Frontman:
Next.js:
npx @frontman-ai/nextjs install
Astro:
npx astro add @frontman-ai/astro
Vite (React, Vue, Svelte):
npx @frontman-ai/vite install
Start the dev server normally:
npm run dev
Open Frontman in the browser:
- Next.js:
http://localhost:3000/frontman - Astro:
http://localhost:4321/frontman - Vite:
http://localhost:5173/frontman
How It Works
Frontman installs as a framework plugin (one line in the config). It creates a browser-side MCP server that exposes:
- Live DOM tree — the actual rendered page, not source files
- Computed CSS — runtime values, not class names
- Component tree — which component renders which element, with source file locations
- Screenshots — visual context for the AI
- Element selection — click any element to target it
- Console logs and build errors — from the dev server
The AI agent runs server-side (Elixir/Phoenix), queries these browser tools via MCP, generates edits, and writes them to the actual source files. The framework's HMR handles live reloading.
Usage with OpenClaw
Once Frontman is running, you can use the browser tool to interact with it:
- Open the Frontman URL in the browser tool
- Click elements to select them
- Use the chat interface to describe changes
- Changes are written to source files and hot-reloaded
Frontman handles the visual editing loop. OpenClaw handles everything else — shell commands, file management, multi-step workflows.
Key Details
- Open source: Apache 2.0 (client) / AGPL-3.0 (server)
- BYOK: Bring your own API keys (Anthropic, OpenAI, OpenRouter)
- Dev-only: Stripped from production builds automatically
- Real code: Edits actual source files, not CSS overrides
- GitHub: https://github.com/frontman-ai/frontman
- Docs: https://frontman.sh/docs/
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install frontman-dev - 安装完成后,直接呼叫该 Skill 的名称或使用
/frontman-dev触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Frontman — Visual Frontend Editing 是什么?
AI-powered visual frontend editing in your browser. Click any element in your running app, describe changes in plain English, and get real source file edits... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 116 次。
如何安装 Frontman — Visual Frontend Editing?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install frontman-dev」即可一键安装,无需额外配置。
Frontman — Visual Frontend Editing 是免费的吗?
是的,Frontman — Visual Frontend Editing 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Frontman — Visual Frontend Editing 支持哪些平台?
Frontman — Visual Frontend Editing 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Frontman — Visual Frontend Editing?
由 Danni Friedland(@bluehotdog)开发并维护,当前版本 v1.0.0。