YouTube2Text

La guida completa per passare da Claude Code a Codex — Transcript

by SOS Automazioni · 4,237 words · 621 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Yes, it's true, I'm cheating on Cloud
  2. 0:02Code. On my computer right now I have
  3. 0:05Cloud Code, which I use 90%of the time,
  4. 0:08but now I also have OpenAI's Codex
  5. 0:10because I want to see where it can save
  6. 0:13me time, where it can save me tokens
  7. 0:15and therefore money, where it is more
  8. 0:18efficient in general, and honestly, I
  9. 0:20just want to learn something new. So,
  10. 0:24just a few days ago I did an import, or
  11. 0:27rather a migration from Cloud Code to
  12. 0:30Codex because I have a mountain of
  13. 0:32active, working projects, skills, and
  14. 0:35various documents on Cloud Code, and I
  15. 0:37want to see if I can use them on Codex
  16. 0:40without starting from scratch. The
  17. 0:44answer is yes, and it is not difficult
  18. 0:46at all, but it is worth going beyond
  19. 0:48what it does automatically to get the
  20. 0:51best possible result. So, if you are
  21. 0:54also curious about using Codex, follow
  22. 0:56this guide to move from Cloud Code to
  23. 0:59Codex without throwing anything away
  24. 1:01and still get the results you want. In
  25. 1:06short, though, why switch to Codex, why
  26. 1:09add Codex alongside Cloud Code? The
  27. 1:13point is that the big artificial
  28. 1:15intelligence brands keep chasing each
  29. 1:18other. None of them is ever the
  30. 1:21absolute best at everything, especially
  31. 1:23lately. Codex didn't exist in the form
  32. 1:28we see now until recently, and it is
  33. 1:30the desktop application for ChatGPT
  34. 1:32that allows you to use OpenAI models
  35. 1:35and manage your work in an extremely
  36. 1:37streamlined way, a bit better than
  37. 1:39Cloud Desktop; but surely, within a
  38. 1:42month, Cloud Desktop will add a lot of
  39. 1:44the features that are now on Codex.
  40. 1:48Then on the other hand, there are the
  41. 1:49models. ChatGPT models are very good
  42. 1:52for, let's say, creativity. Probably
  43. 1:56Sol doesn't come close to Fable, but as
  44. 1:59executors, they seem more efficient
  45. 2:01compared to Anthropic's models. So, if
  46. 2:05you want to get the best result in the
  47. 2:07minimum time and also at the minimum
  48. 2:09cost, it makes sense to combine the two
  49. 2:12, but you obviously don't have time to
  50. 2:14jump from one to the other continuously
  51. 2:17, find out what works, and reinvent the
  52. 2:19wheel every time. So, if you really
  53. 2:23don't have time to do anything, click
  54. 2:25the link in the description, we can
  55. 2:26help you and take care of these things
  56. 2:28for your company. But actually, if you
  57. 2:32have spent time developing your things
  58. 2:34inside Cloud Code, it is not difficult
  59. 2:36at all to transfer them into Codex.
  60. 2:40This way, you can have skills, for
  61. 2:42example, that work in both systems
  62. 2:44without needing to explain anything;
  63. 2:47but, for instance, if they work well
  64. 2:49and cost less and are faster on Codex,
  65. 2:52you run them on Codex, while maybe
  66. 2:55keeping the same thing on Cloud. If you
  67. 2:58want to edit it, for example, and you
  68. 3:00want to make a big change, then you
  69. 3:02edit it from Cloud and then use it on
  70. 3:04Codex. Uh, Cloud for the moment, for
  71. 3:08example, is still much better for
  72. 3:10creating complex projects, from
  73. 3:13strategy to simply planning a project,
  74. 3:15website, software, etc. So it’s best
  75. 3:18to have a project that both of them
  76. 3:21work on, where all the structures
  77. 3:24needed by both projects and both
  78. 3:26systems are present, while doing the
  79. 3:29planning inside Cloud Code and the
  80. 3:31execution inside Codex. These are very
  81. 3:35frequent use cases these days. But
  82. 3:38let's see how to create this bridge,
  83. 3:41how to ensure that both are able to
  84. 3:43work while minimizing the effort and
  85. 3:46frustration on your part. When you
  86. 3:49install Codex, it will ask you to
  87. 3:51import everything. Decide if you want
  88. 3:55Cloud Code or also Cowork, and then
  89. 3:57you’ll see several items to import; I
  90. 3:59recommend importing everything at the
  91. 4:01beginning, you can eventually remove
  92. 4:03items later since it will be quite easy
  93. 4:05, and in the projects section, import
  94. 4:07everything as well. Given the number,
  95. 4:11and here I don't think it took all the
  96. 4:13subfolders of all the projects because
  97. 4:15I have well over 13 projects, but
  98. 4:17that's okay: because you can add them
  99. 4:19ad hoc later when you need them. And
  100. 4:23then, obviously, grant the permissions
  101. 4:26that Codex asks for, and this way it
  102. 4:28will do some processing, which you can
  103. 4:31also ask it to do in the background,
  104. 4:34and at a certain point, quite soon,
  105. 4:36you’ll find everything. imported.
  106. 4:44Once the import into your Codex is
  107. 4:46finished, go, open your ChatGPT on the
  108. 4:48desktop, because I kept calling it
  109. 4:50Codex, but Codex is a section of the
  110. 4:52ChatGPT application, and I’m going to
  111. 4:55the Codex section that I prefer, so I
  112. 4:57don't make a mistake, and go to the
  113. 4:59plugins section. The plugins section
  114. 5:03shows you this menu at the top,
  115. 5:05installed, okay? And click on the gear
  116. 5:09icon, then you will find plugins, apps,
  117. 5:12MCP servers, and skills. So, as you can
  118. 5:15guess, plugins are plugins, exactly as
  119. 5:17they were on Cloud Code, and here I
  120. 5:19think it only pulled in one of mine, uh
  121. 5:22, personal, because the others are all
  122. 5:24its own, let's say. And in skills,
  123. 5:27instead, you find the capabilities. In
  124. 5:30skills, you find the capabilities, and
  125. 5:32these here you can see are in the
  126. 5:35personal category, and they are
  127. 5:37basically all the skills I had created
  128. 5:40inside my Cloud Code, and it imported
  129. 5:43them as general skills. I don't know,
  130. 5:47actually, it hadn't imported all of
  131. 5:49them from the beginning. So how did I
  132. 5:51do it? Staying within Cloud, within
  133. 5:54Codex, I opened a new chat and simply
  134. 5:57asked it, "Why didn't Cloud import the
  135. 5:59'update Doc' skill?" That's simply how
  136. 6:02I discovered it hadn't. It's not that I
  137. 6:04made a complete list of skills and
  138. 6:06compared them. It could have easily
  139. 6:08been done. I could have asked Cloud
  140. 6:10Code to export a list of the skills,
  141. 6:12save it, then take it and pass it to
  142. 6:14Codex and ask if it had imported all of
  143. 6:16them. It's just a skill I use
  144. 6:20constantly, so when I called it with
  145. 6:22the usual slash command I didn't see it
  146. 6:24, so I asked why it hadn't imported it
  147. 6:27and it said, "Ah, you're right, that's
  148. 6:29my oversight, the source exists and
  149. 6:31unfortunately," what happened? It had
  150. 6:35been added as a command, not as a skill
  151. 6:37. It was a mistake Cloud made when it
  152. 6:40created the skill and, as a result,
  153. 6:42once I told it that it needed to be
  154. 6:44imported, I asked it to migrate it and
  155. 6:46it simply updated, created an 'update'
  156. 6:48skill and, at that point, I should also
  157. 6:50go into Cloud Code and have it fix this
  158. 6:52, but it's no big deal. You can do the
  159. 6:57same thing: you can, if you want,
  160. 6:59export the list of skills from Cloud
  161. 7:02Code and then come into Codex and ask
  162. 7:04if it has imported all of them, maybe
  163. 7:07even including the paths, or tell Codex
  164. 7:09to read the entire skills folder and
  165. 7:12all the skill folders within the Cloud
  166. 7:14Code projects and see if it has
  167. 7:16effectively imported all the skills.
  168. 7:20Actually, I recommend you do it
  169. 7:22differently. If you are aware of the
  170. 7:25skills you use every day, simply ask if
  171. 7:27they work, meaning press the slash and
  172. 7:29call a skill you are used to calling
  173. 7:31and see if it is present in the menu.
  174. 7:35Or if there are skills that should
  175. 7:37start automatically, the first time you
  176. 7:39are in a situation that should trigger
  177. 7:41that skill, see if it actually starts.
  178. 7:44Why this? Because if you are a power
  179. 7:47user of Cloud Code or if you simply
  180. 7:49follow many creators who distribute
  181. 7:51skills here and there, you probably
  182. 7:52have dozens of skills installed in
  183. 7:54Cloud Code that you don't actually use.
  184. 7:57This could be a good time to do some
  185. 8:00spring cleaning. If instead you prefer
  186. 8:02to have an identical copy and then
  187. 8:04remove what you don't need in the
  188. 8:06future, then use the methods I
  189. 8:08mentioned before. If you want to remove
  190. 8:11something, it's very simple. Go back
  191. 8:14into the plugin menu, into the
  192. 8:15installed plugins menu to be precise.
  193. 8:18Look at the plugins and, if you want to
  194. 8:20uninstall them, press the three dots
  195. 8:21and uninstall them. Go to skills, the
  196. 8:25same, run through them and click the
  197. 8:28three dots, open it, and from there you
  198. 8:31can also remove it, or, if you don't
  199. 8:34want to remove it, simply press "
  200. 8:36disable skill," so it isn't called even
  201. 8:39by mistake, essentially. Furthermore, I
  202. 8:43found a whole series of plugins in my
  203. 8:46plugin list imported from Cloud Cowork
  204. 8:49that I didn't even know existed. I
  205. 8:52don't use Cloud Cowork; they were
  206. 8:54things provided by Anthropic that Codex
  207. 8:57later imported, and they were all
  208. 9:00tagged as Cloud Cowork. Now you don't
  209. 9:03see them anymore simply because I
  210. 9:06opened a chat and asked it to remove
  211. 9:08all plugins from Cloud Cowork, and in a
  212. 9:11second they were all gone. So, once
  213. 9:14you've done the import, check if
  214. 9:15there's too much stuff. If there are
  215. 9:19ways to identify more skills or plugins
  216. 9:22you want to delete or disable in bulk,
  217. 9:24just ask it to disable everything at
  218. 9:27once, because it doesn't need to use
  219. 9:29the interface; it directly modifies its
  220. 9:32own configuration files. After
  221. 9:35finishing this big cleanup, there are
  222. 9:38some finer details to sort out. One of
  223. 9:41these is the references within the
  224. 9:43skills to things that were needed for
  225. 9:46Cloud or to Cloud itself that don't
  226. 9:48work on Codex. Codex doesn't
  227. 9:50automatically change all these things
  228. 9:52on its own, and thankfully so, because
  229. 9:54who knows how many errors it would make
  230. 9:55. But let me give you an example so you
  231. 9:57understand. For instance, I have an
  232. 10:00entire project that handles my
  233. 10:02accounting and then goes to Fisco Zen
  234. 10:04–the site I use for accounting–to
  235. 10:07create the actual invoice; it uses the
  236. 10:10Fisco Zen window to create the invoice,
  237. 10:12so the skill I created worked perfectly
  238. 10:15. Too bad it opened the page in my
  239. 10:19system Chrome because it used a tool
  240. 10:22called Playwright, which I use through
  241. 10:25Cloud Code, because Playwright,
  242. 10:27compared to the native Cloud Code tool,
  243. 10:30allows me to do extra things the native
  244. 10:32tool doesn't. But an advantage of Codex
  245. 10:37over Cloud Code is that it uses its
  246. 10:40internal browser very well.
  247. 10:43Consequently, it's worth it because
  248. 10:45it's much faster, doesn't open new
  249. 10:47windows, etc., so it's better to use
  250. 10:49the internal browser. So I simply told
  251. 10:52it to change the skill and open it in
  252. 10:54its own browser. Six words, seven words
  253. 10:58, and so it modified the skill, and at
  254. 11:01this point, when it needs to open a
  255. 11:04browser, it will always use the
  256. 11:06built-in Codex browser with this skill.
  257. 11:10Once I saw this problem, I said, "Damn
  258. 11:12it, I have a lot of skills that use
  259. 11:14Playwright." At that point, I opened
  260. 11:17another chat and told it: "Check all
  261. 11:20the skills that use Playwright or refer
  262. 11:23to opening a browser, ensure the
  263. 11:25language is generic enough to trigger
  264. 11:28the internal browser, and replace all
  265. 11:31references to the Playwright browser,
  266. 11:34because sometimes there were lines of
  267. 11:37code that only worked with Playwright."
  268. 11:40And at this point, since these are text
  269. 11:42files it has access to, if it reads
  270. 11:43them all and replaces them, you don't
  271. 11:45even need to use something like Sol,
  272. 11:47you don't even need a particularly
  273. 11:48powerful model. Then you should see if
  274. 11:51the skill is understood the first time
  275. 11:53you use it, but most likely it will
  276. 11:54work on the first try, and if it
  277. 11:56doesn't, it will be easy to fix. The
  278. 11:59moral of the story: it is really worth
  279. 12:01it to go and modify the internal
  280. 12:03references in the skills, as I was
  281. 12:06saying, to Cloud Code or tools you use
  282. 12:08with Cloud Code that shouldn't be used
  283. 12:10with Codex. I don't recommend doing it
  284. 12:15yourself, spending hours thinking about
  285. 12:17how to fix it, eh. I recommend doing it
  286. 12:21as you use the skills, because there
  287. 12:23are some skills you won't use anymore,
  288. 12:25so it makes no sense to fix them;
  289. 12:27others might work anyway, because Codex
  290. 12:29is quite intelligent and, above all,
  291. 12:31it's often not—or rather, almost
  292. 12:33never—a matter of problems that can
  293. 12:36cause irreparable consequences, eh.
  294. 12:38Mostly, it could be that a skill
  295. 12:41crashes or does something too slowly:
  296. 12:43you notice it and tell it: "Listen,
  297. 12:45change this, because Codex uses another
  298. 12:48tool." If you really want to, you can
  299. 12:51do a scan upfront, but there you should
  300. 12:54put in a fair amount of effort and tell
  301. 12:56it to scan all the skills, find all
  302. 12:59potential calls to Cloud or tools used
  303. 13:01by Cloud, and propose alternatives
  304. 13:03considering the skill will be used by
  305. 13:06Codex. This is the approach you can
  306. 13:09follow. It is not guaranteed, however,
  307. 13:12that it will find everything because
  308. 13:14there may be nuances it doesn't notice,
  309. 13:15as these tools often don't know each
  310. 13:17other well enough. By the way, when you
  311. 13:21start making these changes, you will
  312. 13:23unfortunately end up with misaligned
  313. 13:25skills; that is, the Codex copy will no
  314. 13:27longer be the same as the Cloud Code
  315. 13:29one. So, you could set up automated
  316. 13:33systems that might continuously scan
  317. 13:35and keep the versions separate, but
  318. 13:37still roughly similar; it can be very
  319. 13:40complex and can lead to errors if you
  320. 13:42want to do it automatically, but this
  321. 13:44is something you can experiment with in
  322. 13:47your specific case. The important thing
  323. 13:51is to disable automatic synchronization
  324. 13:53. It probably asks you at the beginning
  325. 13:57, but the onboarding screens might
  326. 14:00change, and when you install Codex for
  327. 14:03the first time, there is a setting. If
  328. 14:06you go into settings and search for "
  329. 14:08keep" or "sync," this thing pops up. In
  330. 14:11the general menu, there should be "keep
  331. 14:13imports synchronized." The problem is
  332. 14:16that for some reason, if I click it, it
  333. 14:18takes me to general but doesn't find
  334. 14:20that entry. Unfortunately, these tools
  335. 14:23are almost always in beta, so it could
  336. 14:25be a temporary issue at the moment.
  337. 14:28Anyway, the point is, if you activated
  338. 14:31this setting during the import phase,
  339. 14:34during the first launch of Codex, you
  340. 14:36risk every change you make on Cloud
  341. 14:39Code overwriting what you did in Codex,
  342. 14:42so it's better to disable it in
  343. 14:44settings. Skills are perhaps the most
  344. 14:48visible thing; they are also easier to
  345. 14:50manage and easier to notice if they
  346. 14:52aren't working. But then there are
  347. 14:55other elements to transfer, to migrate,
  348. 14:58and a very important one is MCP servers
  349. 15:01. So, you might have global MCP servers
  350. 15:04and project-level MCP servers. To
  351. 15:07evaluate if all global MCP servers have
  352. 15:10been transferred and are working, go
  353. 15:11back to the plugins page, back to the
  354. 15:13installed page, and then to the MCP tab
  355. 15:16, and here you will find the list of
  356. 15:18MCPs with the ability to configure them
  357. 15:20, disable them, etc. These are the
  358. 15:21global ones. For the more specific MCP
  359. 15:25servers of the various projects, you
  360. 15:27need to go into the individual projects
  361. 15:29. So, you will have a series of
  362. 15:32projects imported from Codex, or you
  363. 15:34can click the plus sign and add a
  364. 15:36project folder to add that project. If
  365. 15:40you don't have any chat in a project,
  366. 15:43create a new one and send it a message,
  367. 15:45but otherwise open a chat and go open
  368. 15:48the sidebar and then click on files.
  369. 15:51You can do the same thing if you want
  370. 15:54by opening Explorer Resource, so you
  371. 15:56can click the three dots near the
  372. 15:58project, click Explore in File Explorer
  373. 16:00, and here you see all the project
  374. 16:02files. Our goal is to see if the MCP
  375. 16:05servers have been transferred. So, you
  376. 16:08see that here there is mcp.json. This
  377. 16:11is in the root, in the root folder of
  378. 16:14the project, the main folder. I won't
  379. 16:16open it because there are credentials
  380. 16:17that you cannot see. If the transfer
  381. 16:20was done, you will find a folder of
  382. 16:26.codex that contains that file, and it
  383. 16:29is not here because probably the
  384. 16:32migration was not done automatically.
  385. 16:36Instead, for example, in this other
  386. 16:38project, there is the .codex folder,
  387. 16:40and inside it contains this file called
  388. 16:43config.toml, which is totally different
  389. 16:45from mcp.json, because the two systems
  390. 16:48work in different ways. Consequently,
  391. 16:51if I were to open it—but I won't,
  392. 16:52because there are credentials you can't
  393. 16:54see—I would see that there are the
  394. 16:55exact same credentials that are on the
  395. 16:57other side. But I didn't write them; I
  396. 17:00told it, or rather, it imported them
  397. 17:02automatically, and I found the MCP
  398. 17:04server configuration already set up. So
  399. 17:07, how do you do it on the other side
  400. 17:09where the setting isn't there because
  401. 17:11the tab is completely missing? So, I
  402. 17:14open a new chat. It doesn't even take
  403. 17:16much effort; I think just "light" is
  404. 17:18enough. And I tell it, to be super
  405. 17:22clear, this is a project imported from
  406. 17:25Claude Code and the MCP server
  407. 17:28configuration wasn't imported, so you
  408. 17:31handle it. And so it should understand
  409. 17:35everything because it understood it in
  410. 17:38the other projects, so it will go and
  411. 17:40read the configuration, see? And then
  412. 17:44it will find the server and transfer it
  413. 17:46to a file that is, let's say,
  414. 17:48compatible with the Claude
  415. 17:50configuration. There, I saved you all
  416. 17:53the steps. So, it identified the server
  417. 17:57and since there were credentials, it
  418. 17:59asked me for authorization, I gave it
  419. 18:02authorization, and it completed the
  420. 18:04import. This is the problem with using
  421. 18:10Claude Light, because not only is it a
  422. 18:12relatively smart model, but above all I
  423. 18:14put zero effort into it, so I said, "No
  424. 18:16, look, I actually wanted it as a local
  425. 18:18server." At that point, it made the
  426. 18:21correction, and now I find the server
  427. 18:24configured in the Claude folder that
  428. 18:26wasn't there before. This therefore
  429. 18:29applies to MCP servers, but it also
  430. 18:31applies to anything else. If you
  431. 18:34discover there was a local project
  432. 18:36skill and it didn't transfer it, you
  433. 18:38have it transfer it, and for any other
  434. 18:40action, luckily it understands where
  435. 18:42things go, so I didn't have to
  436. 18:43copy-paste or anything like that. It
  437. 18:46did everything itself. Well, it got the
  438. 18:49location wrong, putting it in global
  439. 18:52instead of local, but it took a second
  440. 18:55to fix, and it might eventually ask for
  441. 18:58authorizations since it involves
  442. 19:00sensitive items; and, you apply this to
  443. 19:03all projects where you have MCP servers
  444. 19:06that weren't transferred or any other
  445. 19:09credentials or local project items that
  446. 19:12weren't transferred correctly. And then
  447. 19:15there's the cloud. Every Claude Code
  448. 19:19project, and Claude Code itself
  449. 19:20globally, depends on this file to
  450. 19:22understand what it's talking about
  451. 19:24within that folder, within that project
  452. 19:27. And in the cloud.md file go a series
  453. 19:31of general instructions that allow
  454. 19:33Claude not to have to start from
  455. 19:35scratch every time you open a new chat
  456. 19:38in that project. So, if a project is
  457. 19:42imported automatically, you’ll find
  458. 19:44the cloud file inside its folder. The
  459. 19:47agents.md file. See, the agents file is
  460. 19:52right here, and it gathers a series of
  461. 19:55instructions for the agent to
  462. 19:57understand the project. If I go to
  463. 20:00cloud.md, it’s actually formatted a
  464. 20:03bit better, but obviously, the
  465. 20:05instructions are similar. If it hasn't
  466. 20:09been transferred, go to your project
  467. 20:11where it wasn't transferred and say, "
  468. 20:14In this project, the agents.md file
  469. 20:16wasn't created; have it imported from
  470. 20:19cloud." And I tell it that without
  471. 20:23explicitly asking it to go transfer it
  472. 20:25or anything like that. And since it's
  473. 20:28done on the other side, you’ll see,
  474. 20:29it checks the project structure, the
  475. 20:31instructions, and adds the linked file
  476. 20:33if it’s really missing, because it
  477. 20:34doesn’t just take your word for it.
  478. 20:38So in this project, among the files,
  479. 20:40you see there is cloud. MD, but there
  480. 20:44is no agents.md. And so now it doesn't
  481. 20:47just read the file, it will also take a
  482. 20:49quick look at the structure. If it’s
  483. 20:51a somewhat complex project, maybe it
  484. 20:53chooses a slightly higher effort than
  485. 20:55Light. But I wanted to go fast now to
  486. 20:58show you what it was doing and that
  487. 21:00everything worked very simply. And
  488. 21:03there it is, it created the agents file
  489. 21:05. It took really no time, you can find
  490. 21:07it here. Well, it even committed it,
  491. 21:10but we’re not concerned about that.
  492. 21:11To be safe, I asked it if the new file
  493. 21:13contains instructions understandable
  494. 21:15only by Claude or if it can be used
  495. 21:16autonomously by Codex. And it analyzed
  496. 21:19it for 30 seconds. Again, if you want
  497. 21:22to be 100%sure, maybe set a slightly
  498. 21:24higher effort, but in this case, it
  499. 21:26probably wasn't problematic. And
  500. 21:28interestingly, it also linked me the
  501. 21:31official documentation that confirms
  502. 21:33its analysis, meaning that agents.md
  503. 21:36works. Then I made a specific choice
  504. 21:39where basically Agents exists because
  505. 21:41Codex needs it, but then it refers back
  506. 21:43to the cloud content, and this way I
  507. 21:45can keep updating cloud from Claude
  508. 21:47Code. And be sure that Codex will pull
  509. 21:51all the changes made on the other side.
  510. 21:53It’s very smart, I didn’t even ask
  511. 21:55it to do that. It must be the standard
  512. 21:57routine, because clearly everyone at
  513. 22:00OpenAI knows that whoever arrives at
  514. 22:02Codex has probably already worked a lot
  515. 22:04with Claude Code and sub-agents. And
  516. 22:09I’ll tell you that I didn’t find
  517. 22:11them; I couldn't find, neither in the
  518. 22:13import options nor in the settings, an
  519. 22:16entry that mentioned sub-agents. And it
  520. 22:20could be that they appear in the future
  521. 22:23, or it could be that Codex is capable
  522. 22:25of creating its own sub-agents and
  523. 22:27managing them intelligently on its own.
  524. 22:31But if you have dedicated sub-agents
  525. 22:33created in Cloud Code, for now, you
  526. 22:36might want to convert them into skills
  527. 22:38or plugins, depending on your
  528. 22:40preference; I would start with skills
  529. 22:43and use them that way. If you make
  530. 22:47advanced use of Cloud Code, you know
  531. 22:48that hooks also exist, these triggers
  532. 22:50that connect to specific events. For
  533. 22:54example, when Claude stops working and
  534. 22:57offers you an output or a question, you
  535. 23:01can associate events, operations, any
  536. 23:04task, code execution, calls to AI, etc.
  537. 23:07, with these hooks, and Cloud Code
  538. 23:10imports them. So, if you go to the
  539. 23:14settings screen, down where it says
  540. 23:16programming, you will find hooks. Okay,
  541. 23:20nothing could be easier. Go to the
  542. 23:23center of this screen and you will see
  543. 23:25that it has imported the hooks, and
  544. 23:27since they are a bit delicate, it
  545. 23:29presents a review for each one,
  546. 23:31including a translation of the name
  547. 23:34which is usually in English; I can
  548. 23:36expand it, see what the hook does, and
  549. 23:38eventually click to activate it.
  550. 23:41Basically, you deem it reliable and
  551. 23:43then activate it. And be careful, as
  552. 23:46some of these hooks are specific to
  553. 23:50your Claude. For example, this Rules
  554. 23:54validator is something I created to
  555. 23:56prevent Claude from constantly making
  556. 23:58the same mistakes with a series of
  557. 24:00commands. Those same commands probably
  558. 24:04don't exist in Codex or are different,
  559. 24:06so they could be a bit
  560. 24:07counterproductive, or it could be that
  561. 24:09Codex doesn't even support them. So, be
  562. 24:12careful: if you have created very
  563. 24:15specific hooks for Claude, it is best
  564. 24:17to deactivate them. It is better to
  565. 24:20leave everything deactivated, work with
  566. 24:22Codex, see if the same problems arise,
  567. 24:24and then potentially activate the hook,
  568. 24:27or never reactivate it, or create new
  569. 24:29hooks depending on the ones you had
  570. 24:31created. For example, if it's simply a
  571. 24:34hook that sends you a notification,
  572. 24:36then maybe that notification can still
  573. 24:38be useful. However, the trigger might
  574. 24:41likely be different if it was triggered
  575. 24:44by a specific function call from Cloud
  576. 24:46Code. So, watch out for the hooks; in
  577. 24:49my opinion, you should deactivate them
  578. 24:51and reactivate them later if the
  579. 24:52problems the hooks solved arise again.
  580. 24:56Or activate them, but pay close
  581. 24:58attention to when Codex stumbles or
  582. 25:00gets stuck, telling you, "Look, hook
  583. 25:03ABC is blocking me." And this is the
  584. 25:07procedure you need to switch to Codex
  585. 25:09from Cloud Code without throwing away
  586. 25:10what you've already done and also to
  587. 25:12allow the two systems to coexist. So,
  588. 25:15start with the automatic import. Know
  589. 25:18that it won't be super intelligent, so
  590. 25:21it won't update the content of the
  591. 25:23skills; know that it will forget
  592. 25:25something, but you can then go and
  593. 25:28remove what you don't need, review the
  594. 25:30content of the skills, add what's
  595. 25:32missing, perhaps by discovering it
  596. 25:35manually, and you can easily add
  597. 25:37everything later: the agents.md files,
  598. 25:40the skills, the MCP servers, and
  599. 25:43anything else present in Cloud Code
  600. 25:45that wasn't correctly transferred to
  601. 25:47Codex. I hope this video was useful to
  602. 25:50you, and I will definitely talk more
  603. 25:51about Codex in the coming weeks because
  604. 25:53I am experimenting with the system, and
  605. 25:55sooner or later I'll even make a
  606. 25:57complete course for you. If you have
  607. 25:59any questions about this video or about
  608. 26:01Codex in general, put them in the
  609. 26:02comments so you can inspire me for
  610. 26:04future videos. Remember that we can
  611. 26:07help you avoid wasting too much time
  612. 26:09doing these things on your own, support
  613. 26:11you with training, or work to create
  614. 26:14your projects, your skills, and so on
  615. 26:16in Codex or Cloud Code. And for our
  616. 26:19help, click the link in the description
  617. 26:21, contact us, and then we'll be in
  618. 26:23touch to see how we can assist you.
  619. 26:26That said, like the video, share it,
  620. 26:28subscribe to the channel, and I'll see
  621. 26:30you in the next episode.

About this transcript

This page contains the full transcript of La guida completa per passare da Claude Code a Codex by SOS Automazioni, generated from the public captions YouTube serves with the video. The transcript has 4,237 words across 621 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.