WEBVTT

1
00:00:00.181 --> 00:00:04.160
I saw that Codex launched Sites and when I first saw the news I was like,

2
00:00:04.541 --> 00:00:09.900
is this just a worse version of Replit or Lovable that's just inside Codex?

3
00:00:10.500 --> 00:00:16.339
But the more I dug into it, the more I realized it's actually worth understanding how to use it

4
00:00:16.823 --> 00:00:18.237
and how to get the most out of it.

5
00:00:18.881 --> 00:00:25.600
So today is a full tutorial on basically what the big announcement is around Codex Sites,

6
00:00:25.984 --> 00:00:27.560
how does it compare to the competition.

7
00:00:28.485 --> 00:00:30.820
we're actually going to go and live build

8
00:00:31.203 --> 00:00:33.079
using Codex Sites and through that

9
00:00:33.262 --> 00:00:34.336
I'm actually going to teach you

10
00:00:35.405 --> 00:00:38.120
basically the best practices for using Codex Sites

11
00:00:38.261 --> 00:00:41.120
so by the end of this episode if you stick around

12
00:00:41.904 --> 00:00:45.500
I'm going to teach you how to build a shell using Codex Sites

13
00:00:45.943 --> 00:00:48.280
how to add memory using Codex Sites

14
00:00:48.662 --> 00:00:52.020
how to add what's called safe actions using Codex Sites

15
00:00:52.483 --> 00:00:54.800
and I'll explain what that means in the episode

16
00:00:55.223 --> 00:00:57.500
how to create skills with Codex Sites

17
00:00:57.883 --> 00:01:00.380
how to save gate using Codex sites,

18
00:01:00.842 --> 00:01:03.640
and how to prove the loop using Codex sites,

19
00:01:03.981 --> 00:01:07.040
which makes it work autonomously.

20
00:01:07.987 --> 00:01:08.780
Let's get into it.

21
00:01:17.423 --> 00:01:20.940
So what is the difference between Codex sites

22
00:01:21.624 --> 00:01:23.920
and Replit and Lovable and stuff like that?

23
00:01:24.020 --> 00:01:30.820
So I will say Repl.it and Lovable and those products are really good

24
00:01:31.302 --> 00:01:34.960
if you want to one-prompt something and it has an editor,

25
00:01:35.160 --> 00:01:37.520
it has a database, it has server, it has hosting.

26
00:01:37.700 --> 00:01:41.000
A lot of them have connections to domains as well too.

27
00:01:41.240 --> 00:01:45.060
You can just register a domain within it.

28
00:01:45.980 --> 00:01:47.580
So that's really amazing.

29
00:01:48.640 --> 00:01:51.140
But Codex sites, if you live in Codex,

30
00:01:51.905 --> 00:01:53.980
and I'm starting to live in Codex.

31
00:01:54.061 --> 00:01:55.900
I think it was about a month ago

32
00:01:56.001 --> 00:01:57.399
I had Riley Brown on the podcast

33
00:01:57.501 --> 00:01:59.140
and I basically said,

34
00:01:59.603 --> 00:02:01.180
convince me to use Codex.

35
00:02:01.280 --> 00:02:02.620
I'm in the Anthropic ecosystem,

36
00:02:03.220 --> 00:02:04.340
convince me to use Codex.

37
00:02:05.000 --> 00:02:08.060
And now I will say it's a part of my daily driver.

38
00:02:08.320 --> 00:02:09.960
Yes, I still live in the Anthropic ecosystem

39
00:02:10.121 --> 00:02:12.060
but I'm also using Codex.

40
00:02:14.144 --> 00:02:16.879
And I think that if you are in Codex

41
00:02:17.241 --> 00:02:20.060
and you are putting just all your context there,

42
00:02:20.484 --> 00:02:22.000
What's really cool about Codex Sites

43
00:02:23.084 --> 00:02:27.400
is you can actually use that to go and build your ideas,

44
00:02:28.100 --> 00:02:29.699
your apps, and stuff like that.

45
00:02:30.160 --> 00:02:31.840
And what's the coolest part about Codex Sites

46
00:02:32.061 --> 00:02:36.220
is it updates your app autonomously.

47
00:02:36.960 --> 00:02:37.719
So what does that mean?

48
00:02:39.081 --> 00:02:42.040
It means that you can have it basically

49
00:02:42.767 --> 00:02:44.240
create a personal website, say,

50
00:02:45.241 --> 00:02:47.995
and let's say, for example,

51
00:02:49.042 --> 00:02:50.120
go to my personal website.

52
00:02:51.860 --> 00:02:54.433
This is a static website.

53
00:02:57.001 --> 00:02:58.539
So I actually have to go in

54
00:02:59.022 --> 00:03:00.991
and basically 158,000 people

55
00:03:02.881 --> 00:03:04.400
enjoy reading my newsletter.

56
00:03:05.081 --> 00:03:06.393
But when it becomes 160,000,

57
00:03:07.381 --> 00:03:08.359
I have to go and update it.

58
00:03:08.740 --> 00:03:11.100
But with Codex Sites, you can actually have it

59
00:03:11.463 --> 00:03:13.420
so it automatically updates these things.

60
00:03:13.580 --> 00:03:15.380
It automatically creates, for example,

61
00:03:15.820 --> 00:03:17.200
guides based on my content.

62
00:03:17.401 --> 00:03:20.620
it automatically adds the different companies I work on.

63
00:03:20.800 --> 00:03:22.779
So it basically is this whole idea

64
00:03:23.142 --> 00:03:25.440
around autonomous product building.

65
00:03:25.620 --> 00:03:27.320
I've talked about this on the podcast before,

66
00:03:28.080 --> 00:03:32.679
but the idea around you're going to have in the future,

67
00:03:33.282 --> 00:03:34.540
and the future is now the present,

68
00:03:34.840 --> 00:03:38.040
basically agents going and updating products autonomously.

69
00:03:38.520 --> 00:03:41.100
But the thing is, it is missing auth,

70
00:03:41.241 --> 00:03:43.480
it's missing databases, it's missing payments,

71
00:03:43.700 --> 00:03:46.340
it's missing email sending, it's missing analytics,

72
00:03:46.845 --> 00:03:48.460
and it's missing a vault for secrets.

73
00:03:50.288 --> 00:03:51.560
If you want something more simple,

74
00:03:51.941 --> 00:03:53.120
everything is in there.

75
00:03:53.580 --> 00:03:55.400
You're going to want to use something like Repit or Lovable.

76
00:03:56.140 --> 00:03:58.720
But if you understand a little bit about auth,

77
00:03:58.780 --> 00:04:00.140
if you understand a little bit about database,

78
00:04:00.480 --> 00:04:01.459
payments, stuff like that,

79
00:04:02.566 --> 00:04:04.360
and you live in the Codex ecosystem

80
00:04:04.743 --> 00:04:06.780
and you are really interested in this whole idea

81
00:04:06.841 --> 00:04:08.500
around autonomous apps,

82
00:04:09.440 --> 00:04:13.000
Codex sites are really, really, really cool.

83
00:04:13.446 --> 00:04:14.460
And I also say one thing,

84
00:04:14.801 --> 00:04:19.140
Today, you can't publish these websites,

85
00:04:19.543 --> 00:04:20.560
at least not to my knowledge,

86
00:04:20.680 --> 00:04:23.260
you can't publish these websites on your own domain

87
00:04:23.482 --> 00:04:25.060
and deploy it publicly.

88
00:04:25.560 --> 00:04:29.060
These are internal apps that you can share with your team right now.

89
00:04:29.320 --> 00:04:32.357
But obviously that's going to change very, very, very soon.

90
00:04:33.421 --> 00:04:35.300
So let's get right into it.

91
00:04:35.701 --> 00:04:40.039
I was thinking that we can create a startup ideas OS,

92
00:04:40.522 --> 00:04:42.840
so basically a live board with columns,

93
00:04:44.028 --> 00:04:45.900
inbox, researching, validating, building

94
00:04:45.981 --> 00:04:47.300
and killed startup ideas

95
00:04:47.823 --> 00:04:51.240
and each card can have an idea, buyer, pain proof

96
00:04:51.484 --> 00:04:52.420
next step and score

97
00:04:52.942 --> 00:04:57.118
so this is something that could be an internal tool

98
00:04:57.742 --> 00:04:58.459
that I would use

99
00:04:58.983 --> 00:05:01.300
and we're going to basically try to build it in six prompts

100
00:05:01.603 --> 00:05:03.280
and like I said, as I build it

101
00:05:03.400 --> 00:05:07.380
I'm going to share sort of the big takeaway

102
00:05:07.662 --> 00:05:10.320
so the first thing we're going to do

103
00:05:10.401 --> 00:05:12.119
let's go open Codex

104
00:05:13.345 --> 00:05:16.159
so I created a new project here

105
00:05:17.125 --> 00:05:19.196
I opened a new chat

106
00:05:20.807 --> 00:05:22.320
and the first thing is

107
00:05:22.864 --> 00:05:24.780
if you want to actually use Sites

108
00:05:25.001 --> 00:05:27.740
you have to invoke it at Sites

109
00:05:27.841 --> 00:05:29.420
so it works basically as a plugin

110
00:05:30.147 --> 00:05:31.559
so I said build a startup OS

111
00:05:33.187 --> 00:05:35.898
I'm going to go ahead and send it

112
00:05:37.667 --> 00:05:40.180
and yeah it works as a plugin

113
00:05:40.504 --> 00:05:41.539
you invoke it there

114
00:05:42.908 --> 00:05:44.799
and like I said, not everyone has access to it

115
00:05:46.506 --> 00:05:49.660
but I would imagine that access is probably coming

116
00:05:49.982 --> 00:05:51.591
really soon for plus people.

117
00:05:53.220 --> 00:05:55.260
And by the way, I have no affiliation with OpenAI.

118
00:05:55.482 --> 00:05:57.800
I just think this is a really interesting product

119
00:05:58.285 --> 00:05:59.660
and I wouldn't be making this episode

120
00:05:59.781 --> 00:06:02.780
if I didn't think that you can get a lot of value from it too.

121
00:06:03.660 --> 00:06:06.719
So what is the insight I have for you

122
00:06:07.022 --> 00:06:08.419
about this particular prompt

123
00:06:09.243 --> 00:06:12.920
is that, well, there's a few things.

124
00:06:15.481 --> 00:06:17.380
Invoke, the way to get it going

125
00:06:17.481 --> 00:06:18.499
is you want to invoke sites.

126
00:06:21.223 --> 00:06:24.560
You want to actually ask it to use realistic sample data.

127
00:06:26.004 --> 00:06:27.860
You also want to save it for review.

128
00:06:28.101 --> 00:06:31.998
So I noticed that sometimes when I prompt an idea,

129
00:06:32.901 --> 00:06:34.519
it'll just try to deploy it.

130
00:06:35.280 --> 00:06:38.200
So a really good tip is to save for review,

131
00:06:38.323 --> 00:06:38.959
do not deploy.

132
00:06:40.340 --> 00:06:43.420
And this basically unlocks building a real product service,

133
00:06:43.641 --> 00:06:44.140
not a homepage.

134
00:06:44.480 --> 00:06:47.480
So basically what I'm trying to do by building this

135
00:06:47.701 --> 00:06:51.060
is to build that whole idea around autonomously

136
00:06:52.286 --> 00:06:54.919
being able to edit it and work on it

137
00:06:55.100 --> 00:06:56.811
because that's sort of the dream state for me.

138
00:06:59.740 --> 00:07:01.680
So let's go ahead and go back to Codex.

139
00:07:03.100 --> 00:07:05.190
Okay, while that is being worked on,

140
00:07:10.006 --> 00:07:14.260
I just wanted to say that if you go to the plugins section over here,

141
00:07:14.300 --> 00:07:17.040
so you click plugins, there's a bunch of plugins

142
00:07:17.221 --> 00:07:20.620
that are going to help you make your sites a lot better.

143
00:07:21.360 --> 00:07:24.900
So a lot of people aren't using these plugins,

144
00:07:26.240 --> 00:07:29.555
but think about Figma, think about Canva,

145
00:07:30.721 --> 00:07:34.380
think about HeyGen for avatar videos, think about Remotion.

146
00:07:35.163 --> 00:07:39.100
These are a bunch of plugins that could make your ideas

147
00:07:39.322 --> 00:07:41.240
for your sites a lot more interactive,

148
00:07:41.520 --> 00:07:42.894
a lot more interesting.

149
00:07:44.681 --> 00:07:47.260
Another really interesting one that's underrated, I think,

150
00:07:47.542 --> 00:07:48.820
is Game Studio.

151
00:07:51.585 --> 00:07:53.360
One of the biggest problems that people have

152
00:07:53.461 --> 00:07:55.340
with vibe coding and agentic engineering

153
00:07:55.400 --> 00:08:00.695
is they build something and no one's going to it.

154
00:08:03.003 --> 00:08:07.760
Well, if you build games, for example,

155
00:08:08.781 --> 00:08:12.674
that actually generate buzz around the product you're building,

156
00:08:14.540 --> 00:08:16.539
that's a way to get attention

157
00:08:16.901 --> 00:08:19.555
and then you bring those people into your core product.

158
00:08:20.620 --> 00:08:22.100
Now, of course, that needs to make sense

159
00:08:22.222 --> 00:08:23.160
for whatever it is you're building.

160
00:08:23.800 --> 00:08:25.400
And this works better with consumer apps.

161
00:08:25.661 --> 00:08:28.453
So you go and create a paperboy competitor

162
00:08:30.966 --> 00:08:32.796
that's fun to play that you can newsjack

163
00:08:33.681 --> 00:08:36.260
based on a particular news topic

164
00:08:36.805 --> 00:08:38.179
and then you bring those people

165
00:08:38.823 --> 00:08:42.580
into whatever your core experience is.

166
00:08:42.700 --> 00:08:44.620
Maybe it's an email newsletter or who knows.

167
00:08:45.243 --> 00:08:47.740
But the point is, I think a lot of people

168
00:08:47.801 --> 00:08:49.580
are sleeping on this idea that you can go

169
00:08:49.640 --> 00:08:52.077
and create little apps that could bring them

170
00:08:52.764 --> 00:08:53.900
into the core experience.

171
00:08:55.380 --> 00:08:57.879
All right, so it's built the board.

172
00:08:58.625 --> 00:08:59.914
I think it looks pretty clean.

173
00:09:02.281 --> 00:09:07.680
Got the inbox over here, researching, validated, building, killed.

174
00:09:07.940 --> 00:09:11.960
Definitely not the most beautiful, but clean, minimalistic,

175
00:09:13.608 --> 00:09:14.980
good enough for a first version.

176
00:09:16.481 --> 00:09:20.560
So let's go back and keep going.

177
00:09:21.720 --> 00:09:23.259
So how do we add memory?

178
00:09:23.501 --> 00:09:26.700
because on codex sites it's not going to add memory

179
00:09:26.780 --> 00:09:30.400
without us basically getting it to prompt it.

180
00:09:31.480 --> 00:09:33.960
So let's go ahead and go back into codex.

181
00:09:34.040 --> 00:09:35.039
I'm copying this prompt.

182
00:09:36.680 --> 00:09:38.639
So I say add persistent storage

183
00:09:39.483 --> 00:09:41.913
so ideas stay saved between visits.

184
00:09:44.703 --> 00:09:46.280
Before coding, show me the data model

185
00:09:46.462 --> 00:09:48.640
and which records action the app needs.

186
00:09:48.741 --> 00:09:51.480
And this is, by the way, these prompts are similar prompts

187
00:09:51.480 --> 00:09:53.980
that you can use for when you're using Codex sites.

188
00:09:55.802 --> 00:09:59.000
So it says, I'll use the site's building guidance here

189
00:09:59.101 --> 00:10:00.800
because this is a hosted app with storage.

190
00:10:01.380 --> 00:10:02.820
Since you asked for the model first,

191
00:10:02.920 --> 00:10:04.480
I'm going to inspect the existing schema

192
00:10:05.024 --> 00:10:07.300
and then lay out the proposed records and mutations

193
00:10:07.766 --> 00:10:08.860
before touching code.

194
00:10:11.543 --> 00:10:13.860
So it says it's actually going to use Cloudflare, right?

195
00:10:14.102 --> 00:10:16.580
I'll use Cloudflare D1 as the durable store

196
00:10:16.721 --> 00:10:18.420
with one main record type ideas.

197
00:10:18.660 --> 00:10:20.900
This already matches the project's current direction

198
00:10:21.564 --> 00:10:24.220
and OpenAI has D1DB data model.

199
00:10:25.880 --> 00:10:28.340
So then it goes and if you see here,

200
00:10:28.400 --> 00:10:30.020
it says the record the apps need.

201
00:10:30.160 --> 00:10:33.140
So it says it needs an idea, one card on the board,

202
00:10:33.723 --> 00:10:36.040
it stores the full card content, the current column,

203
00:10:36.741 --> 00:10:38.280
it needs the owner email,

204
00:10:39.261 --> 00:10:42.220
and then these are the actions that the app needs.

205
00:10:42.381 --> 00:10:45.160
List ideas, add idea, update idea, move idea,

206
00:10:45.420 --> 00:10:49.040
scoring the idea, archive the idea, ensure seeded.

207
00:10:51.405 --> 00:10:53.060
And then it says, I'll wait for your go ahead

208
00:10:53.161 --> 00:10:55.300
before coding the persistent pass.

209
00:10:57.642 --> 00:11:01.320
So this is the whole idea of safe actions,

210
00:11:01.541 --> 00:11:06.500
which are, well, before I get into that,

211
00:11:06.920 --> 00:11:08.000
why add memory?

212
00:11:08.440 --> 00:11:13.320
Because we need for this to be a productive piece of software.

213
00:11:13.480 --> 00:11:14.820
We need it to remember things, right?

214
00:11:15.142 --> 00:11:16.800
So we want to make sure that we've got that in there.

215
00:11:17.300 --> 00:11:20.340
But the whole idea around safe actions is going to be,

216
00:11:20.642 --> 00:11:23.700
It's an unlock because we can be in other chats

217
00:11:24.344 --> 00:11:26.640
and because we live in Codex, we can basically say,

218
00:11:27.421 --> 00:11:30.199
hey, maybe I'm ping-ponging with Codex

219
00:11:30.380 --> 00:11:34.740
and then it hits me back with an idea, a startup idea,

220
00:11:34.960 --> 00:11:36.160
and I'm like, oh, this is really good.

221
00:11:36.340 --> 00:11:41.720
Let me just add, sorry, let me just add idea

222
00:11:41.982 --> 00:11:44.180
and it'll directly add it to the application,

223
00:11:44.320 --> 00:11:45.099
which is so cool.

224
00:11:46.382 --> 00:11:48.920
So you're going to want to create safe actions

225
00:11:48.980 --> 00:11:50.608
in order to get the most out of it.

226
00:11:53.140 --> 00:11:55.340
So I'm just going to go ahead and copy that prompt,

227
00:11:55.440 --> 00:11:57.600
create safe actions for add idea, update idea.

228
00:11:58.620 --> 00:12:01.773
And the reason it's important that I said,

229
00:12:03.740 --> 00:12:06.460
show me the data model in which record and actions the app needs is,

230
00:12:06.722 --> 00:12:08.840
you might not know what safe actions to create,

231
00:12:09.000 --> 00:12:11.519
so you might as well ask Codex

232
00:12:12.005 --> 00:12:13.200
and it'll give it to you right there.

233
00:12:14.840 --> 00:12:17.380
So for people, non-technical people, especially like that,

234
00:12:17.703 --> 00:12:19.180
you might not know what your safe actions are

235
00:12:19.523 --> 00:12:21.179
you just ask Codex what they should be

236
00:12:21.984 --> 00:12:24.500
so it says I'll use the site's building workflow again

237
00:12:24.782 --> 00:12:26.458
since this is a worker D1 service

238
00:12:28.530 --> 00:12:30.540
I'm going to inspect the current action routing

239
00:12:30.641 --> 00:12:33.040
and tighten it into an explicit safe action boundary

240
00:12:33.181 --> 00:12:36.740
so the agent can only call named mutations

241
00:12:37.024 --> 00:12:38.299
rather than the arbitrary SQL

242
00:12:39.046 --> 00:12:40.479
so you're starting to see that Codex

243
00:12:41.165 --> 00:12:42.760
it does feel a little more technical

244
00:12:43.082 --> 00:12:46.580
than your lovable or your replet or your bolt

245
00:12:48.027 --> 00:12:50.199
but if you can stay with it

246
00:12:51.685 --> 00:12:55.420
the output I think is super, super valuable

247
00:12:55.762 --> 00:12:59.037
the idea that you can have it self-update

248
00:12:59.741 --> 00:13:01.419
the idea that you're in Codex

249
00:13:01.520 --> 00:13:03.820
and you can bring in all this stuff from Codex

250
00:13:03.941 --> 00:13:05.780
the idea that you can go into the plugins

251
00:13:06.885 --> 00:13:10.160
and just use all this stuff from the get-go

252
00:13:11.188 --> 00:13:12.318
these are some of the

253
00:13:14.349 --> 00:13:16.520
FAL, AI and image generation

254
00:13:17.003 --> 00:13:20.040
So much stuff, Hugging Face, these are all open source models.

255
00:13:20.803 --> 00:13:23.200
It's all built in from the get-go.

256
00:13:24.040 --> 00:13:24.760
It's pretty sweet.

257
00:13:25.800 --> 00:13:26.580
So that's completed.

258
00:13:27.020 --> 00:13:29.360
So the next thing we're going to want to do is create a skill.

259
00:13:30.260 --> 00:13:34.140
So we're going to copy this here so that the chats,

260
00:13:34.260 --> 00:13:38.300
our future chats, are going to know how to use this app.

261
00:13:39.840 --> 00:13:42.940
So create a codec skill called Startup Ideas Admin.

262
00:13:43.565 --> 00:13:45.280
It should explain how to read the board,

263
00:13:45.360 --> 00:13:48.160
how to add ideas, how to move cards,

264
00:13:48.300 --> 00:13:51.340
how to score ideas and include five example commands.

265
00:13:51.900 --> 00:13:54.139
This is something that I think that is,

266
00:13:55.504 --> 00:13:57.780
I started seeing people use Codex sites

267
00:13:57.922 --> 00:13:59.377
and they're not using skills.

268
00:13:59.960 --> 00:14:02.360
And I'm like, this is one of the greatest parts

269
00:14:03.104 --> 00:14:05.900
of Codex sites is the ability to create these skills.

270
00:14:06.560 --> 00:14:08.568
So you might as well start adding some skills

271
00:14:12.123 --> 00:14:13.660
to get the most out of your application.

272
00:14:13.820 --> 00:14:14.120
So it says,

273
00:14:43.780 --> 00:14:49.596
ideas, archiving ideas, five example commands, and it says validation pass.

274
00:14:49.877 --> 00:14:50.980
The skill is valid.

275
00:14:51.760 --> 00:14:55.813
It's going to be helpful for you to actually save gates.

276
00:14:56.395 --> 00:14:57.378
What do I mean by that?

277
00:14:57.679 --> 00:14:57.960
I mean,

278
00:14:58.640 --> 00:15:00.633
you know, the way I think about it is like a video game, right?

279
00:15:00.653 --> 00:15:01.780
Like you have like checkpoints

280
00:15:02.201 --> 00:15:08.100
as you go through a video game and sometimes it'll auto save and you're happy it auto saves.

281
00:15:08.180 --> 00:15:10.950
But the thing with Codex is it doesn't auto save.

282
00:15:11.031 --> 00:15:13.480
So it's helpful to go in there and just say like,

283
00:15:13.540 --> 00:15:16.400
hey, just do a checkpoint here before a live URL.

284
00:15:17.621 --> 00:15:20.180
So let's go ahead and go back into Codex.

285
00:15:21.740 --> 00:15:25.080
And I'll say, save this as v1 review, do not deploy.

286
00:15:25.680 --> 00:15:28.480
Confirm build status, storage choice, access setting,

287
00:15:28.821 --> 00:15:30.620
and the exact version I should review.

288
00:15:31.100 --> 00:15:32.720
And I'll include, by the way, all these prompts,

289
00:15:32.800 --> 00:15:35.040
I'll include in this show notes in the description

290
00:15:35.341 --> 00:15:39.060
for people to download so that they can go ahead

291
00:15:40.490 --> 00:15:41.840
and as they're building Codex sites,

292
00:15:44.153 --> 00:15:45.460
they can go and use some of this stuff.

293
00:15:46.221 --> 00:15:46.500
So it says,

294
00:15:46.660 --> 00:15:47.960
I'll use the site's hosting workflow

295
00:15:48.162 --> 00:15:49.460
for the save only review session.

296
00:15:49.940 --> 00:15:51.380
I'm going to validate the current build,

297
00:15:51.580 --> 00:15:53.060
confirm the storage access config,

298
00:15:53.720 --> 00:15:55.299
commit the latest safe action changes,

299
00:15:55.560 --> 00:15:57.580
and then save a site's version without deploying.

300
00:15:58.382 --> 00:15:58.880
There you go.

301
00:15:59.242 --> 00:16:01.300
So prompt is done, it's saved for review,

302
00:16:01.420 --> 00:16:04.000
it isn't deployed, the build status is passed,

303
00:16:05.284 --> 00:16:06.418
the storage choice is still D1,

304
00:16:06.640 --> 00:16:08.040
the access setting is custom.

305
00:16:10.552 --> 00:16:12.120
one thing to note here is at the top right

306
00:16:12.201 --> 00:16:14.059
you can see your whole environment here

307
00:16:14.160 --> 00:16:16.580
so you can see all the different changes you made

308
00:16:16.681 --> 00:16:18.240
you can see if you're working on locally

309
00:16:18.483 --> 00:16:19.939
or you're connected to Codex Web

310
00:16:21.389 --> 00:16:22.979
here I'm connected to the main branch

311
00:16:24.986 --> 00:16:29.200
and so it's just all up here on your top right

312
00:16:30.389 --> 00:16:31.880
the last prompt I want to do

313
00:16:31.961 --> 00:16:34.180
is the whole proving the loop process

314
00:16:34.362 --> 00:16:35.859
so what I'm going to do is

315
00:16:35.960 --> 00:16:37.478
I'm going to grab this prompt right here

316
00:16:39.229 --> 00:16:41.200
and I'm going to say in a new chat

317
00:16:41.743 --> 00:16:43.270
use startup ideas admin to add

318
00:16:45.484 --> 00:16:46.420
here's a startup idea

319
00:16:46.843 --> 00:16:49.280
AI agent SEO grader for local businesses

320
00:16:50.024 --> 00:16:52.400
put it in an inbox with a first pass score

321
00:16:52.543 --> 00:16:53.239
and the next step

322
00:16:53.381 --> 00:16:55.079
and let's see if it actually can do that

323
00:16:55.706 --> 00:16:56.860
does it open up a new chat

324
00:16:57.001 --> 00:16:59.140
or do we actually have to go and open up a new chat

325
00:16:59.669 --> 00:17:00.158
let's see

326
00:17:01.066 --> 00:17:02.820
it says I'll treat this as two pieces

327
00:17:03.042 --> 00:17:05.720
use the new startup ideas admin skill instructions

328
00:17:05.740 --> 00:17:07.540
and create a fresh chat thread

329
00:17:07.641 --> 00:17:09.680
to do the actual board update there.

330
00:17:10.382 --> 00:17:12.880
I'm loading the skill and finding the thread creation tool now.

331
00:17:13.500 --> 00:17:15.352
The skill says to only use...

332
00:17:16.480 --> 00:17:18.540
Oh, look, it's gone and opened.

333
00:17:19.102 --> 00:17:20.300
It's gone and created the chat.

334
00:17:20.420 --> 00:17:21.499
I can open it right here.

335
00:17:22.380 --> 00:17:24.320
So it says I'm using the skill.

336
00:17:26.323 --> 00:17:28.120
I'm going to find out how the local app is meant to run.

337
00:17:28.200 --> 00:17:28.979
I'm going to read the board.

338
00:17:29.081 --> 00:17:31.660
I'm going to add the inbox card and the safe action

339
00:17:31.660 --> 00:17:34.360
and verify by reading again exactly what I wanted to do.

340
00:17:34.441 --> 00:17:37.020
The project is clean and looks like a NextStyle app

341
00:17:37.080 --> 00:17:38.800
with a worker and a verifiable script.

342
00:17:39.180 --> 00:17:40.880
I'm checking the API implementation now

343
00:17:41.000 --> 00:17:44.200
so I can call the same local service the app expects.

344
00:17:44.840 --> 00:17:48.540
The app exposes exactly the safe route the skill expects.

345
00:17:49.342 --> 00:17:52.860
This is doing exactly what I want it to be doing.

346
00:17:54.946 --> 00:17:55.679
Let's see if it works.

347
00:17:57.708 --> 00:17:58.400
The prompt is done.

348
00:17:58.400 --> 00:18:00.539
It says done using only the safe board API

349
00:18:00.781 --> 00:18:02.740
which is what we wanted in the action layer.

350
00:18:02.861 --> 00:18:06.160
There's no raw SQL, no generic database rights,

351
00:18:06.261 --> 00:18:06.879
and no deploy.

352
00:18:07.683 --> 00:18:08.697
It's gone and did it.

353
00:18:09.020 --> 00:18:10.219
It went really, really fast.

354
00:18:11.880 --> 00:18:12.800
So now I'm going to say,

355
00:18:15.288 --> 00:18:17.294
can you publish website and see what happens?

356
00:18:20.943 --> 00:18:23.380
So it's gone ahead and deployed it.

357
00:18:23.820 --> 00:18:26.460
You'll notice that it's this crazy URL.

358
00:18:26.960 --> 00:18:30.520
And that's a downside of Codex sites at the moment.

359
00:18:30.682 --> 00:18:31.920
I think this is going to change.

360
00:18:32.000 --> 00:18:32.499
That's my prediction.

361
00:18:32.540 --> 00:18:34.680
is going to change hopefully soon,

362
00:18:35.161 --> 00:18:36.840
where you're going to be able to have custom domains.

363
00:18:37.040 --> 00:18:40.500
But I can go and open it in Codex Browser on the right here.

364
00:18:40.740 --> 00:18:42.240
It's got auth built in here.

365
00:18:43.000 --> 00:18:46.020
I do have to sign up, so let me go ahead and sign up.

366
00:18:49.262 --> 00:18:51.480
As you can see, this is exactly what we wanted.

367
00:18:51.640 --> 00:18:53.980
We've got the inbox, the researching, the validated.

368
00:18:55.202 --> 00:18:56.639
If I make it bigger here,

369
00:18:56.982 --> 00:18:59.680
I can see more, the building, the killed.

370
00:19:02.823 --> 00:19:04.500
And it's got everything I've asked for, right?

371
00:19:06.201 --> 00:19:08.100
Now, if I want a new idea,

372
00:19:08.341 --> 00:19:10.220
I can go and actually create a new idea.

373
00:19:10.962 --> 00:19:13.220
Or again, I can use a safe action to go and do it.

374
00:19:13.521 --> 00:19:17.360
Or I can have it run an automation every week

375
00:19:17.662 --> 00:19:20.620
to automatically add to this board.

376
00:19:20.780 --> 00:19:22.540
So we've seen that you can actually do that.

377
00:19:24.383 --> 00:19:26.420
I can go more in depth in a future video

378
00:19:26.480 --> 00:19:28.560
if people are interested in how to do automations

379
00:19:28.662 --> 00:19:29.760
and cron jobs and stuff like that.

380
00:19:29.780 --> 00:19:33.940
but you can basically just ask Codex Sites

381
00:19:33.980 --> 00:19:35.099
to go and do that for you.

382
00:19:36.360 --> 00:19:37.559
And I think what's really cool is that

383
00:19:37.701 --> 00:19:41.120
if you listen to this channel,

384
00:19:41.360 --> 00:19:43.920
a lot of us are interested in creating startups

385
00:19:44.281 --> 00:19:48.498
that we don't need big teams to manage.

386
00:19:49.601 --> 00:19:51.599
And what's so cool about this is

387
00:19:52.104 --> 00:19:53.920
we're getting to this with Codex Sites.

388
00:19:54.021 --> 00:19:56.340
We're getting to this if you can create agents

389
00:19:56.360 --> 00:19:57.819
that go and automatically update

390
00:19:57.981 --> 00:20:01.320
based on different criterias

391
00:20:01.803 --> 00:20:03.371
and these are products that work

392
00:20:04.981 --> 00:20:06.060
and are valuable to people

393
00:20:06.080 --> 00:20:08.332
then that's sort of the dream.

394
00:20:10.601 --> 00:20:13.580
So is it the most beautiful website on the planet?

395
00:20:13.802 --> 00:20:13.889
No.

396
00:20:14.141 --> 00:20:14.676
Does it work?

397
00:20:15.101 --> 00:20:15.420
Yes.

398
00:20:15.581 --> 00:20:16.580
Does it look decent?

399
00:20:16.921 --> 00:20:17.154
Yes.

400
00:20:17.460 --> 00:20:19.660
Could I get it to a point where it looks beautiful?

401
00:20:20.747 --> 00:20:21.339
I can.

402
00:20:22.523 --> 00:20:28.040
and that's pretty cool.

403
00:20:29.880 --> 00:20:32.212
So to TLDR it,

404
00:20:34.081 --> 00:20:36.340
what are the main concepts to understand

405
00:20:37.728 --> 00:20:39.940
within Codex Sites is number one,

406
00:20:40.420 --> 00:20:44.240
you're going to want to ask it to have memory, right?

407
00:20:44.903 --> 00:20:48.540
The app saves data, but without this, it's just a demo.

408
00:20:48.822 --> 00:20:51.360
So you're going to have to ask it to save memory.

409
00:20:51.500 --> 00:20:53.320
You're going to have to ask it to have a database.

410
00:20:54.480 --> 00:21:00.080
A lot of people are starting to use convex with codex sites.

411
00:21:00.480 --> 00:21:01.420
So it's something to look into.

412
00:21:02.661 --> 00:21:07.640
I imagine that over time it's just going to be easier and easier to use codex sites.

413
00:21:08.460 --> 00:21:10.920
But now you do need a prompted to do a lot of these things.

414
00:21:11.423 --> 00:21:13.720
The second thing is this concept called safe action.

415
00:21:13.921 --> 00:21:17.640
So this whole idea that you can have approved buttons

416
00:21:20.188 --> 00:21:23.339
and through that you can have it automate adding,

417
00:21:25.120 --> 00:21:27.299
removing, editing your apps

418
00:21:28.605 --> 00:21:32.600
so that you as the human being aren't doing everything

419
00:21:32.741 --> 00:21:34.919
and you don't have to actually edit

420
00:21:35.764 --> 00:21:38.260
every website or app you create.

421
00:21:40.481 --> 00:21:42.540
I used to run a web design agency

422
00:21:42.662 --> 00:21:43.800
was one of my first jobs.

423
00:21:46.185 --> 00:21:47.297
One of the things I used to say was,

424
00:21:47.780 --> 00:21:50.019
a website is a living and breathing entity.

425
00:21:51.502 --> 00:21:52.980
It isn't something that you hit publish

426
00:21:53.563 --> 00:21:56.540
and you can just walk away forever.

427
00:21:58.763 --> 00:21:59.935
We're now in this era, 2026,

428
00:22:00.561 --> 00:22:02.760
where the agents are actually doing

429
00:22:02.881 --> 00:22:06.476
the updating, the editing, the removing.

430
00:22:07.680 --> 00:22:09.540
And that's through things like safe actions.

431
00:22:10.465 --> 00:22:13.420
and skills, like use skills with Codex.

432
00:22:13.903 --> 00:22:16.479
We saw how it could be valuable in this episode,

433
00:22:17.220 --> 00:22:19.840
but a skill is basically this reusable instruction manual

434
00:22:20.343 --> 00:22:22.820
so Codex knows how to operate the app later.

435
00:22:23.420 --> 00:22:25.600
So you're going to need to create skills

436
00:22:25.781 --> 00:22:27.995
so you can use the safe actions

437
00:22:29.322 --> 00:22:32.960
and obviously you're going to want to store that in the memory

438
00:22:33.443 --> 00:22:36.360
so that it does it safely

439
00:22:36.924 --> 00:22:39.080
and is giving the right information.

440
00:22:39.821 --> 00:22:43.579
So all this to say, the wow moment for me

441
00:22:45.911 --> 00:22:47.520
is building apps where I could do,

442
00:22:48.826 --> 00:22:50.780
in this example, I could open a new chat

443
00:22:51.042 --> 00:22:53.138
and say, add this idea to my startup ideas OS.

444
00:22:54.925 --> 00:22:57.000
It shows it in the live site updating.

445
00:22:57.561 --> 00:23:00.439
So once it's published, I could just be like,

446
00:23:02.247 --> 00:23:03.620
do this, and it's going to add it.

447
00:23:03.741 --> 00:23:05.780
Or I can have an agent do it, and it's going to add it.

448
00:23:05.840 --> 00:23:09.840
and it's going to be all on my live website,

449
00:23:09.960 --> 00:23:10.720
which is really cool.

450
00:23:12.041 --> 00:23:14.120
I think that a lot of people are going to use Codex sites

451
00:23:14.261 --> 00:23:15.900
to make personal web pages,

452
00:23:16.700 --> 00:23:19.279
to make little apps and stuff like that.

453
00:23:20.221 --> 00:23:23.040
But I actually think that the real unlock here

454
00:23:23.341 --> 00:23:26.680
is to make products that Codex can keep operating for you.

455
00:23:27.100 --> 00:23:29.400
That is what's exciting me about Codex sites,

456
00:23:29.842 --> 00:23:34.600
is that if we can create ideas and apps and websites

457
00:23:35.123 --> 00:23:37.500
that are automatically updated, automatically get better,

458
00:23:38.088 --> 00:23:38.660
are autonomous.

459
00:23:39.260 --> 00:23:40.780
I just find that so, so interesting

460
00:23:40.840 --> 00:23:43.700
and I think this is a trend that's only going to get bigger, better.

461
00:23:44.300 --> 00:23:46.080
And it was interesting to see that Codex Sites

462
00:23:46.867 --> 00:23:48.200
is leading the charge.

463
00:23:49.922 --> 00:23:54.040
This has been an inside look as to how to use Codex Sites,

464
00:23:54.525 --> 00:23:56.000
what I think is interesting about it,

465
00:23:56.541 --> 00:23:57.560
some best practices.

466
00:23:57.940 --> 00:23:58.858
I hope it's been helpful.

467
00:23:59.200 --> 00:24:00.649
I'm just trying to share the new tools

468
00:24:02.420 --> 00:24:06.240
that I think are going to make increased,

469
00:24:07.063 --> 00:24:08.720
I'm just trying to share the new tools

470
00:24:08.740 --> 00:24:11.820
that are going to increase the probability of success for you,

471
00:24:11.920 --> 00:24:12.940
whatever it is you're building,

472
00:24:13.722 --> 00:24:15.820
and just share the best way to use these tools

473
00:24:16.788 --> 00:24:18.200
and give you ideas along the way.

474
00:24:18.921 --> 00:24:20.540
If this gave you an ounce of value,

475
00:24:20.760 --> 00:24:23.360
please like, comment, and subscribe.

476
00:24:24.040 --> 00:24:25.080
I'll see you in the comments section.

477
00:24:25.200 --> 00:24:29.920
I read every single comment and I'm rooting for you.

478
00:24:30.381 --> 00:24:32.159
Whatever it is you're building, I'm rooting for you.

479
00:24:32.602 --> 00:24:34.660
and I can't wait to see what you build.

480
00:24:34.964 --> 00:24:36.019
I'll see you on the next one,

481
00:24:36.520 --> 00:24:40.620
and thank you for joining in the Startup Ideas podcast.
