start	end	text
0	2407	So, Codex is an absolutely incredible super app.
2407	5851	I've been using it a lot more lately, and I'm not saying that I'm ditching Claude Code.
5851	9378	I still use them both regularly because they're both good at different things.
9378	18950	So, today's video, I'm going to break down every single important thing that you need to know about Codex to be able to, you know, open up the app for the first time and then actually have finished automations and websites and whatever you want to do
18960	21070	in Codex done by the end of this video.
21080	27271	So, whether you've never opened up a tool like this before or if you're already kind of used to using Claude Code, I'm going to break down everything as simple as I can.
27271	36513	So, first of all, if you fit in this bucket of someone that uses ChatGPT just on the web or uses Claude, you are going to get this really quick because what we're looking at right here is ChatGPT.
36513	44232	We have the ability to make new chats, we can search through chats, we can have different projects, we can have all of our different chats over here, and then we talk to chat right here.
44232	49695	And if I open up the Codex app, which is what we're going to be using today for the entire video, it looks pretty much the exact same.
49695	54480	We have projects on the left, we have chats on the left, and then we can talk to ChatGPT right here.
54480	59670	We use this toggle to change the model whether we want to use GPT 5.5, 5.4, or other models.
59670	62910	We can change the speed, and then we can also change the intelligence.
62910	64911	So, low, medium, high, or extra high.
64911	68054	And I'll get into this stuff a little bit later in more depth.
68054	75877	And this is also very similar to the Claude Code desktop app where we have the ability to chat with Claude right here, and then on the left-hand side we can see our chats and our projects.
75877	77187	So, that is the interface.
77187	78310	Don't get overwhelmed.
78320	86710	So, I'm going to get you guys all familiar with the interface and go over all the settings that you need to know, and then I'm going to show you a full project from beginning to end building skills, connecting to things, building
86720	89859	automations, and then deploying on some sort of website.
89859	90571	So, buckle up.
90571	92440	All right, so what actually is Codex?
92440	95270	Codex is basically a massive super app.
95270	103602	We can use ChatGPT same way you talk to it on the web, but now we work in projects, and Codex can create Excel sheets, read Excel sheets, look through all your local files.
103602	109369	It can do basically anything on your computer including using the mouse and keyboard and clicking around and automating a browser.
109369	111632	It also lets us build these reusable skills.
111632	119514	We can build websites, we can build apps, we can build video games, and then we can automate and push all that stuff so that it actually runs while we're sleeping every night.
119514	123035	So, the main difference here between web chat is that you're basically just talking.
123035	126395	And you have these connectors in chat GPT now, so you can get a little bit more functionality.
126395	130070	You can give that AI brain a bit more of like hands.
130080	133030	But, in Codex, it can do everything.
133040	138438	It's one of those things where Codex can do everything that chat can do, but chat cannot do nearly as much as what Codex can do.
138438	141022	So, you might as well just switch over to something like Codex.
141022	145565	And if you are curious about the Claude code versus Codex difference, they're different harnesses, right?
145565	148958	So, they fundamentally work a little bit different, but very similarly.
148958	150588	They also use different models.
150588	157110	So, Claude code natively under the hood uses Opus and Sonnet and Haiku, and Codex under the hood uses the different chat GPT models.
157120	162666	Now, I did do a full breakdown where I actually tested Opus 4.7 against GPT 5.5, and I got some really interesting results.
162666	165575	So, if you guys want to check out this video next, I'll tag that right up here.
165575	167901	I definitely think it's worth just at least skimming through.
167901	173009	Because ultimately, these models have very different strengths is what I've noticed after playing with them non-stop.
173009	179747	I really like Claude for being sort of like exploratory and brainstorming and helping me get creative and think through things and plan.
179747	182430	But then, I really like Codex for being pragmatic.
182440	186944	And it feels like it does better at following my plan if the plan grows longer and longer.
186944	194098	And it's really good at executing, and it's really good at finding issues and troubleshooting things that sometimes Claude, for some reason, can't handle.
194098	196850	So, I'm not in here saying that I love Codex more than Claude code.
196850	200589	I'm saying that I'm using them both, and I'm learning more about both every day.
200589	205494	And one other thing I really like about Codex is you can see my little pet down here, which I'll tell you guys how you get this later.
205494	210526	But this pet, while you're working, it stays in the bottom of your screen, and it tells you what it's working on.
210526	214430	So, it's really nice to be able to multitask and see what's happening inside of Codex.
214440	215770	And the pet's kind of funny.
215770	217117	And it's more than just having chats.
217117	219959	It's the ability to have everything organized on your workspace.
219959	229512	So, if you guys watch my recent video about Claude code operating system, or you've seen my executive assistant video, this is my heart two project, which is basically where I live inside of Claude code.
229512	232029	And all of this is is a bunch of folders and files.
232029	233388	I've got a bunch of files here.
233388	234727	I've got a bunch of different folders.
234727	235401	I've got settings.
235401	236114	I've got skills.
236114	236849	I've got agents.
236849	237798	I've got projects.
237798	239898	I've got all these things that I'm working on.
239898	242430	And all this is is a bunch of local files.
242440	246942	Which means I can have Codex work inside of this directory and do everything as well.
246942	251729	All that we're doing when we're using these different models is we're organizing things into a structure.
251729	253803	A structure that different agent harnesses can understand.
253803	260590	And whether you want to use Codex or Claude Code or Cursor or, you know, Open Claw, whatever it is, they can all work out of that directory.
260600	265170	As long as you have some sort of instructions and guidelines over what actually lives where.
265170	270732	Okay, so basically what I'm going to be building with you guys today is a bit of a YouTube comment intelligence system.
270732	274179	So we want to be able to pull in YouTube comments from my channel.
274179	275986	We want to be able to have those be analyzed.
275986	277241	We want a workbook in Excel.
277241	279184	We want like some data visualization.
279184	284306	And we want a dashboard that lives somewhere on the web so I could go check it on my phone if I'm out on a walk.
284306	286701	And I'm going to show you how we ship and deploy all of that.
286701	290356	So basically from zero to a working project is what I'm going to show you guys today.
290356	293923	So, let me go ahead and open up the Codex app and show you guys how this works.
293923	297550	Now real quick, what you have to do is have some sort of ChatGPT plan.
297560	300322	The good news is if you're on free, you can still try out Codex.
300322	301907	You have limited Codex access.
301907	305420	But I would recommend just hopping on the $20 a month plan to get started.
305420	309670	And if you're running into your limits pretty quickly, then maybe you want to upgrade to Pro.
309680	316364	Now what else is really nice about ChatGPT subscription is you can plug it into Open Claw or Hermes Agent, which is really really nice.
316364	321197	Because obviously it's so much more expensive to pay per token rather than being on some sort of subscription.
321197	325663	And then you're just going to go ahead and go to Codex and then just download the app for your operating system.
325663	327908	That's the way that we're going to be using it today.
327908	334635	Ultimately, you will be getting more full functionality if you're using Codex in VS Code extension or in the terminal.
334635	339110	But for the sake of the video, using the app is going to get you super far either way.
339120	342433	There's just a few little things you want to keep in mind, which is why I'm making this YouTube video.
342433	344707	All right, so let's go ahead and get started.
344707	351028	So, on the left-hand side you can see I've got one project open, and this project is actually how I built the slide deck that you were looking at earlier.
351028	359449	So, this slide deck I built right here in this project, and you can see because I'm in the app, Codex lets us basically navigate this right here in this little localhost browser.
359449	368030	And this is also where if I said, "Hey, can you use browser use and test out this slide deck to make sure everything looks good and make sure it functionally like clicks and moves?"
368040	373849	Then it would bring up a mouse over here, and we would see it move around, and we would see it click, which I'll show you guys later in the video.
373849	383791	But anyways, what we're going to do is we're going to start a new project because over here you can see we have a bunch of random chats, which can still do things like building games and building automations and simulators.
383791	392393	But what we want to do is we want to work inside of an actual project because these chats, any deliverable that we create doesn't really have a home, you know, it just lives somewhere random in our documents.
392393	403310	But when we're working in a certain project, I can actually grab the local working directory, so I copy that, and if I go into my file explorer and paste that in, now I'm inside of the actual project that we're working on in
403320	403638	Codex.
403638	407053	So, now I can see different assets that live in this project, all these images.
407053	413315	I can see different guides, and I can have a little bit more organization to this ongoing project in my business.
413315	415315	All right, so we're going to start a new project.
415315	423249	I'm going to click on new chat in the top, and then right here you can see I'm inside of the Codex 95% project, but we're going to go ahead and add a new project.
423249	428752	So, that's going to open up a little um file explorer over here, and then you choose where you want this to live.
428752	440747	So, for this example, I'm going to go to my desktop, I'm going to go into a folder called Codex YouTube, and I'm going to create a new folder inside of this folder just called um YouTube analytics demo.
440747	447697	And we're going to go ahead and open up this folder and select that, and now you can see it's a new project over here on this left-hand side that we're going to be working in.
447697	449744	Now, right here you can see I have something called full access.
449744	452950	By default, you won't see this, it'll just be on default permissions.
452960	456814	So, I'm going to kick off some sort of chat here, and then I'll show you how we actually get that set up.
456814	465058	Real quick, guys, I know we're going over a ton of information in this video, so what I did is I threw all of this into a complete PDF resource guide that you can use and reference later.
465058	467423	All you have to do to get that is join my free school community.
467423	468897	The link for that is down in the description.
468897	480230	And once you get in here, go to the classroom and click on all YouTube resources, and you'll be able to find all of my repos, all of my skills, resource guides, everything that I've ever dropped inside of here is completely free, and anything I've shown
480240	481910	on YouTube is usually dropped in here.
481920	484698	So, join the community, link in the description, and let's get back to the video.
484698	485171	Thanks, guys.
485171	492783	All right, so the first thing that I want to do in this project is I want it to be able to just kind of familiarize with self with my workspace and with who I am.
492783	496586	And the way that I'm going to do that is I have a project locally.
496586	505834	If I go to my um if I go to my desktop and I go into a project here called YouTube OS, I have like all of my transcripts right here from some YouTube videos.
505834	508308	So, what I'm going to do is I'm not going to give it that file path.
508308	515709	I'm just going to say, "Hey, in my desktop, look inside my YouTube OS folder, and just pull in 10 of my raw transcripts and analyze them."
515719	522727	This is just to show you guys how good it's going to be at finding different files locally and being able to organize them, move them, delete them, whatever you want.
522727	524702	In this case, I'm just telling it to read them.
524702	532712	All right, so I want you to go onto my desktop, and I want you to look at a folder called YouTube OS, and I just want you to familiarize yourself with me.
532712	539375	I make YouTube videos on AI automation, and inside of this folder, I have a bunch of my raw transcripts.
539375	544350	So, I just want you to read through like 5 to 10 of those just to familiarize yourself with the type of content that I make.
544350	545655	You shouldn't do any organization.
545655	547432	I just want you to read those for context.
547432	551762	Now, what's cool about this is Codex, once again, is an agent that lives locally.
551762	562251	So, just because it's working inside of one project, which is our, you know, um YouTube sort of demo folder, that doesn't mean that it can't navigate anywhere else inside of your local files.
562251	564816	And because we're telling it to do so, it's going to search.
564816	567318	Right here, you can see it's searching inside of my desktop.
567318	570903	And then it's going to find the YouTube OS, and it's going to drill down into that folder.
570903	573950	And it's going to keep searching until it finds what it wants.
573960	575028	Now, a quick warning.
575028	578621	This is not the most effective use of Codex or of your tokens.
578621	584200	The more effective use would be to say, "Hey, this is the folder right here with all my raw transcripts.
584200	594268	I'm going to copy this path, and I'm now just going to give Codex this exact path, so it can just look in there instead of having to search for it on its own." But I just wanted to show you how it's able to do this.
594268	599339	Because you can see right here, inside of my transcripts folder, I have one called raw, and that's the one that I wanted it to look at.
599339	602888	And right here it says there are two files, raw and then processed.
602888	605091	So it doesn't know which one to look through.
605091	609078	So anyways, the more specific you can be with your prompting and with your pointing, the better.
609078	612569	Now let's also, while this is running, talk about the model stuff over here.
612569	614829	So right now you've noticed that we're on extra high.
614829	618560	And I would say that extra high is probably overkill for that sort of job.
618560	622738	For the most part, I'm using medium to do all of my planning and my brainstorming.
622738	627138	And then every once in a while, if I'm doing a huge build or some massive scale, I'll switch to high.
627138	633510	I'm honestly hardly using extra high unless I'm hitting some sort of bug or issue that it's not able to solve.
633520	638226	Anyways, it has read nine transcripts, so it has a little bit of a better of an idea now about who we are.
638226	644105	But just to show you guys, this is still the folder that we're working in, the YouTube Analytics Demo, and there's nothing that exists here.
644105	651202	So even though it knows this, this knowledge only really lives in our overall ChatGPT memory, and in this specific chat window.
651202	655357	If I opened up a new chat, it probably wouldn't still have the knowledge about this.
655357	659916	So what I'd probably want to do is say, "What I want you to do is set up an agents.md file.
659916	663876	This should have context about me and about what the goal of this project is.
663876	673310	Ultimately, what we're going to do here is we're going to build a dashboard that's going to be pushed to dashboard that's going to be pushed to Vercel, and it's going to have information about my channel and some analytics around the
673320	674717	comments and stuff like that.
674717	675661	So that's the end goal.
675661	680474	We're going to have to connect to YouTube, we're going to have to pull in data, we're going to set up some skills and some automations.
680474	684498	But I just want you to get us started here with a quick agents.md file.
684498	687110	And now I'm going to go ahead and shoot that off."
687120	689114	Now, why do we need to create an agents.md file?
689114	694537	Well, if you're coming over from Cloud Code, you know that we always want to start a project with a Claude.md file.
694537	700430	And this is just agents.md, it's the same thing, but Codex expects a different terminology.
700440	703830	And what this agents file does is it's basically like it's onboarding doc.
703840	714883	Every time you open up a new chat, it's first of all going to read the agents.md file and it's going to get organized with what is my goal, what is this user doing, and how do I help them as effectively as possible.
714883	716433	So, this document has been created.
716433	718649	If I click on open, we're going to be able to read it right here.
718649	720460	And it's just a very simple markdown file.
720460	722013	This is the project right here.
722013	724443	This is about Nate's, Nate Herc does this.
724443	725950	This is the project goal.
725960	727183	This is the product direction.
727183	731790	So, we're just giving it really important information that it needs to know about our project.
731800	737852	And you can see now if I pull the file explorer over, it has created this agents markdown folder, which is exactly what we wanted.
737852	739150	Sorry, not folder, file.
739160	743510	Okay, so now that that's out of the way, I'm going to go ahead and close back out of that, and we're going to get started.
743520	746705	So, what I'm going to do is I'm going to click on this button and I'm going to turn on plan mode.
746705	751071	Plan mode is what I like to start with when I am creating some sort of plan.
751071	758328	That basically means that Codex won't actually execute anything, it's just going to brainstorm and help you guys get clear on what you want to build before you actually build it.
758328	760230	So, I always start with plan mode.
760240	761390	Now, I'm just going to start yapping.
761400	765957	And by the way, if you guys are curious about the tool I use for voice-to-text, check it out in the description, it's called Glido.
765957	768732	I'm now an official member of the Glido team, which is super exciting.
768732	776530	I've fully switched over from Whisper to Glido because it's faster, it's more private, and it is a way more agentic tool, and we've got a really cool vision.
776530	777913	So, check it out in the description.
777913	786192	Okay, so now that you understand that context, the first hurdle for us to overcome is how do you actually connect to my YouTube in order to be able to pull in my data.
786192	791270	I want you to be able to specifically at this point be able to pull in a bunch of comments so that you can analyze them.
791280	794670	So, help me figure out how we do that, and then explain it to me step-by-step.
794680	804710	And that's really the mindset shift with tools like Codex or Claude Code is if you don't know something's possible, instead of defaulting to oh, I need to go to YouTube or oh, I want to book in a consulting call with an expert, just ask
804720	806266	Codex or Claude Code.
806266	808514	Ask it to do research and explain things to you.
808514	811350	And that's basically how I learned everything that I know.
811360	815947	So while this is running, I wanted to explain something real quick, which is called plugins.
815947	819544	Plugins, MCP servers, skills, connectors, whatever you want to call them.
819544	823473	We kind of have this interface inside of Codex to do stuff like this.
823473	826028	And what you'll notice is there's a bunch of different plugins here.
826028	830072	We've got hugging face, we've got Vercel, we've got GitHub, we've got Game Studio.
830072	834235	We've got a bunch down here for design, Remotion, Figma, Hyperframes, Canva.
834235	840190	We've got stuff for lifestyle, productivity, and this lets us basically connect to a lot of the tools that we already know and love.
840200	845433	Google Drive, Slack, SharePoint, Teams, whatever you may need, a lot of that stuff is available here.
845433	846966	And if you can't find it, you can go ahead and search.
846966	848618	So like Slack, we have it right there.
848618	853190	But look, if I search YouTube, there is no default plugin right here.
853200	858377	And that's why I had to ask Codex, okay, so there's no plugin, how do I actually access YouTube data?
858377	861550	And so it comes back here and it asks us some questions.
861560	868110	It says for the first comment analysis milestone, which connection path should we plan around, API key, OAuth, or both?
868120	873190	Um I'm just going to go with his recommendation cuz let's say I don't know what I need to do, and I'm going to click on API key.
873200	874870	What should the first comment pull focus on?
874870	876670	I'm just going to say recent videos.
876680	880470	And now if it has any other questions, it'll go ahead and ask us those first.
880480	889710	Now one thing you'll notice is because it already was searching through my other folders and projects, it did find an API key in a different project, but I'm still going to show you guys how you would get this set up because it comes
889720	892790	back here with a plan, which we can go ahead and read.
892800	899270	So what it wants to use is it it found an API key, so not full OAuth, and then it needs to actually convert everything.
899280	909750	So what I'm just going to say is instead of implementing, I'm going to say, "I'm glad that you found that API key, but let's set up a fresh one because in my Google Cloud, I want to have a separate API key for Codex and a
909760	911069	separate one for Claude code.
911069	916388	So let's just go ahead and assume that we're going to create a complete new one from scratch." And now I'm able to shoot off those changes.
916388	919087	Codex is going to review the plan and then edit it.
919087	922345	And then once we're aligned on the plan, we'll go ahead and start executing.
922345	926230	So now it's come back and it has okay, we're going to do a brand new Google Cloud API key.
926240	932070	If you wanted to read through all of this step-by-step, you could, but I'm just going to go ahead and say submit, implement the plan.
932080	933835	So, there's some stuff that we're going to have to do here.
933835	943619	We're going to have to go into Google Cloud Console, and we're going to have to create this new project, um enable this API, and then grab the API key, and then get it configured inside of Codex.
943619	950630	So, if this part of the tutorial isn't very interesting to you, you don't want to watch me get it set up, maybe you want to do some stuff first with the native plugins, which is much easier.
950640	958670	Typically, these plugins you just basically sign in, the same way where you would open up Slack and sign in, or the same way you would open up Gmail and sign in, and that's a lot lot easier.
958680	962150	Okay, so I have to go to Google Cloud and get everything set up in a project.
962160	968169	If I didn't know exactly how to do this, it would tell me step-by-step as you guys saw on the plan, but what it's going to do is it created another file for us.
968169	970016	So, it created this one called for us.
970016	971550	So, it created this one called .env.local.
971560	974536	So, what I'm going to do is head over to my Google Cloud Console.
974536	978550	I'm signed in with my YouTube account, and I'm going to go ahead and create a new project.
978560	981799	So, I'm going to call this one um Codex demo.
981799	986304	I'm just going to go ahead and create this project, and once that's spun up, it's pretty simple.
986304	991376	We just have to create a connection to YouTube Data API, and then we're going to create an API key.
991376	992542	So, I'm going to select this project.
992542	1002650	The first thing I'm going to do is search up here at the top for YouTube is search up here at the top for YouTube Data, and we're going to grab the YouTube Data API v3, and then I'm going to go ahead and click enable.
1002650	1011196	And once that has been enabled, it should pull up a new screen that looks like this, and then I'm going to go down here to credentials, and I'm going to just create a new API key.
1011196	1012295	So, create API key.
1012295	1016331	This is just going to be called Codex YouTube demo.
1016331	1019522	And then right here for the restrictions, I'm just going to once again type in YouTube.
1019522	1023858	We're going to check YouTube Data API v3, and then we're going to go ahead and create that API key.
1023858	1025946	And it gives me this value that I'm going to go ahead and copy.
1025946	1038058	So, I'm going to copy that, and then I'm going to pull in that file that it created, the .env.local, and I'm just going to open this file real quick with um my notepad, and here is where I'm going to put my YouTube API key.
1038058	1039829	I'm just going to paste that in right there.
1039839	1045790	Hit save and then I can close out of that because what we need to get next is we need to get our YouTube channel ID.
1045800	1047476	I'm not actually going to do the uploads playlist.
1047476	1051085	I don't think it needs that, but I am going to go find the YouTube channel ID.
1051085	1052460	Oh, but this is actually cool.
1052460	1058548	My YouTube channel ID is already in there and the playlist ID is already in there because it was able to just pull it from a different project.
1058548	1064497	So obviously if you didn't have that already set up, it wouldn't do that, but it would explain to you exactly how to do that if you needed to.
1064497	1068470	So now that we have that API key put in, let's just see if it works.
1068480	1072750	Okay, so I've given you the API key in that local.env.
1072760	1075198	Can you go ahead and test it to see if that connection works?
1075198	1077317	And if not, then we'll have to make some changes.
1077317	1085678	Okay, now while this is running, what you guys might notice when you hop into Codex is that it might pause a lot to actually ask you questions and like approve things.
1085678	1088355	And that's what happens when you're on default permissions.
1088355	1091310	So if you want to be able to change that, you're going to go up here to your settings.
1091320	1094857	And then in general, you can see right here, auto review or full access.
1094857	1096849	And this by default will be turned off.
1096849	1105539	So if I turn this on, then when we're back in our chat, we now have the ability, see right here, this is exact example, allow network access and I want to say yeah, allow it.
1105539	1110772	Or if I switch this to full access, now it's just going to do everything without asking for permission.
1110772	1116828	So obviously it comes up as orange here because there's sometimes where you might not want full autonomous access.
1116828	1123049	And I think it's best practice when you're first getting started and you're first building some automations to maybe just leave it on default.
1123049	1130791	But once you start getting a hang of your skills and you start getting a hang of the flow, then moving to full access is going to save you a lot of time so that you can actually not have to baby sit it.
1130791	1138333	But I had to call that out because, you know, we've seen horror stories of agents deleting databases or sending out mass emails and stuff like that.
1138333	1139832	So you just want to be safe with it.
1139832	1142395	I personally have never had any sort of problem like that.
1142395	1148437	That usually comes from context rot or very vague instructions or or just not being super smart with your planning.
1148437	1151013	So you can see what's happening here is it's trying it out, right?
1151013	1152303	And it's running into some issues.
1152303	1157096	But what's great about this agentic loop is that it's going to keep trying things until it actually goes through.
1157096	1157599	There we go.
1157599	1163512	You can see nice the key works for channel data, and I'm going to do one more test to make sure that I can pull comments from recent videos.
1163512	1174950	So a big mindset shift when you're using any of these tools is to just let it run, let it try things, help steer in the right direction, ask questions, be curious, and just take a look at what it's doing because it tells
1174960	1176870	you every single thing that it's trying.
1176880	1178830	But now we can see I've tested the key.
1178840	1182776	I can get comments from your recent videos, and it's completely working as expected.
1182776	1189150	However, PowerShell's built-in web request had a local TLS issue, but Node and Python both connected cleanly.
1189160	1190618	For the project, that's fine.
1190618	1194110	We'll use Node and server-side code for the dashboard anyway.
1194120	1196390	Now, here's something to think about.
1196400	1198430	I don't really know what that means.
1198440	1207430	But what I want to make sure is that that doesn't happen again, or I want to make sure that this project doesn't lose this knowledge because it it it it ran into a failure.
1207430	1214136	And whenever you run into a failure, you want to treat that as golden knowledge because it means you have more data to make sure that it doesn't do it again.
1214136	1217934	So all I'm going to say is, "Okay, thanks for testing that.
1217934	1223529	I want to make sure that you don't ever run into that issue again, and I want to make sure that that knowledge is saved in this project.
1223529	1231590	So can you just throw together a quick file somewhere in your memory, somewhere in this project to make sure that you already know that so that next time it doesn't happen again."
1231600	1241390	And doing stuff like this, having this sort of habit, is how you actually make these systems get smarter over time rather than just feeling like you're always repeating yourself or that you're always running into the same issues.
1241400	1243105	Another mindset shift for you right there.
1243105	1245643	So here it decided to add this into the agents.md.
1245643	1255904	Right now, I have no objections to that, but as your projects grow, you don't want to put everything in the agents.md because if that agents.md file gets really huge, it's going to use more of your tokens.
1255904	1256150	Okay.
1256160	1260790	So before we keep going, I did want to point out one other thing down here, which is this little bar.
1260800	1264500	This shows you how much of your context window is currently filled up.
1264500	1268058	Now, if If were using Claude Code and you're using Opus, you have a million.
1268058	1271491	So, it's, you know, about four times as much as this in Codex.
1271491	1276838	However, Codex automatically compacts just like Opus does and just like Cloud Code does.
1276838	1277595	So, it's really nice.
1277595	1283085	You don't have to worry about it too much, but you still want to be thinking about some general context management tips.
1283085	1287386	I've got some videos on my channel about that that are agnostic to whatever tool you want to use.
1287386	1292735	I'm not going to dive super deep into context window management in this video, but just wanted to point that out as well.
1292735	1293929	Okay, so what's next?
1293929	1300429	What I want to do is I want to show you guys that it's able to pull comments and that we're able to create an actual deliverable from it.
1300429	1302803	So, let me just once again go back to plan mode.
1302803	1309200	All right, so what I want you to do is pull in, you know, about 100 or 200 of my most recent comments and I want you to analyze them.
1309200	1314247	I want you to find patterns and I want you to display all of this in a Excel sheet.
1314247	1325670	And I want it to be a visual representation of this data that has interesting insights for me as a content creator so that I can keep making content that people want and I can keep answering questions that are coming up frequently.
1325680	1330633	So, go ahead and do a plan for this and structure what the Excel sheet deliverable will look like.
1330633	1331342	So, I shot that off.
1331342	1335006	I'm going to let you guys know when we have a plan or if it asks me any questions.
1335006	1337607	A couple questions here to make sure that it understands what we want.
1337607	1339328	It's asking about the recent comments.
1339328	1341078	I'm just going to say across recent videos.
1341078	1342310	How many should we pull?
1342320	1343078	Let's say 200.
1343078	1345476	How should we classify and summarize the comments?
1345476	1347030	I'm just going with all of its recommendations.
1347040	1347796	Those were pretty good.
1347796	1352962	And so, if I switch over to a different tab, let's say we're back on our slides, you can see my pet down here has a little one next to it.
1352962	1359388	Well, the one's gone because I switched back into Codex, but that little one, if I would have hovered over it, it would show me what it's working on.
1359388	1363390	So, now I can keep tabs on my workflow while I'm doing other things.
1363400	1365622	And Codex makes multitasking really easy.
1365622	1369102	Because of the fact that I could open up a new chat in this project and work on something else.
1369102	1371660	Then I could open up a new chat in this project and work on something else.
1371660	1377597	And it will color code and give you like a little blue dot or yellow dot on the side here if one of these sessions needs attention.
1377597	1378822	So, anyways, here is the plan.
1378822	1381593	What I would recommend is at this point you read through it.
1381593	1386941	You make any changes to specific sections if you want, but for the sake of the video I'm just going to go ahead and submit that plan.
1386941	1391125	But while this is running real quick, I wanted to show you a few other things that we can look at.
1391125	1395270	So, if you do {slash} inside of this chat, there's things that you can actually look at.
1395280	1402430	So, we've got auto review, code review, feedback, MCP, memories, model, personality, pet, plan mode, reasoning.
1402440	1409110	There's all of these different skills that we can use like browser use, GitHub, Higgs Field, PDF, skill creator.
1409120	1411799	The {slash} is going to open up a lot of different things for you.
1411799	1414174	And of course, what you can do is you can also tag things.
1414174	1420433	So, if I do an {at}, this is going to let us tag either specific plugins or specific files that live somewhere in this project.
1420433	1429603	So, if you're ever trying to reference a specific plugin or something specific, then it's probably best to try using the {slash} or using the {at} to actually tag that in your chat.
1429603	1437888	Now, the reason I wanted to bring up the {slash} is because you'll see one right here called {slash} personality, which if I shot that off, it would actually let it, you know, do something.
1437888	1441470	So, what I can show you is I don't want to interrupt this main don't want to interrupt this main session.
1441480	1444164	I could come up here and I could click on open side chat.
1444164	1449478	And that opens up a different little conversation here that still lives in this chat, still lives in this project.
1449478	1453830	So, if you're coming over from Cloud Code, this is pretty similar to {slash} by the way.
1453840	1456209	So, what I can do over here is I can do {slash} personality.
1456209	1459755	And now I can set if I want the personality to be friendly or pragmatic.
1459755	1465975	And I guess I didn't actually need to switch over here because it just opens like this, but right now we're on friendly.
1465975	1467633	I'm actually going to switch this to pragmatic.
1467633	1471174	You can see this says concise, task-focused, and direct.
1471174	1474774	And honestly, most of the time I'd probably prefer pragmatic.
1474774	1477390	So, I'm usually working on pragmatic by default.
1477400	1480414	But now that we've opened the side chat, let me just show you guys something else.
1480414	1486008	Um, give me a quick update about my YouTube channel and, you know, the type of videos I've been making recently.
1486008	1495990	Just to show you guys that, okay, if you have your agent working right here on something and you don't want to interrupt it, but you have some sort of side question that is relevant to this project or maybe relevant to something that you guys were working on
1496000	1497852	earlier, you can ask over here.
1497852	1502150	Because right here you can see it has the context of what we talked about already.
1502160	1505964	And I could go back and forth a little bit, and then I could just close out of the side chat whenever I'm done.
1505964	1507464	Okay, so that has been created.
1507464	1515992	It pulled in 200 recent comments across three recent videos, and I could open it up right here in this dashboard sort of view right in CodaX, which is awesome.
1515992	1520570	And I could actually make some follow-ups and chat with it right here, but it's a little bit finicky to be honest.
1520570	1525124	So what I'm going to do is close out of that, and I'm just going to open up our folder again, which was right here.
1525124	1526936	And you can see there's a lot more that lives in here now.
1526936	1534454	Not only do we have our agents and our .env, but we have scripts, and we have outputs, and we have different nodes and modules, which has a lot of stuff.
1534454	1542950	So if at any point this starts to feel a little bit unorganized and you don't understand the structure, all you have to do is come into CodaX and say, have to do is come into CodaX and say, "Hey, help me like reorganize this, or maybe
1542960	1545510	give me a document that helps me navigate it a little bit better."
1545520	1551334	Because of course this lives in a local directory, and CodaX can touch it, read it, organize it, edit it.
1551334	1556367	So if I go to the outputs and I go to the YouTube comment insights, we see all of these different stuff that it did.
1556367	1560855	So it took some screenshots as you can see, but then it also created the actual Excel sheet.
1560855	1563826	So I'll open this up right here, and we can take a look.
1563826	1565485	All right, so we and we can take a look.
1565485	1572595	All right, so we have YouTube comment insights, 200 newest public comments across recent Nate Hurt videos, generated May 5th, 11:00 a.m.
1572595	1577670	So we can see the question rate, the content requested rate, top mention tools CodaCode.
1577670	1578066	Uh-oh.
1578066	1582203	We've got high priority stuff, top patterns, skip video, stuff like that.
1582203	1584611	It even started to create some visuals here, which is awesome.
1584611	1587124	So this is content category mix over here.
1587124	1591596	It shows the mix between general feedback or questions with um actual values.
1591596	1594688	So 55 were general feedback, 53 were questions.
1594688	1599415	Some of these were access, positive feedback, tool comparison, pricing stuff.
1599415	1601055	Over here we have different tools.
1601055	1603278	So CodaCode, Higgs Field, CodaX API.
1603278	1605501	And then over here we have some other stats as you can see.
1605501	1607254	Now we have a bunch of different tabs as well.
1607254	1608635	So we have creator insights.
1608635	1611496	So ranked comment patterns and recommended creator actions.
1611496	1618867	So I'm able to see the percentage breakdown of different types of comments and it also gives me recommended actions with priority scores.
1618867	1620138	So, that's pretty cool.
1620138	1621640	I also can see frequent questions.
1621640	1623913	So, things that are coming up as patterns.
1623913	1628190	It's giving me content ideas now as well because it's analyzing those comments.
1628200	1632444	It's giving me nice reply opportunities and then it's giving me just the raw comments.
1632444	1636696	So, this should be 200 rows of our actual comments that it pulled.
1636696	1641273	204 as you can see because the first three or four were just nonsense.
1641273	1642487	So, that is awesome.
1642487	1645628	And what you guys might be thinking is okay, is this actually useful?
1645628	1649916	Maybe not because we just said, "Hey, give me analytics." Right?
1649916	1652567	If you guys remember my actual prompt, it was very, very vague.
1652567	1664230	So, if we would have spent more time in the planning phase or if we had certain analytics that we're tracking very heavy or certain comments that we're really looking out for, we would give that to Codex as knowledge and it would make this actual, um, you
1664240	1668359	know, insights, it would make it much know, insights, it would make it much more customized and tailored.
1668359	1670696	So, now let's talk about how do we turn this into a skill?
1670696	1672200	So, first of all, what is a skill?
1672200	1673110	So, first of all, what is a skill?
1673120	1675405	Well, a skill is basically a repeatable recipe.
1675405	1678949	So, if I come back in here and I click on plugins, we saw all these plugins, right?
1678949	1686698	These are actual like connections and potentially MCP servers and kind of like some other, you know, it's a package that people are able to install and use.
1686698	1689969	But, skills are more of just like instructions.
1689969	1691850	So, there's an image gen skill.
1691850	1693950	There is a OpenAI doc skill.
1693960	1697295	There's a GitHub review follow-up skill, a document skill.
1697295	1703271	And these are all basically just markdown file instructions that tell Codex how to do something better.
1703271	1707497	So, how to design a website better or how to, you know, give you a morning brief.
1707497	1712882	And so, what we want to do is we want to turn this, exactly what we just did, into a skill.
1712882	1721544	So, that anytime I say, "Hey, go give me more YouTube insights." It knows what endpoints to hit, it knows how to pull them in, it knows how to make the Excel sheet, it knows how to do all this.
1721544	1732454	And the best way that I like to make skills is I just basically brainstorm with with Codex to do something and then after I get an output I like, I say, "Okay, turn that into a skill." So, this was the ultimate deliverable, right?
1732454	1735641	So, what you just did is you helped me pull in data from my YouTube.
1735641	1740169	You got comments, you ran an analysis, and you created me an awesome Excel sheet deliverable.
1740169	1749889	I want you to turn that into a skill so that every time I say to grab my YouTube comments and give me some insights, you do this exact flow, and that makes it more consistent.
1749889	1754021	So, I'm going to shoot off that message, and while it's doing that, just think about it like this.
1754021	1763630	If someone asked you to create or not create If someone asked you to make them chocolate chip pancakes, you're going to open up your cookbook or pull up your phone, and you're going to read a recipe, and you're going to follow it to
1763640	1763788	a T.
1763788	1768550	You're going to follow the measurements, the ingredients, and the temperature, and the timing, and temperature, and the timing, and whatever.
1768560	1775405	And then next time someone asked you to make chocolate chip cookies or pancakes, you would just use that same recipe, and they'd come out pretty much the exact same way.
1775405	1782623	Because if you didn't use the recipe, you would just be guessing, and you'd be you'd be sort of measuring, and you'd be feeling, and it just wouldn't be consistent.
1782623	1787957	And the cool thing is, now that you have this recipe to use, every time you use the recipe, you might be able to make it better.
1787957	1793512	If one time you experiment, and you add some more chocolate chips, you either like that or you don't, you update the recipe.
1793512	1796820	Maybe one time you realize that you're actually leaving too much raw batter inside.
1796820	1797744	So, what do you do?
1797744	1809230	You update the recipe to say, "Okay, you leave it on 4 minutes on each side rather than 3 and 1/2 minutes on each side." You're able to, each time you use the recipe, have it be updated, and that is the power of building these skills.
1809240	1813914	And you can see that it's able to work backwards and reverse engineer a skill from our output.
1813914	1825312	And what it does is it puts them in a file called the dot Codex, which kind of lives globally, which means whenever you're working inside of any Codex project, you're going to be able to use that skill.
1825312	1828897	And all you have to do to call it is you'll do a slash command, and then you will just name the skill.
1828897	1831372	So, if you guys remember, down here we have all these other ones.
1831372	1837551	I could do slash browser use slash image gen slash PDF, and that's how I could be able to call them.
1837551	1840867	The other way you can call them is you can actually just have them be natural language.
1840867	1848870	So, just to show you guys another example, if I go to my Herc 2 project, and I know this is more optimized for cloud code, but we have a dot cloud folder, which is local.
1848880	1855677	So, if I click into here, I can see I have a folder called skills, and all of these are my different skills that currently live inside of my AI OS.
1855677	1860711	So, let's say here I have a morning coffee skill, and I'm going to open this up real quick in my notepad just to show you guys.
1860711	1862192	All this is is a markdown file.
1862192	1864680	We have the name of the skill, we have the description.
1864680	1876521	So, here it says, "Use when someone asks for morning coffee to prep or plan their day." So, anytime in cloud code I say, "Hey, can you help me plan my day?" cloud code will grab this morning coffee skill, read it, and then execute it.
1876521	1884441	And it says, "Okay, here's the context, here's the recurring meetings, here is the meeting prep, here are these different reference IDs, here's everything you need to know, and the order.
1884441	1886719	So, step one, step two, step three.
1886719	1892186	Here is what you do whenever Nate asks for a morning coffee skill." So, that is all that is happening right here.
1892186	1897117	You can see it created this skill called YouTube comment insights, and it did this at the global level.
1897117	1902549	What I mean by that is this lives locally in our directory directory that sits across any Codex project ever.
1902549	1913199	So, if I open up this other project, I could use the skill, or we could put it locally in our project, which would mean I could only use the skill in this specific YouTube analytics demo project.
1913199	1921364	And all you have to do to change that differentiation is say, "Hey, instead of putting that global, put that locally in this project." Or, instead of having that locally in this project, make that global.
1921364	1926030	So, now if I do a slash and I do YouTube comment insights, we have this right here.
1926040	1930670	YouTube comment insights analyze comments into an Excel report.
1930680	1933100	Which is the skill that we just built together, so that is awesome.
1933100	1940199	All right, so before we move on to the next step of this, I wanted to talk about pets real quick just because I know you guys are dying to understand how you can get this.
1940199	1945805	It's really simple, you go to your settings, and then you're going to go to your appearance and scroll all the way down, and you can see right here we have pets.
1945805	1947755	And we can choose between different ones.
1947755	1954103	So, right now I'm just using the Codex pet, but I could choose Dewey, or CD, or Beasod, or Stacky.
1954103	1958069	So, I'm just going to go ahead and switch this to Fireball for fun, and you can see down here it changes.
1958069	1969473	And yes, it's kind of a fun little UI thing, but remember if I'm not inside of Codex and I'm in this dashboard over here, we can still see the pet and it will tell us when it's working on things and when it's done with things.
1969473	1971578	So, it is a little bit practical as well.
1971578	1972150	All right.
1972160	1974422	So, now we have a deliverable.
1974422	1978738	We have an Excel sheet and we're going to use that as the back end that basically powers this next section.
1978738	1983726	So, I'm going to open up a new project because we're kind of starting a new goal, a new a new deliverable.
1983726	1989670	So, I want to open up a new chat and this will still be able to access everything that's in this folder.
1989680	1991562	So, I'm going to go ahead and switch over to plan mode here.
1991562	1993209	Okay, so here's the idea I have.
1993209	1999189	You have access to a file inside of this project and what I'm going to do is actually reference the exact file.
1999189	2007150	So, I'm going to look for the YouTube comment insights right here and I'm going to tag that right here and I'm going to tag that file.
2007160	2018710	So, what I want you to do is create me a dashboard, spin this up on a local host, and I want it to have really nice UI elements and, you know, charts and graphics and things, so visualizing my data and I want to be able to see
2018720	2021670	different insights about my YouTube different insights about my YouTube comments.
2021680	2028068	What I want you to do here is I want you to use GPT image 2 and create some really nice concepts of how this dashboard should look.
2028068	2040631	And also, if you want to use it for maybe like a nice logo in the top or any of the other UI elements, utilize GPT image 2 to make this thing just look really polished and really aesthetic and really fun at the same time.
2040631	2042510	So, that is the idea I have.
2042520	2047968	I want you to help plan this out, ask me any questions you have about this, and then we'll go ahead and execute.
2047968	2053019	And so also, this default switch to extra high again, I'm just going to go ahead and switch that back to medium and then shoot that off.
2053019	2057766	And you can see down here the pet has started to think and it's talking a little bit.
2057766	2061608	But, the reason why you want to be careful about which models you're using, there's two reasons.
2061608	2067590	The first one is because sometimes if you chuck extra high at a task that's really simple, like over engineers it.
2067600	2071992	And the second piece is because each of these cost you different amounts of your tokens or your session.
2071992	2074591	Obviously, low cost the least and extra high cost the most.
2074591	2081859	If you go over here to your settings and you click on rate limits remaining, it shows you how much of your session you have left and when it expires.
2081859	2091110	So, every 5 hours it resets and right now I have 97% remaining and then every week it resets and right now I have 99% remaining there.
2091120	2102663	And so, it's really nice to be able to keep tabs on that right here, but that's why you want to be careful about, you know, your context window management and your planning and your prompting and your model usage down here.
2102663	2109571	In general though, I have seen that my session is lasting way longer in Codex than it is in Claude Code.
2109571	2118105	And a big part of that is because ChatGPT 5.5 is really, really efficient with tokens, with output tokens and input tokens.
2118105	2127257	And if you guys go watch that video that I was talking about, you will see that exact experiment and it's really interesting to understand and look at, but I've generally found that it's really efficient with tokens.
2127257	2128625	Now, we have some feedback here.
2128625	2134390	It says, "Which visual direction should guide the GPT image two concepts and the final dashboard UI?"
2134400	2137270	Creator Ops, Playful Studio or Executive Clean.
2137270	2139001	I'm just going to go with the recommendation.
2139001	2142112	For this first version, how should the dashboard get its YouTube comment data?
2142112	2146340	I'm going to say to use the existing output, which was the um Excel file.
2146340	2149356	And then what should the first screen prioritize most?
2149356	2151431	Reply and ideas, analytics overview.
2151431	2154257	I'm actually going to go with analytics overview for this one.
2154257	2160691	And by the way, if you're in the app and you want to get rid of the pet really quick, you can just do {slash} pet and then that will just tuck it away.
2160691	2163356	Okay, so it came up with a plan pretty quickly.
2163356	2165962	You can see here that I can expand this and read about it.
2165962	2175950	So, we've got like a summary, we've got key changes, we've got all this other stuff and this is where we would once again iterate with Codex before we say, "Yep, go ahead and build that for me." But I'm just going to go ahead and say, "Yep, go
2175960	2181057	ahead and build that for me." You can see that it's using the image generation for GPT image two, which is really, really solid.
2181057	2184270	And here is one of the kind of versions that it came up with.
2184280	2195112	And I've just found if If using Codex to build games or websites or whatever it is, it just helps to give it the ability to test things out and generate some concepts first before it actually designs the rest of the site.
2195112	2197571	You can see this is the little logo that it came up with, which is kind of cool.
2197571	2201953	It's got like a YouTube play button with some noise and some comments coming in.
2201953	2211190	And what it's going to do is it's going to store all of these assets locally somewhere in this project, so that later if we wanted to spin up different versions of the dashboard or a different landing page, it would have access to
2211200	2212629	all of these assets already.
2212629	2213978	And this is super cool, guys.
2213978	2221184	It has like this built-in verification loop where it's going to check its work before it actually gives you an output, which is pretty cool.
2221184	2224008	So, it said the automated browser verification passed.
2224008	2228384	I'm now doing one visual pass to see what else there might be, what other issues.
2228384	2231515	And it found three issues when it did an actual visual scan.
2231515	2232772	So, now it's fixing those.
2232772	2234341	It says, "Okay, those UI fixes are in.
2234341	2235590	I'm going to stop the server.
2235600	2242172	I'm going to rebuild, and then I'm going to verify it one more time with screenshots." And then it comes back and says, "Okay, the second visual pass looks a lot better.
2242172	2248798	Here is your dashboard to actually go ahead and test out." So, let's just real quick open this up right here locally in the explorer.
2248798	2250805	And now we have our creator ops signal desk.
2250805	2252635	So, I'm going to expand this a little bit.
2252635	2254895	We see the logo up here that it made.
2254895	2257870	We see 83% creator replies, 78 total likes.
2257870	2263178	We can switch between overview, replies, ideas, questions, and the explorer.
2263178	2264317	And this is really cool.
2264317	2266284	It looks like every single comment has a link.
2266284	2269270	So, if I click on this, does it actually take us Okay, no.
2269280	2271820	It didn't actually sync up every single comment to a link.
2271820	2275430	But it's cool that it showed us that because that gave us a nice idea of like, "Okay, cool.
2275430	2284538	I do actually want a link." Now, you can actually go ahead and work that into the back end code where every single comment should be associated with a link so that I could open it up and respond to it.
2284538	2294934	Or we could take it one step further and say, "Okay, what would it look like for me to be able to respond right in this dashboard?" And you actually fire off that API call to YouTube to respond on the right comment.
2294934	2296405	Because that is 100% doable.
2296405	2299227	You guys have seen how I've automated my comment section a little bit.
2299227	2301051	Anyways, let's Let's take a look at the overview.
2301051	2303216	We can see we have this really nice chart.
2303216	2308563	We have some AI insights over here where I can click on work reply queue and that goes over to the replies.
2308563	2311952	I could also click on more content ideas and that takes us to the ideas.
2311952	2315405	We can look at top tool mentions, reply priority, common themes.
2315405	2320535	We can also see the videos that are driving comments and this would obviously grow as we pull in more and more data.
2320535	2327750	So let's say at this point we like this output and we want to actually deploy this because what you'll notice is this says that it's running on a localhost.
2327760	2333601	So if I copy this link right here and I go to Chrome and I paste that in, it's going to pull up exactly what we saw, right?
2333601	2335670	And it works and it looks fine.
2335680	2343144	But if I gave you this localhost and you copy and pasted that into your own browser, you would get nothing because this lives locally.
2343144	2346041	It's being served on a server from our codebase.
2346041	2351546	So what I'm going to show you how to do now is how do you actually get this from a localhost to the web?
2351546	2353722	And what we're going to do is we're going to use two tools.
2353722	2357723	We're going to use The first tool is called GitHub and the second tool is called Vercel.
2357723	2362504	So the first thing you're going to do is you're going to type in GitHub and you're going to go over here and you're going to make a profile.
2362504	2365634	It's completely free to set up, pretty much completely free to maintain.
2365634	2376230	Once you've created your GitHub, all you have to do is connect this to Codex and we're going to have Codex help us set up something called a repository which is basically just a collection of your files and folders.
2376240	2388390	Remember how if we open up my file explorer and we look inside of our YouTube comment or sorry, YouTube analytics demo folder, all of these files and folders are important and all we have to do is get these off of our local machine or not
2388400	2390310	off, they'll still live here locally.
2390320	2397594	But we're going to get them into some sort of repository where I can access them publicly or if you wanted to share these with other people, they could access them as well.
2397594	2406532	So it's kind of like having a Word doc locally but instead you're putting it on into Microsoft's cloud on OneDrive or something like that so that other people can use it and you could use it from a different machine.
2406532	2407771	So that's the first step.
2407771	2413561	So let's go back into Codex and what do you do when you don't exactly know how something works?
2413561	2414310	You just ask.
2414320	2415039	know how something works?
2415039	2415412	You just ask.
2415412	2416493	So this looks really good.
2416493	2422280	What I want to do is I want to sync this code base for this specific dashboard to a GitHub repository.
2422280	2424105	So, help me get that signed up.
2424105	2431057	Help me get connected here to GitHub, and then I want you to help me create that actual repo and push everything into that repo.
2431057	2432924	And it even mentioned that right here.
2432924	2436877	Note, this folder is not currently a Git repo, so there is no diff and status to summarize.
2436877	2441372	So, I'm going to shoot off that message, and now it's going to help us actually sync up to GitHub.
2441372	2443683	Now, there is a difference between Git and GitHub.
2443683	2449374	Really the same thing of version control and all this stuff, but Git is local and GitHub is on the cloud.
2449374	2459925	And what's important here is that it says, "I'll avoid committing secrets, especially the .env.local." And so, that's why I told you to always paste your keys in that .env, not into some random file called secrets.
2459925	2471821	It has to be in the .env because that dot in front of the word env basically tells Codex or Cloud Code or whatever you're using, it tells it to exclude this from any, you know, public commits.
2471821	2474102	So, this point I've already set up the GitHub CLI.
2474102	2477772	If you haven't, it would just say, "Hey, do you want to set this up?" And you'll say, "Yes." Very simple.
2477772	2488390	And then you'll authenticate, which means it'll basically just pop up a browser tab and you'll sign in with the account you used to create GitHub, and then boom, you will be connected to GitHub in Codex.
2488400	2491345	And while this is syncing up, let me show you guys the next tool we're going to use.
2491345	2493221	This one is called Vercel.
2493221	2495310	Now, Vercel has a pretty generous free tier.
2495320	2496713	You can see I've got a few products on here.
2496713	2501049	You're going to be able to get working on Vercel for free just to get started.
2501049	2515078	And what Vercel does is it basically takes that code, it takes, you know, this exact website, which is on the back end, all this is it's code, and it takes this and it serves it on a actual URL, on an actual domain that anyone can access.
2515078	2519880	And what's really cool about this is Vercel and GitHub have a really nice partnership.
2519880	2521534	They actually like talk to each other.
2521534	2526510	So, anytime I make a change to our GitHub repo, Vercel automatically picks that up and deploys it.
2526510	2532434	So, I know there's three tools here, Codex, GitHub, and Vercel, but that doesn't mean we have to manage three places.
2532434	2534374	All we have to do is manage Codex.
2534374	2537168	So it said that it's created a private repo for us.
2537168	2539053	If I open this up, I don't want to open this up here.
2539053	2543573	And the reason why it doesn't show up here is because this is a private repo and over here I'm not signed in to GitHub.
2543573	2549534	So if I open this up in a browser where I am signed in to GitHub, we can see YouTube Analytics Demo.
2549534	2556646	This is a private repo and what's in here is all of the different folders and files that we've actually created to spin up this dashboard.
2556646	2564537	And now what's really cool is if I go into Vercel and I go ahead and click on add new project, I can connect this to GitHub and it already is connected.
2564537	2568074	So you would then just sign in and you would connect your Vercel to GitHub.
2568074	2570432	And now you can import any of your repos.
2570432	2573710	So right here you can see YouTube Analytics Demo 1 minute ago.
2573720	2575111	I'm going to click on import.
2575111	2576370	And that's literally that simple.
2576370	2583924	I'm going to click on deploy and then in maybe 30 seconds we will have our YouTube Analytics Dashboard, but we'll have it up on a live URL.
2583924	2584416	Awesome.
2584416	2589486	So it says congratulations, you have deployed a new project and I'm going to go ahead and continue to dashboard.
2589486	2594790	And this gives us a youtube-analytics-demo.vercel.app a youtube-analytics-demo.vercel.app domain.
2594800	2598030	And if you wanted to switch this off to your own domain, you certainly could.
2598040	2601100	You would just basically have to move the DNS records over here.
2601100	2605519	But I'm going to click on this so you guys can see that this is the exact same thing we were just looking at.
2605519	2609212	Our replies, our ideas, our questions, our explorer, everything here is the same.
2609212	2611850	Except for now I could take this URL and I could open it up on my phone.
2611850	2613279	Or I could open it up on my laptop.
2613279	2614522	Or you guys could open it up.
2614522	2618347	And like I said, what's cool about that is we basically are able to then test in Codex.
2618347	2619775	We can iterate right here.
2619775	2620957	We can make changes.
2620957	2623727	But just because we make changes doesn't mean that it's actually going to go live.
2623727	2629590	So if I said, "Hey, I want you to change the entire background instead of blue to be red." And it would say, "Okay, cool.
2629600	2630488	Here's the red background.
2630488	2637230	Here's the localhost to test it out on." And if we like it, we say, "Okay, push those changes to our repo."
2637240	2641475	And then as soon as we push those changes, Vercel would automatically deploy those onto the real URL.
2641475	2642633	But if we said, "You know what?
2642633	2643300	I don't like that.
2643300	2647019	Just keep it as is." then our main production site never got touched.
2647019	2651175	And that's how we keep a clean separation to test and to have something in production.
2651175	2652415	Okay, awesome.
2652415	2654092	So, what do we have now?
2654092	2661128	We have a working project, and I'm opening up this folder just to show you how much we've actually done in the past, I don't know, 30 to 40 minutes together.
2661128	2663474	And we've set up a bunch of different stuff.
2663474	2666444	Now, what do I want to talk about next is automations.
2666444	2669110	So, already over here you can see this tab called automations.
2669120	2671314	Automate work by setting up scheduled chats.
2671314	2674352	You can set up things like a status report, release prep.
2674352	2677612	There's bunch of different things here that give you sort of some inspiration.
2677612	2685950	But, what's really cool is you can turn all of your skills or any of your repeatable workflows into an automation that Codex will run without needing your oversight.
2685960	2691245	So, I'm going to open up a new chat in our YouTube Analytics Demo project, and I'm going to go ahead and start chatting to Codex here.
2691245	2693793	Okay, so we've just done a lot of stuff together.
2693793	2701590	We built a skill that grabs YouTube comments from my YouTube, and it puts them into an Excel sheet after it does some analysis.
2701600	2703098	And that's coming out really nice.
2703098	2712350	And then we built a dashboard served on then we built a dashboard served on Vercel that actually displays visually all of those analytics and statistics from that Excel sheet.
2712360	2716869	Now, what I want to do is I want to set up an automation that just refreshes this every week.
2716869	2723498	So, let's just say every Sunday at 5:00 p.m., I want you to run the YouTube comments analytics skill.
2723498	2734210	And then what I want you to do with that is update that data on that Excel sheet, you know, add more rows, update the statistics, and that will automatically sync to the GitHub repo.
2734210	2744865	So, after you make those changes, you'll have to also reflect those changes onto the actual code base where the dashboard lives, and then you'll push those changes to GitHub so that they automatically get reflected in Vercel.
2744865	2759222	So, a lot of moving pieces here, but basically high-level, you need to get more comments, redo the analysis, refresh the data into Excel, and that way I'm always getting a weekly report of what's going on with my YouTube comment replies.
2759222	2769670	Okay, so honestly felt like a little bit of a messy prompt, but Codex should be able to do a good job of asking us any questions it has and making sure that it's able to actually set up this automation for us the way we want it.
2769680	2782030	Now, something I want you guys to think about here is the way that I approach building AI automations and skills and stuff like this is remember when we talked about skills and I said every time you use it, it's going to get better cuz you can get feedback?
2782040	2784391	You should honestly think of these automations in a similar way.
2784391	2787035	You should think about it like you're teaching a kid to ride a bike.
2787035	2795448	You're not going to just chuck a kid on a bike and say, "Okay, go have fun." You're going to start off by holding the handles and walking alongside the kid and saying, "Okay, you're leaning too much to the right.
2795448	2803270	You need to lean more to the left and you need to center your weight and you need to make sure you're pedaling and you need to do all this." And slowly over time you'll start getting more trust and you'll take your hand off the
2803280	2805863	handlebars and you'll start to walk a little bit farther behind.
2805863	2808662	And eventually maybe you'll take off the training wheels and stuff like that.
2808662	2813228	The point I'm making here is don't expect your automations or skills to be perfect on the first shot.
2813228	2814375	That's just unrealistic.
2814375	2819262	You should be expecting them to get better the more you use them because every time you use them you get more data.
2819262	2820939	But look how quickly it set that up.
2820939	2822510	It set up a weekly automation.
2822520	2829493	It'll run every Sunday at 5:00 p.m. and it will just basically run inside of this project and it will run the YouTube comment insights workflow.
2829493	2831324	It will regenerate the Excel workbook.
2831324	2833575	It will preserve and merge comment rows.
2833575	2834921	It will refresh the workbook.
2834921	2844150	It will verify the dashboard and it will commit only those changes to our repo and it will push it to the right branch so that Vercel actually deploys all of that.
2844160	2845934	And what you want to do is you come into the automations.
2845934	2848929	You can see that we have this one which is Sunday at 5:00 p.m.
2848929	2852685	We can click into it to see the actual prompt that it will submit to Codex.
2852685	2855409	We could add some stuff here if we wanted, but we don't want to.
2855409	2859014	This will get injected into a new Codex chat inside of our project.
2859014	2864590	So, just as a test, if I click on run now, you can see that this starts a new chat right here.
2864600	2871611	This injected that exact prompt that we looked at with the automation, the ID, the memory, the last run, and the actual prompt.
2871611	2877048	And then it starts up this little progress sheet which is kind of like a to-do list and it's going to go down in this order.
2877048	2879939	And we have the full Codex Agentic loop going on here.
2879939	2886571	So, if you're used to Cloud Code, this is basically the same thing as running a local scheduled routine in Cloud Code or in Cloud Co-work.
2886571	2896750	Now, the one thing you're going to have to think about here is because this is kind of a local cron, if you close out of the Codex app or if you turn off your PC or your laptop, this will stop running.
2896760	2903957	In order for this to be truly 24/7 all the time, you would have to get this sort of Codex routine on the cloud somehow.
2903957	2906830	And that's what Cloud Code just added with their cloud routines.
2906830	2912812	Okay, so while this automation is running, and we know we're going to make sure that it's working as expected, and if not, we'll correct it a little bit.
2912812	2918330	But, I realized that I wanted to show you guys a little bit more of that kind of computer use and and browser use functionality.
2918330	2925550	So, if I go back into the actual um dashboard where it built it, which I believe was this one.
2925560	2926350	Yep, it was this one.
2926350	2932308	What I'm going to say here is before we kind of keep making changes, I want you to test the UI here.
2932308	2938670	I want you to open up this um dashboard, and I want you to open it up in this app so I can watch you do it.
2938680	2942051	I want you to use your browser use skill and click around.
2942051	2943289	I want you to click on the buttons.
2943289	2944842	I want you to try to break this thing.
2944842	2946759	I want you to stress test it and QA it.
2946759	2951410	And let me know what you find, what bugs you find, and what we might need to improve.
2951410	2957246	And so, all I did here is I explained in natural language what I wanted, and we're going to be able to see it use the right skills.
2957246	2959002	So, browser use is great for a lot of things.
2959002	2965870	It's great for um QA-ing, like you just saw here, because it can find bugs and click around on things that typically it wouldn't be able to do.
2965880	2967862	It's also really great for certain automations.
2967862	2973885	So, maybe you don't have an API for something, and you want to be able to go in and download reports or go in and change some settings.
2973885	2978212	I've done a few of those automations on my channel as well, and browser use can be really, really good for that.
2978212	2986370	And you can even use it to just search the web, because you can use browser use in a way where it has like cookies, and it's able to remember your login info.
2986370	2992716	So, you could log into something like school, where you'd have to get past the authentication, and then the browser can automate and control things.
2992716	2996057	But anyways, what you see right here is the in-app browser open.
2996057	3001739	And this little mouse right here, which kind of looks like the ChatGPT Alice logo, is going to click around.
3001739	3004390	You guys already saw it switch from overview to replies.
3004390	3007070	You can see it's moving around even more now.
3007080	3013815	And as it's clicking these different links and moving around, it's going to start to document what might be wrong with this app.
3013815	3015974	And then we can obviously say, "Okay, cool.
3015974	3019703	Go make all of those changes for us." Right here, it found the thing with the YouTube link.
3019703	3025526	So, it said they have the correct URLs, but the in-app browser did not visibly open the new tab after clicking.
3025526	3028361	So, that's one of the things that we actually did notice ourselves.
3028361	3032670	Now, browser use is pretty, I don't know, it can feel kind of subjective when you're looking at it.
3032680	3034409	I mean, this is pretty cool to watch it move live.
3034409	3039129	But that also happens in Cloud Code when I use like the Playwright CLI or something.
3039129	3049419	But from my testing, Codex browser use has been much more smooth and much more intelligent than any other sort of browser use automations that I've built or used before.
3049419	3055650	So, that is something that is really cool about Codex in this app here is that the browser use is really good.
3055650	3059614	Now, you could obviously use it still from a CLI or whatever, but it is pretty good.
3059614	3063325	And like I said, there's just so many really cool use cases with browser automation.
3063325	3067971	If you want to check out a few more, even though this video was Cloud Code, you would set it up the exact same way in Codex.
3067971	3069888	I'll tag a video right up here.
3069888	3070922	I mean, I love this.
3070922	3072672	It's literally going through the filters.
3072672	3074336	You guys saw it had something else up here.
3074336	3075717	It's changing these check boxes.
3075717	3076809	It's changing the stuff.
3076809	3082252	It did another search here, and it's really going to actually stress test this app to make sure that it didn't miss anything.
3082252	3089271	And what else is really cool is you can build in this sort of QA check into skills or into the knowledge.
3089271	3098910	So, next time when you're building another dashboard or next time you're building a game, before it ever comes back to you, it already does a few passes visually and, you know, from like a code perspective, but you can make
3098920	3107185	sure that, "Hey, don't ever ever ever come back to me until you've stress tested with your own browser use." And that's how you can really just make this stuff smarter and smarter every day.
3107185	3109384	All right, so it decided that it's done testing now.
3109384	3113798	You can see that we have a bunch of things that passed, but it found a ton of improvements.
3113798	3115345	It ended up finding six things.
3115345	3118489	The external links for YouTube aren't really working.
3118489	3120533	The empty explorer state is too bare.
3120533	3121776	Search is too literal.
3121776	3123538	Active tab state is mostly visual.
3123538	3127958	And there's some other things that are just coming through awkward and little changes that we need to make to the UI.
3127958	3138196	So, what's really cool now is I can say, "Okay, take all of these six changes and build a plan around exactly how you're going to solve those." And then once it comes back with its proper plan, we would go ahead and execute.
3138196	3142122	But now that I showed you guys that, let's check back in on our actual automation that's running.
3142122	3144244	You can see that it is still going through the checks.
3144244	3145491	It's been about 10 minutes.
3145491	3152063	So, I will just check back in with you guys once this has been fully committed and we'll see what changes we have on our actual live dashboard.
3152063	3152870	Oh my goodness.
3152880	3160191	So, this was pushing like 20 minutes, so I stopped it and said, "Why is it taking so long?" And it's because it couldn't overwrite a file that I had open.
3160191	3161284	So, don't do that.
3161284	3164505	But now we're going to go ahead and just keep this going.
3164505	3174470	But honestly, there is a lesson there, which is sometimes it is nice to be able to watch it, especially before, like I said, before we know that this automation is really refined, because if it is going down the wrong path or it's
3174480	3185710	hitting some sort of roadblock that you the human should be able to just be able to solve in like a quick 20 seconds, then stop it and ask a question or stop it and steer it in the right way, because it's going to help not only save
3185720	3187331	you time, but it's also going to save you session limit.
3187331	3196792	Because if it was just burning tokens trying things, when the fix was for me to just close out of the app, then, you know, you'd rather have stopped that earlier before it's going down multiple wrong paths.
3196792	3207437	And another thing that I just noticed, which is really important to call out here, is that when you look at the automation, this automation is set up by default to run with GPT 5.2, which obviously we don't want.
3207437	3217789	So, you're going to want to make sure that your model is set up correctly, that the reasoning is set up correctly, and all of this other stuff is set up correctly, because that is also a reason why that run was probably taking so long.
3217789	3223519	So, I just went ahead and retriggered a new run using GPT 5.5, and I decided to try this one out using high.
3223519	3228233	Now, you also might be curious about the speed thing, the difference between standard and fast.
3228233	3231226	And honestly, I never really ever touch fast.
3231226	3237553	I'm never working in something that's super time-sensitive where I need to go fast, because that also eats up your usage a lot quicker.
3237553	3238917	But this is much more like it.
3238917	3242918	We can actually see it thinking and now we're going to be able to get this back much quicker.
3242918	3244751	Okay, so finally that has finished up.
3244751	3249308	You can see that it was able to make changes to that Excel sheet.
3249308	3251428	And it says that it analyzed 208 comments.
3251428	3258235	Now, because we just did this, you know, earlier today, I'm curious if it actually analyzed 200 of the same or if it knew not to duplicate.
3258235	3259748	And that's something that we'll want to take a look at.
3259748	3262285	But let's actually head over to my GitHub real quick.
3262285	3264087	This is the repo that we just set up, right?
3264087	3267683	And if I go ahead and give this a refresh, we should now see that we have two commits.
3267683	3271397	So, in the second commit, this shows we refreshed the comments.
3271397	3274645	So, every single time that you make a change to this repo, it'll show that here.
3274645	3277588	So, you can check at the version control and you can see what's going on.
3277588	3290029	But what that means is because our GitHub repo here got a new commit, if we go to Vercel now and we look at this actual project, if I go to deployments, we should be able to see that this just picked up a new change.
3290029	3292729	1 minute ago, it picked up this new deployment.
3292729	3297027	So, now if we go to the dashboard and I give this a refresh, this has new data.
3297027	3301434	So, this used to say 200 videos, or sorry, 200 comments, and now it says 208.
3301434	3305407	So, that is just proof that we were able to actually get some fresh insights.
3305407	3310413	Now, what's really nice is that it looks like it just basically added on eight new ones.
3310413	3316555	It didn't like add on 200 and then 200 more and then eight more, because it realized that they were duplicated.
3316555	3329550	And if we actually go and open up the actual source of truth, if I go into our repo, I go to outputs, I go to YouTube comment insights and I click on the Excel sheet that we accidentally had open earlier, we see that the dashboard is exactly the
3329560	3333965	same, except for now we've analyzed eight extra comments instead of the original 200.
3333965	3337070	But I wanted to show you guys what happened inside of this run.
3337080	3340952	So, as you guys know, we ran into that issue where I had the Excel sheet open, right?
3340952	3342174	That was the first mistake.
3342174	3344593	The second mistake was that this was running with 5.2.
3344593	3348254	So, we reset the automation, and now it's running with 5.5 high.
3348254	3350537	But then what happened is this was running for quite a while again.
3350537	3352891	So, I stopped it and said, "Hey, you've been running for a long time.
3352891	3354218	Why is it taking so long?
3354218	3357852	This is a very simple task." So, basically, I knew that something went wrong here.
3357852	3362150	Because when we built this dashboard from scratch, it only took about 20 minutes.
3362160	3365542	But updating it took 40 minutes or probably even longer.
3365542	3366847	So, I knew something was going wrong.
3366847	3369352	So, I stopped it, and I wanted to dig into it a little bit better.
3369352	3372509	And it And I was able to find out that it was stuck on some process.
3372509	3381203	So, I said, "What do you need from me in order to make sure that this doesn't happen again, and that you're able to just basically actually give us this deliverable that we're looking for?" And it had me make some confirmations.
3381203	3385566	And then as soon as I did that, it took about 7 minutes, and then it was able to make all of those changes.
3385566	3389265	So, the reason why I wanted to show you this is because once again, this stuff is not magic.
3389265	3391935	You don't deploy something, and you just expect it to work perfectly.
3391935	3395237	But what's really cool is I could say, "Awesome.
3395237	3397607	So, everything worked as expected on the dashboard.
3397607	3399195	The analytics have been updated.
3399195	3405870	Now, I want you to dig into what you just did with this automation, and help me understand, are there any opportunities to streamline this automation?
3405870	3409053	Are there any opportunities to make this better and more robust?
3409053	3415213	Do you have any recommendations here?" And I'll go ahead and fire that off and see if there's any way that we can make this automation better.
3415213	3425630	It's really important because there's this concept called dark code, which basically means you're writing a bunch of code when you do your vibe coding, but you don't actually know what's going on in the Python script or whatever
3425640	3427195	language you're using there.
3427195	3433089	And not to say that you need to understand every line of your code, but you need to understand fundamentally what it's doing and why.
3433089	3441433	And if there are any opportunities to get rid of some code, or if you have to, you know, bake in some more guardrails in a certain place, or anything like that.
3441433	3445148	So, it's basically looking at this to see if we can make it faster, or if we can make it safer.
3445148	3448646	Now, ultimately, as long as it's working, I don't really care how fast it is.
3448646	3454021	Because if this is running once a week, I don't care if it happens at 6:00 p.m. or 6:30 p.m. or even 7:00 p.m.
3454021	3455460	As long as it's actually working.
3455460	3458689	But sometimes speed is a big deal in your automations.
3458689	3467817	So, it comes back and says, "Yes, this works, but it is still too agent orchestrated and too heavy for a weekly data refresh." So, we could add one repo script to basically run the builder.
3467817	3471230	We could stop running the full next build for these sorts of updates.
3471240	3477341	And it's giving us all these different insights that we could then go ahead and push to make our automation and our system better here.
3477341	3479851	So, that's how you can kind of keep iterating upon it.
3479851	3487187	Even if you yourself don't really know exactly how you would make this better, you can use the AI to figure out and brainstorm.
3487187	3487472	Okay.
3487472	3490854	So, what you guys saw here is we created this product from scratch, right?
3490854	3492335	It was our YouTube analytics demo.
3492335	3504950	We connected to YouTube, we set up a skill, we set up an automation, we set up a dashboard, we used some browser use, and now we have an actual system where every week it will pull in more comments, it will update our data, our Excel sheet, and
3504960	3508888	then it pushes all of those changes to our actual live dashboard completely automatically.
3508888	3514119	So, I hope you guys enjoyed seeing that flow from basically idea, setting up a project, all the way to the end.
3514119	3521308	And just remember, what's really important is that this entire project, everything that we just did, is literally just a folder on your computer.
3521308	3526259	And what that means is you can customize this folder to be used by OpenClaw or CloudCode or whatever you want.
3526259	3528883	Any agent can work inside of this directory now.
3528883	3533963	And if I wanted to explicitly do this inside of Codex, well, I could go ahead and click on view.
3533963	3535836	I could open up the terminal.
3535836	3539730	And now, because we're in this directory, I could call on Claude.
3539730	3544511	And so, right here, I could be working with ClaudeCode inside of this actual repository.
3544511	3550115	So, maybe right here I'm using Claude to help brainstorm, and it creates me a brainstorming file inside of this project somewhere.
3550115	3555589	And then what I could do is I could just go back up here to Codex, and I could go ahead and tag that file.
3555589	3560523	So, say, "Hey, here is a planning file, a brainstorm file that I just generated with Claude.
3560523	3566986	I want you to be the one who actually takes this file and executes it for me." So, you can really start to play with these together and mix and match.
3566986	3578448	Just like I've shown you before where we would build something with Cloud Code and then we would actually loop in Codex to do the review on it and to find like security bugs or any just like code-based functionality bugs inside of it.
3578448	3584591	So, in my mind it's always about which tool is best for this specific use case, not which tool is best.
3584591	3586819	All right, so I really hope that you guys enjoyed that.
3586819	3589193	You should have a really good understanding of the interface of Codex.
3589193	3594720	You should have a really good understanding of how you come in here, you connect to other tools, you use plugins, you start building skills.
3594720	3597864	And really the next unlock is start building more and more skills.
3597864	3600695	So, try to think about what are you doing on a daily basis?
3600695	3602587	What are you doing on a weekly basis?
3602587	3607309	And write down some of those things that are boring and repetitive and that you just wish happened when you slept.
3607309	3610552	And then start to bring those into Codex and start to just brainstorm.
3610552	3614733	And as you're going through this process, you're going to want to set up kind of your own AI operating system.
3614733	3618163	So, I'm going to tag a video right up here that you guys should 100% go watch next.
3618163	3623310	This one was kind of based on Cloud Code, but remember everything is just files and folders.
3623320	3628630	So, if you follow the steps in this video, you will be able to replicate this in Codex, absolutely no problem.
3628640	3635113	And what's really cool is every project that I've moved over from Cloud Code to Codex, I've said, "Hey, this is something I built with Cloud Code.
3635113	3646430	Go ahead and analyze it and help me figure out what files you need to create in order to make this compatible with Codex." And all it's going to do is maybe change a few names and maybe change the cloud.md to the agent.md and
3646440	3647425	it's really, really simple.
3647425	3650468	It'll take like 30 seconds and then you have your project in Codex.
3650468	3653773	So, anyways, I'll see you guys over there at that AI operating system video.
3653773	3655317	Please give it a like if you enjoyed.
3655317	3656191	It helps me out a ton.
3656191	3660560	And as always, I appreciate you guys making it to the end of the video.
