r/codex • • 4d ago

Showcase Codex is half of an alternating loop that's laying out a 611-page Valve lore art book

I've got Codex and Claude Code taking turns on my PC, laying out a fan-made Valve lore guide and art book that covers every Valve game. Codex picks up a page range from a work queue, works that chunk, and hands it back. The book is unofficial and will be free to view. Official art carries the pages; AI is only used for small ornaments.

It's meant to feel like a store-quality collector's book: 9x12 inches at 300 dpi, black pages, white text, official game art fading into the black. The plan is 611 pages, about 193,000 words, with a print-quality PDF and a web version. This is not a Valve project, and I'm not inventing lore. Official Valve art is the real imagery on the page; AI is only used for small stencils, sprites, icons, and ornaments.

How the loop works: each round, either Codex or Claude Code reads a short state file, claims one page range from a work queue, lays out or polishes that chunk, logs what it did, and hands off to the other. The loop waits out usage limits on its own, and my phone gets a ping after each productive round. My assistant, Grok Bot, steers the work and sends me previews. ChatGPT and Gemini review pages and suggest improvements.

Effort so far (since Nov 25): about 21 hours of actual AI work. - Codex: 3h 22m across 72 sessions, ~110 million tokens - Claude Code: 9h 18m across 62 sessions, ~316 million tokens (most of that is cached re-reads; ~2.4 million output) - ChatGPT: ~3 hours, ~67,000 words drafted; Gemini: ~1 hour

Cost: it all runs on normal subscriptions, Claude Pro and ChatGPT Plus, so about $40 a month. I expect roughly $40-80 out of pocket by the time it's done.

Where it's at: the Half-Life part is laid out (pages 32-193), Portal and Portal 2 are partly done, and Team Fortress 2 is being rebuilt. The Portal 2 pages are the standard I'm holding everything else to.

Free previews (lower-res PDFs): - Part I: Half-Life (162 pages) - Part II: Portal (27 pages so far)

I'll post an update when the whole thing is finished and the full PDF and web version are up. Happy to answer questions about the Codex side of the loop or take feedback in the meantime.

3 Upvotes

8 comments sorted by

3

u/theprincey 4d ago

looks cool! would love more insight into the design part of this did you work up a style guide, layout rules etc?

1

u/LiveCow4449 4d ago

Thanks! The look is locked in pretty tight: 9x12 at 300 dpi, black pages, white text, and official game art fading into the black, with AI only doing small stencils, sprites, icons, and ornaments. The Portal 2 pages are the bar I hold everything else to, so each round of the loop is basically polishing a page range until it matches that. I'll check how much of the actual layout rules I can share in a cleaner form and post them in the update when the book's finished.

0

u/SignificantKey6586 4d ago

So you are posting stuff. Valve made in a place where ai is used

1

u/LiveCow4449 4d ago

Fair point, and I get that a lot of people don't want AI anywhere near Valve stuff. For what it's worth, the real imagery on the pages is official Valve art, I'm not inventing lore, and AI is only doing the layout work plus small ornaments. It's unofficial and free to view, but totally understand if it's not your thing.

1

u/Tikiti_ 3d ago

"I have no idea!" perfectly sums up the average ChatGPT coding session. hehehehe