Redesigns coded websites using fal.ai vision models: screenshots a local HTML file or dev server, generates a redesigned reference image via gpt-image-2, and produces a build spec with design tokens.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fal-ai-community-skills:fal-redesignThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **Runtime:** Self-contained Node runtime under `runtime/` (`runtime/bin/fal-site.mjs`). Does things genmedia CLI cannot (puppeteer screenshotting, multi-vision pipeline, file orchestration). First-time setup: `cd runtime && npm install`. Override the runtime path with `FAL_SITE_RUNTIME=/abs/path`.
DEMO.mdLICENSEREADME.mdruntime/README.mdruntime/bin/fal-site.mjsruntime/package-lock.jsonruntime/package.jsonruntime/src/brief.mjsruntime/src/directions.mjsruntime/src/fal.mjsruntime/src/hero.mjsruntime/src/implement.mjsruntime/src/mockup.mjsruntime/src/review.mjsruntime/src/upgrade.mjsruntime/src/variants.mjsruntime/src/video.mjsRuntime: Self-contained Node runtime under
runtime/(runtime/bin/fal-site.mjs). Does things genmedia CLI cannot (puppeteer screenshotting, multi-vision pipeline, file orchestration). First-time setup:cd runtime && npm install. Override the runtime path withFAL_SITE_RUNTIME=/abs/path.
fal-redesign turns "I coded a site, make it look amazing" into a concrete, implementable design pass.
your index.html → screenshot (1920×1200)
screenshot + brand → opus-4.7 writes a redesign prompt
screenshot + prompt → fal-ai/gpt-image-2/edit → after.png
after.png → opus-4.7 writes Markdown build-spec + tokens.json
→ returned to Claude Code / Codex
The agent reads after.png + changes.md + tokens.json, applies the spec to the real HTML, refreshes, optionally runs iterate for a residual pixel-fix pass.
index.html or a running dev server and asks to improve the design, make it world-class, redesign, polish, or run a design review.generate).Do NOT invoke for:
All four modes are subcommands of the Node runtime. Invoke directly:
upgrade: redesign a coded sitenode runtime/bin/fal-site.mjs upgrade --target <path-or-url> [--context "..."] [--variants N] [--out <dir>]
Pass --variants N (2-8) to fan out into N distinct design directions in parallel. You get after-01-<slug>.png, after-02-<slug>.png, plus a gallery.html to compare them side-by-side. Pick one, then run describe on the chosen PNG to produce its build-spec.
Outputs in <out>/:
before.png: current-site screenshot.after.png: redesigned reference image.edit-prompt.txt: transformation prompt fed to gpt-image-2.changes.md: Markdown build-spec with a leading "Hard constraints" section (also echoed to stdout).tokens.json: design tokens (colors, typography clamps, grid, buttons).describe: re-run the build-spec on an existing after.pngUseful if the first spec was noisy or if you want to iterate on the spec without regenerating the image.
node runtime/bin/fal-site.mjs describe --after <path/to/after.png> [--out <dir>]
iterate: residual pixel-fix passAfter the agent has implemented the spec, screenshot the live site and emit a delta-spec vs the reference.
node runtime/bin/fal-site.mjs iterate --target <path-or-url> --reference <path/to/after.png> [--out <dir>]
Outputs current.png + delta.md.
generate: greenfield (brief → site)node runtime/bin/fal-site.mjs generate --context "<freeform context>" [--variants 4] [--out <dir>]
export FAL_KEY=... # https://fal.ai/dashboard/keys
Models used:
anthropic/claude-opus-4.7: via openrouter/router and openrouter/router/vision (overridable with FAL_SITE_MODEL).fal-ai/gpt-image-2: greenfield hero + mockup renders.fal-ai/gpt-image-2/edit: screenshot-to-redesign transformation.FAL_KEY. If unset, ask the user to export it and stop.http://localhost:...) → node runtime/bin/fal-site.mjs upgrade.node runtime/bin/fal-site.mjs generate.upgrade pass takes 60–180s (1 screenshot + 2 vision calls + 1 image-edit). Emit a brief status to the user before calling.after.png (Read tool) so the user sees the new design.changes.md in the chat (or the highlights).<file> now?"Hard constraints verbatim and pulling exact values from tokens.json. For imagery in the result grid, look at after.png directly and either use <img> placeholders at the matching aspect ratio or source stock that matches the mood.node runtime/bin/fal-site.mjs iterate --target <file> --reference <after.png> for a residual delta-spec. Apply deltas, refresh.FAL_SITE_MODEL=anthropic/claude-sonnet-4.6.gpt-image-2/edit is the right primitive because it edits an existing screenshot while preserving legible in-image text, avoid substituting other image models here.The skill ships a small Node 18+ runtime under runtime/ (puppeteer, @fal-ai/client, sharp). First-time setup: cd runtime && npm install. Override the runtime path with FAL_SITE_RUNTIME=/abs/path.
npx claudepluginhub joshuarweaver/cascade-content-creation-misc-1 --plugin fal-ai-community-skillsGenerates four distinct website design images from a brief, then translates the user's selected image into production frontend code with close visual iteration.
Generates award-winning, designer-quality web frontends that avoid generic AI patterns. Focuses on visual hierarchy, typography, intentional color palettes, and purposeful motion.
Elevates AI-generated HTML/CSS/JavaScript from generic to polished with design systems, oklch color theory, curated typography, and anti-cliché rules.