The Startup Ideas Podcast - Codex Sites Clearly Explained (and how to use it)
Episode Date: June 4, 2026In this solo episode I walk through Codex Sites end to end, building a real internal tool live so you can copy the exact workflow. I open by comparing Codex Sites with one-prompt tools like Replit and... Lovable, then construct a Startup Ideas OS board in six prompts. Along the way I cover memory and persistent storage, safe actions, Codex skills, save-gates, and proving the loop so the app updates autonomously. The core promise: by the end you know how to ship a Codex Site that an agent keeps operating for you. This one suits builders who already live in Codex and want self-updating products. Timestamps 00:00 – Intro and Episode Agenda 01:17 – Codex Sites vs Replit and Lovable 04:33 – The Build Plan: Startup Ideas OS 05:08 – Prompt 1: Build the Shell with Sites 07:02 – Plugins Worth Using and Game Studio 08:54 – First Board Review 09:21 – Prompt 2: Add Memory and Show the Data Model 10:56 – Prompt 3: Create Safe Actions 13:25 – Prompt 4: Create the Startup Ideas Admin Skill 14:51 – Prompt 5: Save-Gate and Checkpoints 16:29 – Prompt 6: Prove the Loop from a New Chat 18:10 – Publish, Auth, and Live Updates 20:28 – TLDR: Memory, Safe Actions, Skills 22:40 – The Real Unlock and Closing Thoughts Key Points Codex Sites rewards builders who already live in Codex by updating apps autonomously after launch. Replit, Lovable, and Bolt stay the simpler one-prompt choice; Codex Sites trades that for autonomy and self-updating products. Out of the box you prompt in auth, databases, payments, email, analytics, and a secrets vault yourself. I build a Startup Ideas OS board in six prompts: shell, memory, safe actions, a skill, a save-gate, and a proof loop. Safe actions let an agent call approved buttons and named mutations, so edits flow from any chat. The real payoff is autonomous products that Codex keeps operating and improving on a live URL. The #1 tool to find startup ideas/trends - https://www.ideabrowser.com LCA helps Fortune 500s and fast-growing startups build their future - from Warner Music to Fortnite to Dropbox. We turn 'what if' into reality with AI, apps, and next-gen products https://latecheckout.agency/ The Vibe Marketer - Resources for people into vibe marketing/marketing with AI: https://www.thevibemarketer.com/ FIND ME ON SOCIAL X/Twitter: https://twitter.com/gregisenberg Instagram: https://instagram.com/gregisenberg/ LinkedIn: https://www.linkedin.com/in/gisenberg/
Transcript
Discussion (0)
I saw that Codex launch sites.
And when I first saw the news, I was like,
is this just a worst version of Replit or lovable?
That's just inside Codex.
But the more I dug into it, the more I realized it's actually worth understanding how to use it
and how to get the most out of it.
So today is a full tutorial on basically what the big announcement is around Codex sites.
How does it compare to the competition?
we're actually going to go and live build using codex sites.
And through that, I'm actually going to teach you basically the best practices for using codec sites.
So by the end of this episode, if you stick around, I'm going to teach you how to build a shell using codec sites,
how to add memory using codec sites, how to add what's called safe actions using codec sites.
And I'll explain what that means in the episode, how to create skills with codec sites.
how to save gate using codec sites and how to prove the loop using codec sites which makes it
work autonomously let's get into it so what is the difference between codec sites and replet and lovable
and stuff like that so um i will say replet and lovable and and those and those products are
really good if you want to like one prompt something and it has an edit
it has a database, it has server, it has hosting. A lot of them have connections to domains
as well too. Like you can just register a domain within it. So that's really amazing. But Codex
sites, if you live in Codex and I'm starting to live in Codex, I mean, I think it was about a
month ago I had Riley Brown on the podcast and I basically said like, hey, convince me to use
codex. I'm in the anthropic ecosystem, convince me to use Codex.
And now I will say it's a part of my daily driver.
Yes, I still live in the anthropic ecosystem, but I'm also using Codex.
And I think that if you are in Codex and you are putting just all your context there,
what's really cool about Codex sites is you can actually use that to go and build your ideas,
your apps, and stuff like that.
And what's the coolest part about Codex sites is it updates your,
your app
autonomously. So what does that mean?
It means that
you can have it basically
create a personal website, say,
and let's say
for example go to my personal website.
This is a static
website.
So I actually have to go in
and basically
158,000 people
enjoy reading my
newsletter, but when it becomes 160,000, I have to go and update it. But with Codex sites,
you can actually have it. So it automatically updates these things. It automatically creates,
for example, guides based on my content. It automatically, you know, adds the different companies
I work on. So it basically is this whole idea around autonomous product building. I've talked
about this on the podcast before, but the idea around you're going to have in the future. And the
future is now the present, basically agents going and updating products autonomously. But the thing is,
it is missing off. It's missing databases. It's missing payments. It's missing email sending.
It's missing analytics. And it's missing a vault for secrets. So a lot, you know, if you want something
more simple, everything is in there, you're going to want to use something like rapid or lovable.
But if you understand a little bit about off, if you understand a little bit about database,
payments, stuff like that.
And you live in the Codex ecosystem
and you are really interested in this whole idea
around autonomous apps.
Codex sites are really, really, really cool.
And I also say one thing.
Today, you can't publish these websites,
at least not to my knowledge,
you can't publish these websites
on your own domain and deploy it publicly.
These are internal apps that you can share
with your team right now.
But obviously, that's going to
change very, very, very, very soon. So let's get right into it. So I was thinking that we can
create a startup ideas OS. So basically a live board with columns, inbox, researching, validating,
building and killed startup ideas. And each card can have an idea, buyer, pain proof, next step,
and score. So this is something that could be an internal tool that I would use. And we're going to
basically try to build it in six prompts. And like I said, as I build it, I'm going to share
sort of the big takeaway. So the first thing we're going to do, let's go open Codex. So I created a new
project here. I opened a new chat. And the first thing is, you know, if you want to actually
use sites, you have to invoke it at sites. So it works basically as a plugin.
So I said build a startup OS.
I'm going to go ahead and send it.
And yeah, it works as a plugin.
You invoke it there.
And like I said, not everyone has access to it.
But I would imagine that access is probably coming really soon for plus people.
And by the way, I have no affiliation with OpenAI.
I just think this is a really interesting product.
and I wouldn't be making this episode if I didn't think that you can get a lot of value from it too.
So what is the insight I have for you about this particular prompt is that, you know, well, there's a few things.
Yeah, invoke. The way to get it going is you want to invoke sites.
You want to actually ask it to use realistic sample data. You also want to save it for review.
So I notice that sometimes when I prompt it an idea, it'll just try to deploy it.
So a really good tip is to save for review, do not deploy.
And this basically unlocks building a real product service, not a homepage.
So basically what I'm trying to do by building this is to build that whole idea around autonomously being able to edit it and work on it.
because that's sort of the dream state for me.
So let's go ahead and go back to Codex.
Okay, while that is being worked on,
I just wanted to say that if you go to the plugin section over here,
so you click plugins,
there's a bunch of plugins that are going to help you make your sites a lot better, right?
So a lot of people aren't using these plugins.
but think about like Figma.
Think about Canva.
Think about Hey Gen for Avatar videos.
Think about Remotion.
These are a bunch of plugins
that could make your ideas for your sites
a lot more interactive, a lot more interesting.
Another really interesting one that's underrated, I think,
is Game Studio.
So, you know, one of the biggest problems
that people have with vibe coding
and agentic engineering is they build something and no one no one's no one's going to it well
you know if you build games for example that actually generate buzz around what you're the bigger
you know the the product you're building that's a way to get attention and then you bring those
people into your core your core product now of course that needs to make sense for whatever it is
your building. And this works better with consumer apps, right? So you go and create a, you know,
a paperboy competitor that's fun to play, that you can kind of like news jack based on a particular
news topic. And then you bring those people into, you know, whatever core experiences. Maybe it's
an email newsletter or who knows. But the point is, like, I think a lot of people are sleeping
on this idea that you can go and create little apps that could bring them in.
into the core experience.
All right.
So it's built the board.
I think it looks pretty clean.
Got the inbox over here,
researching, validated, building, kill.
Definitely not the most beautiful,
but clean, minimalistic,
good enough for our first version.
So let's go back and keep going.
So how do we add?
memory, right? Because on Codex sites, it's not going to add memory without us basically getting it to
prompt it. So let's go ahead and go back into codex. I'm copying this prompt. So I say add
persistence storage. So ideas save between visits, stay stave between visits. Before coding, show me
the data model in which records action the app needs. And this is, by the way, these
prompts or similar prompts that you can use for when you're using codec sites.
So it says I'll use the site's building guidance here because this is a hosted app with storage.
Since you ask for the model first, I'm going to inspect the existing schema and then lay out
the proposed records and mutations before touching code.
So it says it's actually going to use Cloudflare, right?
I'll use CloudFair D1 as the durable store with one main record type ideas.
This already matches the project's current direction and,
Open AI has D1DB data model.
So then it goes and if you see here it says the record the apps need.
So it says it needs an idea, one card on the board.
It stores the full card content, the current column.
It needs the owner email.
And then these are the actions that the app needs.
List ideas, add idea, update idea, move idea, scoring the idea, archive the idea, ensure seated.
And then it says, I'll wait for your go-ahead before coding the persistent pass.
So this is the whole idea of safe actions, which are, you know, well, before I get into that,
why add memory?
Because we need for this to be a productive piece of software, we needed to remember things, right?
So we want to make sure that we've got that in there.
But the whole idea around safe actions is going to be, it's an unlock because we can be in other chats.
And because we live in Codex, we can basically say, hey, maybe I'm like ping ponging with Codex.
And then it hits me back with an idea, startup idea.
And I'm like, oh, this is really good.
Let me just add.
So let me just add idea.
And it'll directly add it to the application, which is so cool.
you're going to want to create safe actions because, you know, in order to get the most,
in order to get the most out of it. So I'm just going to go ahead and copy that prompt,
create safe actions for ad idea, update idea. And the reason, you know, it's important to,
that I, you know, I said, show me the data model in which record and actions the app needs is
you might not know what safe actions to create. So you might as well ask codex and it'll
give it to you right there. So for people, non-technical people,
especially like that. You might not know what your safe actions are. You just ask Codex what they should be.
So it says, I'll use the sites building workflow again. Since this is a worker D1 surface,
I'm going to inspect the current action routing and tighten into an explicit safe action boundary.
So the agent can only call named mutations rather than the arbitrary SQL. So you're starting to see that codex,
it does feel a little more technical than your lovable or your replet or your bowl.
But if you can stay with it, the output I think is super, super valuable.
Like the idea that you can have it self-update, the idea that you're in codex and you can
bring in all this stuff from codex, the idea that you can go into the plugins and just
use all the stuff from the get-go.
Like these are some of the, I mean, FAL, AI and image generation.
So much stuff, hugging face.
These are all open source models.
It's all built in from the get-go.
It's pretty sweet.
So that's completed.
So the next thing we're going to want to do is create a skill.
So we're going to copy this here so that the chats, our future chats, are going to know how to use this app.
So create a codec skill called Startup Ideas admin.
It should explain how to read the board, how to,
add ideas, how to move cards, how to score ideas, and include five example commands.
This is something that I think that is, you know, I started seeing people use Codex sites
and they're not using skills. And I'm like, this is one of the greatest parts of Codex sites
is the ability to create these skills. So you might as well, might as well start adding
some skills to get the most out of your application. So it says, I'll use the skill creator guidance
for this since you're asking for a new codex skill. I'm going to read the skill instructions
and create startup ideas admin in your local skill directories with the board action workflow and
example commands. The skill name is already valid and the scope is clear. Operational guidance
for this board and it's safe actions. So it's gone ahead and created the codex skill. It's done
everything we've asked for, reading the board, adding ideas, updating cards, moving cards,
scoring ideas, archiving ideas,
if I have example commands,
and it says validation pass,
the skill is valid.
It's going to be helpful
for you to actually save gates.
What do I mean by that?
I mean, you know,
the way I think about it is like a video game, right?
Like you have like checkpoints
as you go through a video game
and sometimes it'll auto save
and you're happy at auto save.
But the thing with Codex is
it doesn't auto save.
So it's helpful to go in there
and just say like, hey, just do a checkpoint here before a live URL.
So let's go ahead and go back into codex.
And I'll say, save this as V1 review.
Do not deploy.
Confirm built status, storage choice, access setting,
and the exact version I should review.
And I'll include, by the way, all these prompts,
I'll include in this show notes, in the description for people to download
so that they can go ahead and as they're building codec sites,
they can go and use some of this stuff.
So it says I'll use the sites hosting workflow for the save-only review session.
I'm going to validate the current build, confirm the storage access config,
commit the latest safe action changes, and then save a site's version without deploying.
There you go.
So prompt is done.
It's saved for review.
It isn't deployed.
The build status is passed.
The storage choice is still D1.
The access setting is custom.
One thing to note here is at the top.
right. You can see like your whole environment here. So you can see all the different changes you've made.
You can see if you're working on locally or you're connected to codex web. Here I'm connected to the
main branch. And so it's just all all up here on your top right. The last prompt I want to do
is the whole proving the loop process. So what I'm going to do is I'm going to grab this prompt
right here. And I'm going to say in a new chat, important that's in a new chat, use startup
ideas admin to add, here's a startup idea, AI agent SEO greater for local businesses, put it in an
inbox with a first pass score and the next step. And let's see if it actually can do that.
Does it open up a new chat or do we actually have to go and open up a new chat? Let's see.
It says, I'll treat this as two pieces. Use the new startup ideas, admin skill instructions and
create a fresh chat thread to do the actual board update there yes i'm loading the skill and finding
the thread creation tool now the skill says to only use oh look it's gone and opened it's gone and
created the chat i can open it right here so it says i'm using the skill um i'm going to find out
how the local app is meant to run i'm going to read the board i'm going to add the inbox card
and the safe action and verify by reading again exactly what i wanted to do the project is clean and
looks like a NextDile app with a worker and a verifiable script.
I'm checking the API implementation now so I can call the same local service the app expects.
The app exposes exactly the safe route the skill expects.
Yeah.
So this is doing exactly what I want it to be doing.
And let's see if it works.
All right.
So the prompt is done and says done using only the safe board API, which is what we wanted.
And the action layer, there's no raw SQL, no generic data.
database rights and no deploy. It's gone and did it. It went really, really fast. So now I'm going
to say, can you publish website and see what happens. So it's gone ahead and deployed it.
You'll notice that it's this crazy URL. And that's a downside of codex sites at the moment.
I think this is going to change. That's my prediction. It's going to change hopefully soon,
whether you're going to be able to have custom domains,
but I can go and open it in Codex browser on the right here.
It's got off built in here.
I do have to sign up.
So let me go ahead and sign up.
So as you can see, this is exactly what we wanted.
We've got the inbox, the researching, the validated.
If I make it bigger here, I can see more the building, the killed.
And it's got everything I've asked for, right?
Now, if I want a new idea, I can go and actually create a new idea, or again, I can use a safe action to go and do it, or I can have it run an automation every week to automatically add to this board.
So we've seen that you can actually do that.
I can go more in depth in a future video if people are interested in how to do automations and cron jobs and stuff like that.
but you can basically just ask codec sites go and do that for you.
And I think what's really cool is that like, you know, if you listen to this channel,
a lot of us are interested in creating startups that, you know,
we don't need big teams to manage, right?
And this whole, what's so cool about this is we're getting to this with codec sites.
We're getting to this if you can create agents that go and automatically update based on, you know,
different criteria
than, and these are products at work
and are valuable to people, then
that's sort of
the dream. So this
is it the most beautiful website
on the planet? No, does it work?
Yes. Does it look decent? Yes.
Could I get it to a point where it
looks beautiful? I can.
And
that's
pretty cool.
So to like TLDR it, like what are the main concepts to understand in within codex sites is number one, you're going to want to ask it to have memory, right?
You know, the app saves data, but without this, it's just a demo.
So you're going to have to ask it to save memory.
You're going to have to ask it to have a database.
a lot of people are starting to use convex with codex sites.
So that's something to look into.
I imagine that over time, it's just going to be easier and easier to use codex sites.
But now you do need a prompted to do a lot of these things.
The second things is this concept called safe action.
So this whole idea that you can have approved buttons.
And through that, you can have it auto.
animate adding, removing, editing your apps so that you are, as the human being, aren't doing
everything and you don't have to actually edit every website or app you create.
I used to run a web design agency was one of my first jobs.
And one of the things I used to say was a website is a living and breathing entity.
It isn't something that you hit publish and you can just like walk away forever.
And, you know, we're now in this era, 2026, where the agents are actually doing the updating, the editing, the removing.
And that's through things like safe actions.
And skills, like use skills with codex.
We saw how it could be valuable in this episode.
But a skill is basically this reusable instruction manual.
So Codex knows how to operate the app later.
So you're going to need to create skills so you can use the safe actions.
And obviously you're going to want to store that in the memory so that it does it safely and is giving the right information.
So all of this to say, the wow moment for me is building apps where I could do like, you know, in this example,
I can open a new chat and say, add this idea to my startup ideas OS.
It shows it in the live site updating, right?
So once it's published, I could just be like, do this and it's going to add it.
Or I can have an agent do it and it's going to add it and it's going to be all on my live website,
which is really cool.
I think that a lot of people are going to use codec sites to make personal web pages,
to make little apps and stuff like that.
but I actually think that the real unlock here is to make products that Codex can keep operating for you.
That is what's exciting me about Codex sites, is that if we can create ideas and apps and websites
that are automatically updated, automatically get better are autonomous, I just find that so,
so interesting.
And I think this is a trend that's only going to get bigger, better.
And it was interesting to see that Codex sites is leading the charge.
So, yeah, this has been a inside look as to how to use Codex sites, what I think is interesting
about it, some best practices.
I hope it's been helpful.
I'm just trying to share the new tools that I think are going to make increased.
I'm just trying to share the new tools that are going to increase the probability of success
for you, whatever it is your building, and just share the best way to use these tools and
give you ideas along the way. If this gave you an ounce of value, please like, comment, and
subscribe. I'll see you in the comment section. I read every single comment. And I'm rooting for you.
Whatever it is your building, I'm rooting for you. And I can't wait to see what you build.
I'll see you on the next one. And thank you for joining in the Startup Ideas podcast.
