Mark Kashef · Youtube · 11:24

How to INSTANTLY Run ANY Skill in Claude + Codex

One adapter skill that converts Claude Code skills to Codex and back — so the provider wars stop costing you work.

Posted
May 21st 2026
today
Duration
11:24
Format
Tutorial
educational
Channel
MK
Mark Kashef
§ 01 · The Hook

The bait, then the rug-pull.

Every few weeks the developer crowd flocks to a new runtime — Claude Code one month, Codex the next — and every time they move, their skills break. Mark Kashef walks into the tribal war with a single file that ends it.

§ · Stated Promise

What the video promised.

stated at 00:45 "By the end of this video, I'm gonna give you a skill and slash command that you can use to maintain your nimbleness in this ever changing space." delivered at 07:22
§ · Chapters

Where the time goes.

00:00 – 00:24

01 · Cold open — the tribal war

Claude vs Codex provider switching framed as an endless cycle. Neither side wins; your skills lose.

00:24 – 00:54

02 · The portability problem

Same SKILL.md file works in Claude Code, breaks in Codex. One file, two runtimes, one does not load the same.

00:54 – 01:34

03 · Goal — one universal adapter

Demo preview: /polyskill visible in Claude Code CLI and Codex CLI simultaneously.

01:34 – 02:45

04 · Runtime nuances explainer

Claude Code: markdown-native, dynamic injection, no length cap. Codex: 8K catalog cap, front-loaded triggers, agents/openai.yaml sidecar required.

02:45 – 02:59

05 · Two choices framing

Manually maintain and convert forever, or do it once with Polyskill.

02:59 – 03:27

06 · Mid-roll CTA

Early AI-Dopters Skool community: living Claude Code course, updated weekly.

03:27 – 04:07

07 · Anatomy of an agent skill

SKILL.md = YAML frontmatter (name, description) + markdown body + scripts/ + references/ + assets/. The portable core.

04:07 – 05:04

08 · Claude Code backend anatomy

allowed-tools, disable-model-invocation, dynamic injection via backtick-bang. No length cap. Claude-only fields.

05:04 – 05:59

09 · Codex backend anatomy

Front-load triggers within 8K cap, metadata/short-description, Codex-only agents/openai.yaml sidecar with MCP dependencies and display config.

05:59 – 07:22

10 · How Polyskill works

definition.md as portable IR. Three layers: shared structure, plug-and-play adapters, CLI. Adding a runtime = one file: parse() + emit().

07:22 – 08:23

11 · Live demo — install + convert y-compare

polyskill install builds and installs globally to ~/.claude and ~/.agents. Then /polyskill y-compare convert to Codex: full repackaging confirmed.

08:23 – 09:33

12 · Live demo — convert front-end-design

/polyskill convert the front end design skill to codex completes in under 10 seconds. Skill appears in Codex after refresh.

09:33 – 10:24

13 · Two-way — Codex skill to Claude Code

$polyskill in Codex imports agent-email-inbox; immediately available as /agent inbox in Claude Code terminal.

10:24 – 10:51

14 · Write once, ship forever

Vision: extend to rules and hooks. Polyskill at center of multi-runtime wheel (Claude, Codex, Cursor, AWS Kiro, Block Goose, JetBrains, GitHub Copilot, Gemini CLI). 37+ runtimes.

10:51 – 11:24

15 · Outro CTA

Polyskill kit free on Gumroad (link 2). Early AI-Dopters community for ongoing updates (link 1).

§ · Storyboard

Visual structure at a glance.

open
problem
anatomy TLDR
how polyskill works
live install demo
write once ship forever
outro CTA
§ · Frameworks

Named ideas worth stealing.

01:34 concept

The Skill Portability Gap

Claude Code and Codex share the skill concept but differ: description length cap (none vs 8K), dynamic injection (backtick-bang vs unsupported), sidecar file (absent vs required). Same SKILL.md misfires across runtimes.

Steal for Any comparison video framing your tool as the bridge between two camps
05:59 model

Polyskill 3-Layer Architecture

  1. Shared Structure (portable IR via definition.md)
  2. Adapters (per-runtime cartridges: claude, codex, cursor, gemini)
  3. CLI (natural language conversion commands)

Neutral IR at center; adapters plug in like cartridges; adding a runtime = one file. parse() + emit() pattern.

Steal for Building any cross-platform tool: define a portable core, emit to each target
10:24 concept

Write Once, Ship Forever

Polyskill as hub in a multi-runtime wheel. One source of truth, deployed to any runtime via one natural-language command.

Steal for Positioning any adapter/bridge product in a fragmented ecosystem
§ · Quotables

Lines you could clip.

00:02
"People keep fighting about which provider is better, Code or Codex."
Instant tribal-war hook, no setup needed → TikTok hook
02:45
"Either you constantly maintain and manually convert every single time you wanna do the equivalent of moving houses from OpenAI to Codex, or you do all the work once."
Clear either/or frame with visceral moving-houses metaphor → IG reel cold open
10:24
"This will keep you nimble so that when the day comes and you have codec six or Opus 5.5, you can switch to the model where you feel that your workflow executes the best."
Forward-looking, speaks to falling-behind anxiety → Newsletter pull-quote
§ · Pacing

How they spent the runtime.

Hook length60s
Info densityhigh
Filler5%
§ · Resources Mentioned

Things they pointed at.

§ · CTA Breakdown

How they asked for the click.

02:59 link
"Check out the first link down below from my early adopters community."

Clean mid-roll at natural pause (2:59) before resuming content. Second CTA at 10:51 for free Gumroad kit — product is lead magnet, community is upsell.

§ 04 · The Script

Word for word.

HOOK opening / re-engagementCTA the pitch analogy
00:00HOOKPeople keep fighting about which provider is better, Code or Codex. A few months ago, Claude Code was everyone's darling.
00:07HOOKBut in the past few weeks, Codex has been emerging and many people have been shifting over. And, honestly, I don't see this trend changing anytime soon, and wouldn't be surprised if in another few weeks, people start flocking back to Cloud Code. But here's the part that nobody's talking about.
00:21HOOKWhen it comes to skills, both providers can handle them, but the way they're designed, used, and executed are pretty different. You'll end up having to recycle and recreate skills over and over again. So the point of this video is to equip you with one single skill that you can use as a universal adapter to convert a Cloud Code skill to a Codec skill and vice versa.
00:42HOOKSo by the end of this video, I'm gonna give you a skill and slash command that you can use to maintain your nimbleness in this ever changing space. If that sounds interesting, then let's jump in. So our goal here is very simple.
00:53HOOKWe wanna be able to create and convert any skill to have it work in both Codex and Claude code at the same time. So it should look something like this, where you can go into Claude code right here, then enter something like Polyskill, which is the name of our skill that I'll be giving you today, which will be our main converter.
01:11If you pop into Codex through the CLI as well, you'll be able to see it here as well. And then if you wanna be able to use it through Claude desktop or you wanna use it through the Codex app, then if you pop over there, you should be able to see this here as well. And the best part of this is that if you have the right skill and process,
01:29this is as simple as just executing the exact same skill in two different folders and making sure it shows up and renders correctly. Now although the overall concept of a skill is the same between OpenAI and Anthropic, when it comes to the mechanics and nuts and bolts, there are some nuances.
01:45So in Claude code, you can do something more nuanced where you can actually drop a terminal command in the middle of a skill and it will know how and when to execute it. While you can execute something similar in codex, it wouldn't be in the exact same way from a structure standpoint. And when it comes to codex specifically,
02:00it has this cap on reading all the descriptions of skills where if you have too many skills, at some point, it might not read the description at all of a particular skill or it will get cut off. So imagine you have a description where you set the context
02:14of when to use the skill, but all of your triggers are at the very end, it might not ever see them. Whereas in Claude Code, it will ram all your descriptions as is as long as they're below a certain character limit within the context window as soon as you start a new session. And on the codec side, we have an extra configuration file that's called a sidecar or another YAML file where it can have more details on what tools and services it should be able to connect to from that particular skill, and this is something that's not present in Cloud Code.
02:44CTASo you have two choices. Either you constantly maintain and manually convert every single time you wanna do the equivalent of moving houses from OpenAI to Codex, or you do all the work once, get the leverage you need, and use one skill called Polyskill to take care of everything for you.
03:00CTAAnd by the way, if you like the way I teach and you want access to all of my exclusive content along with our Claude Code Living course where we add one new module every single week that you'll never see on YouTube, then you wanna check out the first link down below from my early adopters community. If you wanna be able to audit what courses exist and what's coming next, we have a link on our about page that you can check out to make sure it's the right decision for you.
03:22CTAAlright. Back to the video. But before we jump into the nitty gritty, just in case you're not as familiar with skills or you don't know all of the core components that can comprise a skill, here's your quick TLDR.
03:32So the anatomy of an average agent skill looks like this. You have a skill MD, then you have the name and description in Claude Code. For example, the name is in what's called kebab case.
03:42This has your markdown body walking through all the terminal commands, all the context, all the order of operations, and then you have this section that's called scripts.
03:51And in scripts, can have some Python scripts that Claude code uses or executes to get the job done. And then you can have some additional reference files and additional assets that the skill can refer to, and all you'd have to do is just specify this within the skill body itself. When it comes to the cross section of a Claude code skill, it looks like this.
04:11So you have the name, description, which tools are allowed, so which bash commands can execute using this skill, and at the same time, you can make sure that it needs to ask you permission every single time it uses a skill or whether it should use it automatically.
04:25And this is the cross section of a Claude code skill. So if we zoom in, we have the name, we have the description, which tools, batch commands are allowed to be executed by the skill, and then we have this additional field that's called disable model invocation, which means do you want the skill to run autonomously
04:43based on Claude Codes' judgment, or do you want it to elicit your approval every single time? And then in the body, like we said, we have this thing that's called dynamic injection and this is the equivalent of being able to run a specific slash command. Now the technical term for this is this exclamation mark is called a bang and this is called a backtick.
05:04So a backtick bang is how it would see this terminal command and execute it by proxy. And codexes looks very similar. So if we zoom into here, again, we have name, we have description
05:15where ideally it's better for you to add the trigger at the very beginning so you don't run into that memory issue we mentioned before. And then we have the short description, but notice how it's under the heading metadata. So this is where the short description goes.
05:27And then we have this complimentary file, again called the sidecar or configuration YAML file that will include things like how it should be displayed in the interface of the Codex app, which icon it should be represented by, the default prompt, any form of dependencies on tools, any policies,
05:44same thing on the invocation, but again, it's under a policy heading, etcetera. So both are functionally able of very similar things, but there are nuances that would have one skill misfire in the other provider.
05:57So now that we're on the same page, this is how my Poly skill works. We have a definition dot markdown file and this is where it identifies what the skill you're trying to convert looks like, and then it understands how it should be activated and how it should differentiate its body to work for both Claude as well as Codex and create this YAML file if needed for the Codex skill version.
06:18And you can think of my skill again as a form of adapter. This is a universal travel adapter, just as an analogy. And behind the scenes, you pretty much have three core pieces.
06:27The first piece is what I call the shared structure. It's basically a neutral version of what each skill needs to be irrespective of the specifics of the structure and syntax. The second piece are the adapters.
06:39You can think of them like cartridges. If you plug a cartridge in, that tool is now supported by that skill. And if you pull it out, it's no longer available.
06:47And the third piece is just the CLI, command line interface. If you wanna add multiple tools to both providers, then it's as simple as a natural language command. So by some miracle, if Gemini becomes competitive enough to something like Codex or Cloud Code in the near future, and you wanna be able to add this functionality to the adapter, it wouldn't be that hard.
07:07All you'd have to do is use your provider of choice to analyze the structure of a Gemini skill, look for the schema, and then find a way to basically abide by it and convert to all three different outputs. I've designed it to be as plug and play as possible. So all you have to do is bring the skill and the associated assets
07:24to the specific skills folder for that particular provider. And once that's done, all you'll have to do is write Polyskill install, and in stage two, you'll officially be able to tap into both run times of both tools. And stage three is as simple as writing Polyskill and saying convert my insert name of specific skill here.
07:42And in codex, it would be the dollar sign if you're using the CLI instead of the slash command. All we'd have to do is put the skill in a brand new folder, do Polyskill install like I said. It will build the skill, then install the skill for both providers, and this little squiggly line, this tilde, just means that it's installed globally at the Cloud level and the dot agents level, which is specific to Codex.
08:04Then once we have that and scroll down, you could send a prompt as simple as this. So I could do slash Polyskill, and then this is the name of a skill that I have that basically analyzes YouTube content from other competitors.
08:16Then I just tell it go and convert this to work with Codex. If we go to the very bottom here, you'll see it does a full repackaging of this skill to work in both areas and then as soon as it says that it's landed, then you can navigate to something like the Codex app, go on the three dots right here, click on refresh,
08:35and then you'll be able to see at the very bottom this y compare skill waiting to be used. So let's say you wanna take another skill like the native front end design skill from Cloud Code, we could do the exact same process. I'll go here.
08:48I'll do Polyskill once more, and then I'll say convert the front end
08:55design skill to Codecs.
08:59And then it should be able to go look for the configuration, look at how it works down to the nth degree, and then replicate that same functionality to work in codecs as well. And I didn't have to pause the video for long and it finished in under ten seconds.
09:12So theoretically, all these assets should be installed. If we go into Codecs, you can see right here, we can't see it off the cuff.
09:21But if we do a double click here, we do a refresh, and we go to the very bottom, we should be able to see, there we go, the front end design skill. It's as easy as doing try and chat,
09:32using it, building whatever you want, and now you have this two way communication between Codex and Cloud Code. You'd have the identical experience in the Codex app where if you use dollar sign Polyskill and you tell it to use one of the Codex native skills, you can bring this to Cloud Code in under a minute and pretty much you can see right here it imported this agent email inbox skill.
09:53If we pop into our terminal and we slash clear and we do something like agent inbox, let's do actually slash agent inbox, agent inbox, you could see it right here.
10:05And the best part of this process is because you can do this seamless two way communication and two way conversion, anytime you bring any skill in, it could be from Cursor, it could be from Gemini, you could say, want you to take said skill, adapt it, and disseminate it to both providers so I can use it turnkey out of the box.
10:23And that's really it. So we focused on skills, but this could be extended to focus on things like rules, hooks,
10:30different parts of both systems that you wanna keep in sync at all times so you have the full freedom to go to GPT 5.7 or OPUS five or whatever new model comes out that everyone will side with for a temporary short of time. And this will keep you nimble so that when the day comes and you have codec six or Opus 5.5,
10:48CTAyou can switch to the model where you feel that your workflow executes the best. And like I said, you'll be able to grab this entire skill in the second link down below, and you'll be able to adapt it for your specific use cases. But if you wanna be able to access my ongoing updates to this skill along with everything else I maintain for my exclusive community, including our living course where I keep adding brand new modules you'll never see on YouTube, then check the first link down below, and maybe I'll see you in my early adopters community.
11:15CTAFor the rest of you, if you found this helpful, if you found it novel, then please let me know by leaving a like on the video and a comment if you so choose, and I'll see you in the next one.
— full transcript
§ 05 · For Joe

Build the adapter once.

Skill portability playbook

The provider wars are noise — the only thing that matters is whether your skills survive the next switch.

  • The core pattern: neutral internal representation (definition.md) + per-runtime emitters. Every bridge tool benefits from this architecture.
  • Front-load trigger phrases in every skill description — Codex cuts off after 8K, and triggers at the bottom never get seen.
  • The backtick-bang dynamic injection in Claude Code has no Codex equivalent — document this gap so skills do not misfire silently.
  • Polyskill 3-stage CLI (install, build, convert) is a model for any developer tool: reduce a complex cross-platform operation to one natural-language command.
  • Mark's community flywheel: free kit on Gumroad as lead magnet, paid Skool community for ongoing updates — a clean productization pattern for workflow tools.
§ 05 · For You

Stop rebuilding your tools every time the hype shifts.

If you switch between AI coding tools

The skills you have built are not locked to one provider — one install makes them work everywhere.

  • If you use Claude Code today but want to try Codex, you do not have to recreate your custom skills from scratch.
  • Run polyskill install once, then /polyskill convert your-skill-name and it lands in both runtimes in under 10 seconds.
  • Get the free kit at the Gumroad link in the description and adapt it to your own skill folder.
§ 06 · Frame Gallery

Visual moments.