ui-gen
Health Warn
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 13 GitHub stars
Code Fail
- rm -rf — Recursive force deletion command in studio/scripts/setup.sh
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
53 UIs from four specs: the infinite agentic loop (after IndyDevDan), plus the later phase-gated studio. 2025–26, retired.
ui-gen: 53 UIs From Four Specs on an Infinite Agent Loop
One Claude Code command, an orchestrator, and parallel subagents turned four design specs into 53 single-file HTML interfaces in June 2025. The command is IndyDevDan's infinite agentic loop, used as he published it (video). The four specs and the four runs are mine.
Status: retired. Made with Claude Sonnet 4 in June 2025, before today's models made this kind of rapid prototyping built in. Kept as a record, with the later studio beside it.

What's Here
| Spec | Output folder | Files | UIs |
|---|---|---|---|
specs/ios_ui_spec.md |
src_agent_1/ |
ios_theme_*.html |
3 |
specs/workflow_ios_spec.md |
src_agent_2/ |
workflow_monitor_*.html |
10 |
specs/ui_component_spec.md |
src_agent_3/ |
ui_component_*.html |
20 |
specs/chat_ui_spec.md |
src_agent_4/ |
chat_ui_*.html |
20 |
| Total | 53 |
More Screenshots



How the Loop Works
.claude/commands/infinite.md takes three arguments: a spec file, an output folder, and a count, either a number or infinite.
- The orchestrator reads the spec.
- It lists the output folder to find the highest file number so far.
- It sends subagents out in batches of five, each with its own creative direction.
- Each subagent writes one HTML file, named the way the spec says.
- With
infinite, it keeps sending waves of three to five until the context runs out.
Cost and Time
These are estimates from the June 2025 runs with Claude Sonnet 4, not measured billing: about 30k tokens per UI, roughly $0.45 each, and 2–3 minutes each. Today's models and prices differ.
Run It
Requires Claude Code.
git clone https://github.com/seanivore/ui-gen.git
cd ui-gen
claude
Then, inside Claude Code:
/infinite specs/ui_component_spec.md src_agent_3 5
- One UI:
/infinite specs/chat_ui_spec.md src_agent_4 1 - Until the context runs out:
/infinite specs/ui_component_spec.md src_agent_3 infinite
The loop reads the output folder first, so new files continue the numbering. .claude/settings.json lets the agents write files and run commands without asking, so they can work unattended. Review it before you run the loop.
View the Outputs
Each UI is one HTML file. Open any of them in a browser, for example open src_agent_4/chat_ui_7.html on macOS. Some load photos from Unsplash and fonts from Google Fonts, so they need a network connection.
The Studio
studio/ holds the later version of the method, from January 2026. Each agent gets its own copy of a starter and its own preview port, and a person culls and cross-pollinates between phases. It includes one complete six-agent run, with the markers that record each cut. It's retired too.
Credit
The infinite agentic loop is IndyDevDan's (video, channel). This repo applies it to UI design with four original specs.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found