ux-image-to-code — Claude Code command: what it does, how to install
ux-image-to-code redirects image extraction calls to /ux-design --extract-only --from-image. Keeps existing image-to-UI workflows working during migration to release 4.1.
MIT ★ 110 updated 2026-11-02
/plugin marketplace add Laith0003/ux-skill
/plugin install ux@ux-skillWhat ux-image-to-code does
This slash command functions as a temporary alias introduced in version 4.0. When triggered, it notifies the user about the syntax change and immediately runs the updated /ux-design workflow with your provided flags.
Direct model invocation is disabled with disable-model-invocation: true. The command relies on file operations, search utilities, and selective Bash execution including ls, cat, find, mkdir, and python3. The first non-flag argument is automatically parsed as the source image path.
The alias will be removed entirely in release 4.1, so updating direct calls to /ux-design prevents broken automations later.
What it helps with
- extract UI data from image files using existing alias paths
- route mockups into the updated
/ux-designworkflow - pass custom flags and image arguments without manual syntax rewrites
Example prompts for the agent
- /ux-image-to-code assets/screen.png
- /ux-image-to-code mockups/header.jpg
How to install ux-image-to-code
1Plugin marketplace
/plugin marketplace add Laith0003/ux-skill/plugin install ux@ux-skill2Manually: put the files in place
.claude/commands/ux-image-to-code.mdCall it with /ux-image-to-code. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/ux-image-to-code.mdCall it with /prompts:ux-image-to-code. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/ux-image-to-code.prompt.mdManually: put the files in place
.gemini/commands/ux-image-to-code.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about ux-image-to-code
How to install ux-image-to-code in Claude Code?
Run /plugin marketplace add Laith0003/ux-skill, then run /plugin install ux@ux-skill.
What does ux-image-to-code do?
It informs you that the command moved and executes /ux-design --extract-only --from-image with your parameters.
When will this alias stop working?
Support ends in version 4.1. The author scheduled its complete removal for 4.1, requiring direct use of /ux-design.
Source text
ux-image-to-code.md · MIT
--- description: Moved to /ux-design --extract-only --from-image. Alias kept until 4.1. allowed-tools: Read, Write, Edit, Bash(ls:*), Bash(cat:*), Bash(find:*), Bash(mkdir:*), Bash(python3:*), Glob, Grep, Task disable-model-invocation: true --- # /ux-image-to-code (alias) `/ux-image-to-code` moved to `/ux-design --extract-only --from-image` in 4.0: the image extraction. Drop `--extract-only` to go on and build from the image. This alias is removed in 4.1. 1. Tell the user in one line: "/ux-image-to-code is now /ux-design --extract-only --from-image. Running it." 2. Run `/ux-design --extract-only --from-image $ARGUMENTS`. Follow `commands/ux-design.md` in image mode, extraction only, with the same arguments, exactly as if the user had typed the new command. Flags may come before the path: `--from-image` takes the first argument that is not a flag as the image path, as the old command did.
© Laith Aljunaidy · MIT · Laith0003/ux-skill