Agent skill
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 with instant hot reload. Works with Next.js, Astro, and Vite.
Install this agent skill to your Project
npx add-skill https://github.com/frontman-ai/frontman/tree/main/openclaw-skill
Metadata
Additional technical details for this skill
- openclaw
-
{ "requires": { "bins": [ "node" ], "anyBins": [ "npx", "yarn", "pnpm" ] } }
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:
- 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/
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
claude-code-expert
Especialista profundo em Claude Code - CLI da Anthropic. Maximiza produtividade com atalhos, hooks, MCPs, configuracoes avancadas, workflows, CLAUDE.md, memoria, sub-agentes, permissoes e integracao com ecossistemas.
lex
Centralized 'Truth Engine' for cross-jurisdictional legal context (US, EU, CA) and contract scaffolding.
odoo-inventory-optimizer
Expert guide for Odoo Inventory: stock valuation (FIFO/AVCO), reordering rules, putaway strategies, routes, and multi-warehouse configuration.
android_ui_verification
Automated end-to-end UI testing and verification on an Android Emulator using ADB.
seo-cannibalization-detector
Analyzes multiple provided pages to identify keyword overlap and potential cannibalization issues. Suggests differentiation strategies. Use PROACTIVELY when reviewing similar content.
Didn't find tool you were looking for?