← 返回 Skills 市场
bluehotdog

Frontman — Visual Frontend Editing

作者 Danni Friedland · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
116
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install frontman-dev
功能描述
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...
使用说明 (SKILL.md)

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:

  1. Open the Frontman URL in the browser tool
  2. Click elements to select them
  3. Use the chat interface to describe changes
  4. 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

安全使用建议
This skill appears to do what it says (a browser-based visual editor that writes real source files), but there are important safety checks you should do before installing or running it: - Verify where the AI runs: confirm whether Frontman is fully local/self-hosted in your environment or whether any server or hosted service will receive your DOM, screenshots, console logs, or source-file information. If it is remote, assume your code and UI previews may leave your machine. - Inspect the packages before running npx: npx fetches and can execute remote code. Review the frontman npm packages and any install scripts, or clone and inspect the repo locally before running installers. - Use a disposable/dev environment and a separate git branch: run this only on non-production copies of your project and ensure you can revert changes. - Protect API keys: the docs say BYOK for LLMs — only provide model keys if you understand whether they will be used locally or sent to external endpoints. Prefer local/self-hosted model setup if you need confidentiality. - Check licensing and server components: server-side parts are AGPL-3.0 — review implications for your project and whether additional server components must be deployed. - Network monitoring: if you have concerns, run the tool behind a firewall or while monitoring outbound connections to detect unexpected network calls. If you can confirm the Frontman server is self-hosted locally (so edits and AI inference do not send code to third parties) and you review the npm packages, the skill is reasonably coherent for its purpose. If you cannot confirm those points, treat it as higher risk and avoid running npx install commands against sensitive codebases.
功能分析
Type: OpenClaw Skill Name: frontman-dev Version: 1.0.0 The skill bundle provides instructions for setting up 'Frontman', a visual frontend editing tool. It utilizes standard development workflows, such as framework-specific CLI commands (e.g., npx @frontman-ai/nextjs install) and requires shell and browser access which are consistent with its stated purpose of modifying source code and interacting with live web applications. No evidence of data exfiltration, malicious execution, or prompt injection was found in SKILL.md or _meta.json.
能力评估
Purpose & Capability
Name/description (visual frontend editing) align with the instructions: the SKILL.md tells the agent how to add Frontman plugins (npx/astro/vite), start the dev server, open the local Frontman UI, and use it to edit source files. Required binaries (node, npx/yarn/pnpm) are appropriate for this purpose.
Instruction Scope
The instructions require opening a running dev server and exposing the live DOM, computed CSS, screenshots, console logs, component-to-file mappings, and then writing edits to actual source files. The SKILL.md does not clearly state whether the 'AI agent runs server-side (Elixir/Phoenix)' is self-hosted locally or handled by a remote service; that ambiguity creates a potential data-exfiltration risk because the tool will surface screenshots, logs, and source-file locations. The skill's runtime guidance also implies the agent can perform shell/file operations (via OpenClaw), which is expected but worth noting.
Install Mechanism
This is an instruction-only skill (no install spec). However, it instructs the user/agent to run npx commands to install packages into the project. npx fetches and executes code from npm (remote code run at install time). That is expected for this kind of plugin, but it is a higher-risk action than purely local scripted changes — verify the package source and audit package scripts before running.
Credentials
The skill declares no required env vars, which is reasonable. But the README mentions 'BYOK' for LLM providers and says the AI runs server-side; SKILL.md does not require or document how API keys are provided, nor whether those LLM calls (and any code/DOM/screenshots) are routed to third-party servers. Absence of explicit credential handling combined with ambiguous execution location makes it unclear whether sensitive project data or keys would be transmitted off-host. Also, the skill will cause writes to project source files — users should ensure they run this only in safe/dev environments.
Persistence & Privilege
always is false and the skill is user-invocable only. There is no install script or persistent components declared by the skill itself. The expected behavior (modifying project files via Frontman plugins) is scoped to the project and development workflow.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install frontman-dev
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /frontman-dev 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of frontman-dev — AI-powered visual frontend editing in your browser. - Click on any element in your running Next.js, Astro, or Vite app and describe UI changes in plain English. - Instantly applies real source file edits with hot reload; no IDE needed. - Accessible setup instructions for major frameworks. - Allows designers/PMs to make UI changes directly from the browser. - Fully open-source, dev-only, and supports your own API keys.
元数据
Slug frontman-dev
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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。

💬 留言讨论