Turn a Custom GPT into an Agent Skill for Claude Code, Codex and Cursor

Custom GPTs retire on December 11, 2026. Turn yours into a portable SKILL.md that works in Claude Code, Codex and Cursor, with a field-by-field mapping and example.

By the Kipt team · Updated 25 November 2026 · 4 min read

Why convert a Custom GPT into a skill?

OpenAI is retiring Custom GPTs. Its retirement FAQ schedules them to stop running on December 11, 2026, with February 11, 2027 for FedRAMP workspaces and some Enterprise workspaces with an approved deferral. OpenAI's own path, Migrate to plugin, turns a GPT's instructions into a skill inside a ChatGPT plugin. The Custom GPTs guide covers that flow step by step.

That keeps the GPT alive inside ChatGPT and Codex. But the instructions you wrote are worth more than one product. Saved as an Agent Skill, a folder with a SKILL.md file, the same instructions work in Claude Code, Codex, Cursor and every other agent that reads the open format. You do the work once and stop depending on any single vendor's retirement schedule.

How the parts of a GPT map to a skill

In your GPT In a skill Notes
Name name in the frontmatter Lowercase letters, digits and hyphens, matching the folder name
Description description in the frontmatter Say what it does and when to use it, up to 1,024 characters
Instructions The body of SKILL.md Rewrite for a task, not a chat persona (below)
Conversation starters Trigger words in the description, plus an examples section Starters show what people ask, which is what the description needs
Knowledge files Files in a references/ folder Link each one from SKILL.md so the agent reads it only when needed
Actions An MCP server, or a script in scripts/ No automatic conversion; OpenAI's migration doesn't carry custom actions either
Capabilities such as web search The agent's own tools Each agent has its own; mention any the skill relies on

OpenAI's migration guide, quoted in our ChatGPT skills guide, also notes that the selected model doesn't carry over and conversation starters don't move one to one. The same is true here: a skill describes the work, and the agent you run it in decides the model.

Step 1: Back up the GPT before December 11

Do this first, even if you migrate inside ChatGPT too. Open the GPT's editor and copy out:

  • The full instructions, word for word
  • The conversation starters
  • Every knowledge file you have the right to keep
  • Any action schemas, so you know what to rebuild

Migration uses the latest published version of a GPT, so unpublished edits in the editor are left behind. Copy those by hand.

Step 2: Rewrite the instructions for an agent

Most GPT instructions are written as a persona talking to a chat user: "You are BlogBuddy, a friendly editor who helps users..." A skill works better as a short brief for one job: what the task is, the steps, the format to return, and what to do when information is missing.

Here is a GPT turned into a skill. The original instructions asked the GPT to edit blog drafts in the company voice and suggest three titles.

---
name: blog-edit
description: Edits a blog draft in Acme's house style and suggests three titles.
  Use when the user asks to edit, tighten, review or polish a blog post or article draft.
---

# Blog edit

1. Read the draft. If no draft is given, ask for it.
2. Edit for Acme's style: short sentences, plain words, no hype, active voice.
3. Keep the author's meaning and facts. Never add claims or numbers.
4. Return the edited draft first, then a short list of what changed and why.
5. Suggest three titles under 60 characters.

For tone examples, read references/style-examples.md.

Notice what changed. The persona is gone. The description names the words people actually say ("edit", "polish", "blog post") so the agent knows when to load it. And the long knowledge file became a reference the skill reads only when it needs examples. The SKILL.md guide covers the rules for names and descriptions in detail.

Step 3: Put the folder where each agent looks

A skill is a folder: blog-edit/SKILL.md, plus references/ if you have files. Copy it into the folder your agent reads:

Agent Personal skills folder
Claude Code ~/.claude/skills/blog-edit/
Codex ~/.agents/skills/blog-edit/
Cursor ~/.cursor/skills/blog-edit/, or the Claude Code and Codex folders, which it also reads

If you keep your skills in a GitHub repo, the open source skills CLI installs them into several agents at once:

npx skills add https://github.com/you/your-skills.git --skill blog-edit -g -a claude-code -a codex

For the Claude app, you upload a skill instead. The Claude skills guide shows where.

Step 4: Test that it triggers

Open Claude Code and run /blog-edit with a short draft to check the instructions work. Then start a new session and ask in plain words, "Can you polish this blog post?", to check the agent picks the skill on its own. If it doesn't, add the words you used to the description. The skill not triggering guide lists the other usual causes.

What about GPT actions?

Actions called outside APIs through an OpenAPI schema. Skills can't do that by themselves. You have two options:

  • An MCP server. If the API matters, wrap it in an MCP server and connect it to your agent. The skill then tells the agent when and how to call those tools. How to build an MCP server has a minimal example.
  • A script. For a simple call, put a small script in the skill's scripts/ folder and tell the skill when to run it. Treat it like any code you add to your machine.

Keep the converted skills somewhere safe

If you are converting several GPTs, keep the results in one repo rather than scattered across agent folders. Kipt stores prompts and skills as Markdown in a private GitHub repo you own, and the free SKILL.md generator turns pasted instructions into a valid skill without signing up, which is a quick first draft for Step 2.

Questions

OpenAI's retirement FAQ schedules Custom GPTs to retire on December 11, 2026, with February 11, 2027 for FedRAMP workspaces and some Enterprise workspaces with an approved deferral. At retirement they stop running and leave the GPT directory.

OpenAI's Migrate to plugin flow turns a GPT's instructions into a skill inside a ChatGPT plugin, and plugins work in ChatGPT and Codex. To use the same instructions in Claude Code or Cursor, save them as an Agent Skill folder those tools read.

In a skill, knowledge files you are allowed to copy go in a references folder that SKILL.md points to. Custom actions have no direct equivalent: OpenAI says they don't transfer in its own migration, so rebuild them as an MCP server or a script.

You can paste the instructions into a SKILL.md generator or ask your agent to draft the file, then edit it. Review the description by hand: it decides when the agent loads the skill, and GPT instructions rarely say when they should apply.

More in Skills

All guides

Your prompts and skills, one keystroke away.

Explore

Use it from your agent.

Save it to Kipt, in your own GitHub, then ask your agent for it by name while you work.

  • Claude Code
  • Codex
  • Cursor
  • VS Code
  • Claude
  • ChatGPT
  • Gemini CLI
  • Windsurf
  • and any MCP client
Get started