Loading...
Loading...
Upgrade a coded website to award-tier, editorially-crafted design using fal.ai. Takes a local HTML file or a dev-server URL, screenshots it, has an opus-4.7 vision model write a gpt-image-2 edit prompt, uses fal-ai/gpt-image-2/edit to produce the redesigned reference image, then opus-4.7 vision writes a Markdown build-spec with a "Hard constraints" section + a tokens.json. Also supports iterate (screenshot implemented site → delta-spec vs reference) and greenfield generate (brief → mockup → single-file HTML). Invoke when the user says "improve the design", "make it world-class", "redesign this landing page", "upgrade this site", "design pass", or points at a local HTML / dev server for a visual review.
npx skill4agent add fal-ai-community/skills fal-redesignRuntime: Self-contained Node runtime under(runtime/). Does things genmedia CLI cannot (puppeteer screenshotting, multi-vision pipeline, file orchestration). First-time setup:runtime/bin/fal-site.mjs. Override the runtime path withcd runtime && npm install.FAL_SITE_RUNTIME=/abs/path
fal-redesignyour 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 / Codexafter.pngchanges.mdtokens.jsoniterateindex.htmlgenerateupgradenode runtime/bin/fal-site.mjs upgrade --target <path-or-url> [--context "..."] [--variants N] [--out <dir>]--variants Nafter-01-<slug>.pngafter-02-<slug>.pnggallery.htmldescribe<out>/before.pngafter.pngedit-prompt.txtchanges.mdtokens.jsondescribeafter.pngnode runtime/bin/fal-site.mjs describe --after <path/to/after.png> [--out <dir>]iteratenode runtime/bin/fal-site.mjs iterate --target <path-or-url> --reference <path/to/after.png> [--out <dir>]current.pngdelta.mdgeneratenode runtime/bin/fal-site.mjs generate --context "<freeform context>" [--variants 4] [--out <dir>]export FAL_KEY=... # https://fal.ai/dashboard/keysanthropic/claude-opus-4.7openrouter/routeropenrouter/router/visionFAL_SITE_MODELfal-ai/gpt-image-2fal-ai/gpt-image-2/editFAL_KEYhttp://localhost:...node runtime/bin/fal-site.mjs upgradenode runtime/bin/fal-site.mjs generateupgradeafter.pngchanges.md<file>Hard constraintstokens.jsonafter.png<img>node runtime/bin/fal-site.mjs iterate --target <file> --reference <after.png>FAL_SITE_MODEL=anthropic/claude-sonnet-4.6gpt-image-2/editruntime/puppeteer@fal-ai/clientsharpcd runtime && npm installFAL_SITE_RUNTIME=/abs/path