This project is an experiment in making GPT Codex produce much stronger frontend design outputs through instruction tuning and iterative self-correction loops.
Can Codex be pushed toward Opus-like visual quality by repeatedly refining frontend-design skill instructions and critiquing outputs against strong reference sets?
This repo treats frontend quality as an optimization loop:
- Keep the prompt fixed.
- Change skill instructions intentionally.
- Generate output.
- Critique against target visuals.
- Repeat.
A couple of days ago, I watched Theo's video on which model performs best for frontend design:
In that video, the benchmark paired GPT with the frontend-design skill written by Anthropic for Claude models. That made me question whether this is a fair portability benchmark across model families.
My hypothesis was simple: Codex is highly instruction-sensitive. If we tune the skill language specifically for Codex, with clear constraints and quality signals, we should be able to push outputs much closer to Opus-level frontend quality.
This repository is that experiment.
This project does not fine-tune base model weights.
When we say "influence weights" here, we mean practical instruction weighting:
- stronger priority rules,
- tighter quality gates,
- explicit anti-failure constraints,
- iterative critique feedback.
The objective is to influence model behavior reliably, not to modify model internals.
- One canonical benchmark prompt:
prompt.md - Versioned experiments under
experiments/version-X/ - Each version is self-contained:
.agents/skills/frontend-design/SKILL.mdt4-canvas/README.mdCRITQUES.mdscreenshots/for/1to/5
- New versions are isolated by default (fresh app workspace, no inherited generated UI code).
Two experiment topologies are used:
- Vertical: sequential refinement from best baseline.
- Horizontal: parallel sibling branches with different mutation axes.
Each iteration changes one primary hypothesis so we can attribute quality changes.
We treat success as measurable movement toward the target visual bar:
- stronger hierarchy and composition,
- better concept divergence,
- less generic "AI slop" structure,
- better polish, readability, and interaction quality,
- closer fit to Opus-with-skill reference traits.
research/targetted-designs/research/theo-screenshots-2k-clean/opus45_with_skill/research/theo-screenshots-2k-clean/opus_iterations/
- Read
AGENTS.md. - Keep
prompt.mdunchanged for fair comparisons. - Run experiments from inside
experiments/version-X/. - Use
.agents/skills/frontend-design-improvements-loop/SKILL.mdas the operational workflow.
