visual-ralph
Qué hace
Esta skill hace que una interfaz web o de app coincida con un objetivo visual que apruebas. Sirve para diseñadores y desarrolladores de frontend que necesitan una coincidencia medida y piezas reutilizables.
Cuándo usarla
- ✓Cuando quieres una página web o pantalla de app construida para parecerse a un mockup o a una web en vivo.
- ✓Cuando quieres que la coincidencia se compruebe con una comparación de píxeles, no solo a ojo.
- ✓Cuando necesitas tokens y componentes reutilizables al final, y no solo una coincidencia de capturas.
Link de la skill
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/visual-ralph/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Reconstruye esta landing page para que coincida con la imagen del mockup, y comprueba la diferencia de píxeles hasta que esté muy cerca.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Revisa los frameworks y estilos del repositorio y después implementa contra la referencia mediante el flujo ultragoal. Compara capturas, informa de un veredicto con evidencia de diferencias de píxeles y repite hasta que la coincidencia sea aceptable.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Visual Ralph Skill
Use $visual-ralph for measured frontend implementation from an approved generated reference, static image, or live-URL baseline. The loop is:
description / URL -> approved reference -> $ultragoal implementation -> Visual Ralph verdict + pixel diff -> reusable design system.
For URL cloning, this skill owns the migrated $web-clone use case; preserve URL, viewport, fidelity, and interaction notes here. Do not invoke standalone $web-clone.
Shared operating, delegation, state, hook, team, cancellation, and verification invariants live in templates/AGENTS.md. Follow that source instead of duplicating its rules here.
Use when
- The user wants a web/app UI built or restyled against a visual target.
- A live URL or generated raster mockup needs measured implementation and pixel-level iteration.
- The result must leave reusable repo-native tokens/components, not only a matching screenshot.
Do not use it for a durable DESIGN.md brief ($design), non-visual backend work, comparison-only fixes that can be executed directly, or deterministic SVG/code-native assets.
Workflow
1. Ground the repository
Inspect package manager/scripts, frontend framework and routes, styling/token conventions, screenshot tooling, and reusable components. Choose stack-specific commands only when repository evidence supports them.
2. Establish a reference
For a live URL, capture or document an artifact containing source URL and permission/scope, viewport(s), route/state, seed/login assumptions, baseline screenshot path or capture command, visible-control parity notes, and exclusions (backend/API/auth, personalized data, crawling, third-party widgets).
For a generated concept, use $imagegen with classification ui-mockup, viewport/aspect ratio, surface, layout hierarchy, typography, color mood, exact text, no logos/watermarks/unrequested marks, and readable/feasible UI details. In OMX runtime, queue the continuation checkpoint before the built-in image tool:
omx imagegen continuation <session-id> --artifact <slug-or-filename> --generated-dir "$CODEX_HOME/generated_images/<session>" --work-dir ".omx/artifacts/visual-ralph/<slug>"
Copy the approved reference into .omx/artifacts/visual-ralph/<slug>/reference.png; do not leave it only under $CODEX_HOME/generated_images.
3. Approval gate
Stop after generation or URL capture and obtain approval of one reference image/state (or a targeted regeneration/capture adjustment). Before approval, do not implement or invoke $ultragoal. After approval, the image/baseline is the visual source of truth; major pivots require an explicit user request.
4. Hand off to $ultragoal
Pass the approved reference/baseline, URL and permission note when applicable, viewport/content state, interaction parity and exclusions, user description, detected frontend context, screenshot command/viewport, and the completion checklist. The active Ultragoal execution lane edits, runs, captures, and iterates after approval until matched or blocked.
5. Verdict before every edit
For each iteration, capture the current screenshot with viewport/state, run Visual Ralph verdict (using vision when needed), and treat its JSON as authoritative. If score < 90, turn differences[] and suggestions[] into the next edit plan and rerun before editing. Required verdict keys: score, verdict, category_match, differences[], suggestions[], reasoning.
6. Secondary diff evidence
Use pixel diff/pixelmatch overlays only to locate hotspots and translate them into edits; they never replace the verdict. Record final reference, screenshot, and diff artifacts for auditability.
7. Reusable design system
Encode the match in existing repo-native CSS variables, theme tokens, config, component variants, stories, or DESIGN.md updates. Capture applicable colors, spacing, typography/weights, radii, shadows/elevation, and important variants/states. Extend existing patterns rather than adding a parallel layer.
Completion evidence and stop conditions
Do not declare done until the approved reference/baseline and reproduction command (viewport, route, state, output path) are saved; final verdict is >= 90; secondary diff evidence is recorded; reusable tokens/components exist; equivalent build/lint/test verification passes; no unapproved pivot occurred; and remaining differences are documented. Stop at the approval gate or
Preguntas frecuentes
¿Escribe el brief de diseño?
No. Eso lo hace otra skill de diseño que mantiene un archivo DESIGN.md.
¿Puede usar una web en vivo como objetivo?
Sí. Una URL en vivo puede servir de referencia, y la skill guarda notas sobre la URL y el viewport.
¿Solo compara capturas?
No. También deja un sistema de diseño reutilizable de tokens y componentes.
Detalles
Descripción original del autor
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
repo: Yeachan-Heo/oh-my-codex
Popularidad
- Estrellas en GitHub
- 34 mil
- Posición en el ranking
- #8428
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
ai-slop-cleaner
34 milAyuda a tu agente a limpiar código inflado, repetido o generado por IA, eliminando código muerto y envoltorios innecesarios, sin alterar el comportamiento.
analyze
34 milPermite a tu agente responder una pregunta sobre un código base leyendo el código relevante e informando de explicaciones ordenadas con pruebas, sin hacer cambios.
ask
34 milPermite que tu agente pida una segunda opinión a las herramientas de línea de comandos de Claude o Gemini, y guarda la respuesta en un archivo.
autopilot
34 milLleva un proyecto completo de principio a fin, desde una idea hasta el resultado final, con planificación y ejecución, y se detiene solo ante bloqueos reales.
Skills parecidas
canvas
394 milPermite que tu agente muestre un widget visual alojado en un panel de Mac conectado y después ocultar el panel o moverlo a otra página.
control-ui
394 milAyuda a tu agente a organizar y resolver problemas de la interfaz de control de OpenClaw, incluidas las sesiones, los paneles y las Gateways conectadas.
diagram-maker
394 milAyuda a tu agente a crear diagramas claros en SVG, HTML o Excalidraw editable para procesos, arquitectura de sistemas y bocetos de pizarra.