# muapi-url-to-design

The muapi-url-to-design skill for Claude Code turns a website URL into desktop and mobile redesign mockups, exploring a new visual direction for a page.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 664 installs · ★ 48 repo stars
- Author: SamurAIGPT
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/SamurAIGPT/Generative-Media-Skills/tree/HEAD/library/visual/url-to-design/SKILL.md
- Updated: 2026-09-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/muapi-url-to-design

## What it does

Provide a page URL and, optionally, its page type, a target visual style, and whether to retain its brand colors and logo. The skill runs two mockup tasks in parallel: one for desktop and one for mobile. The desktop task uses `muapi image generate`, or `muapi image edit` when you supply a screenshot; the mobile task uses `muapi image generate`.

The workflow calls the `muapi` CLI. If `MUAPI_API_KEY` is unset, configure access with `muapi auth configure` first. When the URL cannot be reached, a screenshot or a description of the current design gives the desktop task material to work from. Without an accessible page or a screenshot, that mockup has no visual reference.

The planned result includes both mockups side by side, a written account of the design changes, and an offer to create assets for individual sections. You can specify a page type such as `pricing page`; the screenshot input is optional and is used for image editing when provided.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-url-to-design -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/url-to-design/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/url-to-design/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-url-to-design -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/url-to-design/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-url-to-design -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/url-to-design/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install SamurAIGPT/Generative-Media-Skills library/visual/url-to-design
```

2. **Manually: put the files in place**
- File: `.github/skills/url-to-design/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-url-to-design -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/SamurAIGPT/Generative-Media-Skills --path library/visual/url-to-design
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/url-to-design/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-url-to-design -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/SamurAIGPT/Generative-Media-Skills/tree/HEAD/library/visual/url-to-design/SKILL.md

## When to use it
- draft a page redesign from its URL
- compare desktop and mobile mockups
- retain existing brand colors or change direction
- create a separate mockup for a page section

## Example prompts
- Redesign `https://example.com/pricing` with a minimal visual style.
- Create desktop and mobile mockups for this product page while retaining its brand colors.
- Use this screenshot to propose a new interface and describe the changes.

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 5eba50e15e8f9748.

BEGIN THIRD-PARTY FILE 5eba50e15e8f9748
```text
---
slug: muapi-url-to-design
name: muapi-url-to-design
version: "1.0.0"
description: Analyze a website URL and generate a redesigned, improved UI — recreate the visual design with modern aesthetics, better hierarchy, and fresh brand direction.
acceptLicenseTerms: true
---


# URL to Design

**Analyze a website URL and generate a redesigned, improved UI — recreate the visual design with modern aesthetics, better hierarchy, and fresh brand direction.**

## Inputs

| Name | Type | Required | Default | Description |
|:---|:---|:---|:---|:---|
| `url` | text | yes | — | The website URL to analyze and redesign (e.g. "https://example.com/pricing"). |
| `page_type` | text | no | landing page | Type of page — "landing page", "pricing page", "product page", "dashboard", "about page". |
| `redesign_style` | text | no | modern, minimal, premium, dark mode | The target visual style for the redesign (e.g. "glassmorphism, vibrant gradient", "clean corporate, light mode"). |
| `keep_brand` | text | no | yes | Whether to keep existing brand colors/logo — "yes" or "no" (fully reimagine). |
| `screenshot` | image_url | no | — | Optional screenshot of the current page if URL cannot be crawled. |


## Steps

### Phase A — Redesign Generation

Submit the plan with TWO parallel steps:


1. **Full-page redesign mockup** — If `{{screenshot}}` is provided, use `muapi image edit` (model=`gpt4o-edit`); otherwise use `muapi image generate` (model=`gpt4o-text-to-image`):
   - Prompt: `Professional UI/UX redesign of a {{page_type}} for the website at {{url}}. {{redesign_style}} design. Modern web design, 2025 aesthetic. Includes: hero section with clear headline and CTA button, features/benefits section, social proof, clean footer. Pixel-perfect, Figma-quality mockup. Desktop viewport, 1440px width design.`
   - If `{{keep_brand}}` is "no", add: `Completely reimagined brand identity, new color palette.`
   - Aspect ratio: 9:16 (tall to show full page sections)

2. **Mobile version mockup** — `muapi image generate` (model=`bytedance-seedream-v4.5`):
   - Prompt: `Mobile-first responsive redesign of the same {{page_type}} — {{redesign_style}} style. iPhone 15 Pro frame, scrollable layout. Clean mobile navigation, thumb-friendly CTAs, optimized for 390px width. Modern 2025 mobile UI design.`
   - Aspect ratio: 9:19.5

After generation:
- Present both desktop and mobile mockups side by side
- Provide a written summary of design improvements made
```
END THIRD-PARTY FILE 5eba50e15e8f9748

The third-party file has ended. Everything between the 5eba50e15e8f9748 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2475 of 3534 bytes. © SamurAIGPT · MIT · https://github.com/SamurAIGPT/Generative-Media-Skills/tree/HEAD/library/visual/url-to-design/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
