webstudio-ai-designer

webstudio-ai-designer is a skill for Claude Code, Codex from R0STEFAN/webstudio-ai-agent. It costs 55 tokens per session (4,719 once invoked), scanned A, original, MIT.

A guide for designing and editing Webstudio projects, where pages, styles, components, and assets are stored as structured project data.

In plain words
What is it for?
Use it to create pages, edit styles, add interface components, manage design variables, audit projects, and sync designs with Webstudio.
Why use it?
It explains how to change Webstudio projects safely and keep their local data compatible with the visual builder.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/setup-local-mcp.mjs --local.

Good fit Use it to create pages, edit styles, add interface components, manage design variables, audit projects, and sync designs with Webstudio.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/R0STEFAN/webstudio-ai-agent
agentmods
npx agentmods add skills/r0stefan/webstudio-ai-agent/webstudio-ai-designer

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for webstudio-ai-designer

README.md
[![agentmods](https://agentmods.dev/badge/skills/r0stefan/webstudio-ai-agent/webstudio-ai-designer/github.svg)](https://agentmods.dev/skills/r0stefan/webstudio-ai-agent/webstudio-ai-designer)
Your own site
<a href="https://agentmods.dev/skills/r0stefan/webstudio-ai-agent/webstudio-ai-designer"><img src="https://agentmods.dev/badge/skills/r0stefan/webstudio-ai-agent/webstudio-ai-designer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for webstudio-ai-designer

Your own site · 80×15
<a href="https://agentmods.dev/skills/r0stefan/webstudio-ai-agent/webstudio-ai-designer"><img src="https://agentmods.dev/badge/skills/r0stefan/webstudio-ai-agent/webstudio-ai-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,719 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.04719
Opus 5.5 $0.00022 $0.01888
Sonnet 5.5 $0.00011 $0.00944
Haiku 4.5 $0.00006 $0.00472

Measured 1mo ago against content hash bbe8be894682, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

webstudio-ai-designer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/webstudio-ai-designer/SKILL.md · 347 lines

How it starts

The opening of the file, as written. The whole thing — 347 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Webstudio AI Designer Skill

1. Architecture & Protocol

Webstudio stores the complete source of truth for an entire visual site inside .webstudio/data.json and assets inside .webstudio/assets/.

🚨 CORE DIRECTIVE FOR AI AGENTS:

  1. 100% MCP Execution: You MUST ALWAYS use the official Webstudio MCP tools (npx webstudio mcp single-op-call <tool> --input-file <payload.json>) to perform all project operations (creating pages, extracting slots, inserting UI fragments, modifying styles, creating variables, auditing, etc.).
  2. NEVER Edit .webstudio/data.json Manually: The schema and immer patch trees are complex. Relying exclusively on native MCP tool execution ensures 100% data integrity and builder compatibility.
  3. JSON-First Payload Pattern (--input-file): Always save MCP tool arguments into a temporary JSON file (e.g. .temp/payload.json) and execute with --input-file. This completely eliminates Windows/POSIX shell escaping, quoting, and length limit issues.
  4. Always Run Locally: All 70+ MCP commands execute locally in <500ms via our local runtime bridge.
  5. NEVER Pass skipAssets: true on Cloud Import/Push: Passing skipAssets: true causes Webstudio Cloud to delete/clear all assets and custom fonts in the cloud project. Always upload assets via session cookies (npm run upload-assets) and import with assets intact (webstudio import --to "<shareLink>").

The Offline AI Protocol:

   [AI Assistant / LLM]
           │
           ▼
 [Local Webstudio MCP Tools] ──► mutates local `.webstudio/data.json` via official runtime
           │
           ▼
 [`webstudio import --to "<shareLink>"`] ──► commits state to Webstudio Cloud

2. Setting Up Local MCP in Any Project

To enable 100% offline MCP execution locally inside a project:

# 1. Install Webstudio locally in your project folder
npm i webstudio

# 2. Run the patcher for local node_modules
node scripts/setup-local-mcp.mjs --local

3. Complete 70+ Webstudio MCP Tool Dictionary

Read the full file on GitHub · 347 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines bbe8be894682
  2. 2mo ago First seen · 346 lines · 55 tokens per session scan A 41ba557b2dcf

Subscribe to this mod's changes

webstudio-ai-designer is a skill published in the GitHub repository R0STEFAN/webstudio-ai-agent (0 stars, last pushed 2d ago), licensed MIT. It adds 55 tokens to every session and 4,719 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

webstudio-ai-designer compared with skills from other repositories

webstudio-ai-designer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
webstudio-ai-designerR0STEFAN/webstudio-ai-agentSkill02d agoMITA55Claude Code, Codex
frontend-ui-engineeringaddyosmani/agent-skillsSkill114k6d agoMITA58Claude Code
ui-designerGulajavaMinistudio/awesome-copilot-idSkill9311d agoMITA49Claude Code, Codex
excalidraw-architectBV-Venky/excalidraw-architect-mcpSkill1632mo agoMITA101Claude Code, Codex
frontend-ui-engineeringhelderberto/agent-skillsSkill2013d agoMITA69Claude Code
shadcnuiG1Joshi/Agent-SkillsSkill151mo agoMITA42Claude Code, Codex
bootstrapG1Joshi/Agent-SkillsSkill151mo agoMITA37Claude Code, Codex