How to create a Claude skill (and write one for Codex)
How to create a Claude skill for a design team: Claude's and Codex's official skill creators side by side, a brand SKILL.md to paste, and a 3-prompt test.

To create a Claude skill a design team can share, make one folder with one SKILL.md file, and write a description that tells Claude when to use it. The same folder works in OpenAI’s Codex, because Claude skills and Codex skills both follow the open Agent Skills format.
For studios and in-house design teams starting with AI, the first skill I suggest is almost always the brand guide. So that’s the worked example, with a review of the official skill creators from Anthropic and OpenAI, three test prompts and a checklist. If Claude Code is new to you, start with what Claude Code does for designers.
What is a Claude skill?
A skill is a folder with a file called SKILL.md. The file opens with a short header (YAML frontmatter) holding a name and a description, then instructions in plain Markdown. The folder can also hold references/ for long documents, assets/ for logos and templates, and scripts/ for code.
At startup Claude loads only each skill’s name and description, about 100 tokens per skill in Anthropic’s docs. When a request matches a description, it reads the body. Reference files and scripts load only when the body points to them.
Anthropic published the format as an open standard at agentskills.io. Its quickstart names Claude Code and OpenAI Codex as compatible agents, and OpenAI’s docs say ChatGPT and Codex skills build on it.
Skills vs prompts, Projects and CLAUDE.md
All four give the model instructions. They differ in when those load.
| What it holds | When it loads | |
|---|---|---|
| Prompt | One request | Once, in one chat |
| Claude Project | Background files and context | In every chat inside the Project |
| CLAUDE.md | Facts and rules for one project folder | In every Claude Code session |
| Skill | How to do one job | When a request matches its description |
In Anthropic’s words, Projects say “here’s what you need to know,” and skills say “here’s how to do things.” The Claude Code docs add a rule I use with teams: CLAUDE.md holds facts Claude needs every session, and multi-step procedures move into skills. MCP connects Claude to tools like Figma, and a skill says what to do with them.
When a design team should write a skill, and when to skip it
Write one when the same request keeps coming back with the same rules, those rules already exist on paper (a brand book, a spec sheet), and the output has to look the same whoever asks. In a studio that usually means brand application, resize specs, file naming and export checks.
Skip it for one-off jobs, for rules that change with every brief, and for background knowledge with no steps, which belongs in a Project or CLAUDE.md. Run the task once without a skill first. The Agent Skills guide notes that if the model already does the job well, a skill may add nothing. If you’re not sure which job to turn into a skill first, see which task to start with.
How to create a Claude skill with the official creators
The plainest way to learn how to create Claude skills is to write one folder by hand, like the example below. Both vendors also ship a skill that writes skills, and both call it skill-creator. Anthropic’s is the Claude skill creator, and OpenAI’s comes with Codex.
Anthropic’s skill-creator
In the Claude app, you ask Claude to help you create a skill. Anthropic describes the flow: Claude asks about your workflow, generates the folder structure, formats the SKILL.md and bundles the resources. In Claude Code you install it as a plugin with /plugin install skill-creator@claude-plugins-official.
Its own SKILL.md describes the loop:
- It interviews you: what the skill does, when it triggers, the output, edge cases, what success means.
- It writes the
SKILL.mdwith a slightly “pushy” description, because in its own words Claude tends to undertrigger skills. - It runs two or three test prompts with and without the skill and opens a review viewer, so you judge the outputs before it rewrites anything.
- Optionally, it tunes the description against about 20 should-trigger and should-not-trigger prompts. That step needs Claude Code.
In the Claude app the tests run one at a time, without the comparison.
Codex $skill-creator and ChatGPT @skill-creator
OpenAI’s creator comes bundled with Codex. You type $skill-creator in Codex, or @skill-creator in the ChatGPT desktop app with Work turned on. OpenAI’s docs say it asks what the skill does, when it should trigger, and whether it should stay instruction-only or include scripts. Instruction-only is the default.
Behind that, it runs init_skill.py to create the folder, a SKILL.md template and an agents/openai.yaml file, then quick_validate.py to check the frontmatter. After that you improve it through real use. Its rules keep the frontmatter to name and description, and README files out of the skill.
So both creators interview you. Anthropic’s adds a test loop. OpenAI’s scaffolds and validates.
Recording a workflow instead
Both vendors also let you show a job once and get a draft skill. OpenAI’s Record & Replay runs in the ChatGPT desktop app (Work on) or Codex, under Plugins > Record a skill, on macOS with Computer Use turned on. Anthropic’s help center lists Record a skill in Cowork in Claude for Mac, on the Pro, Max, Ultra and Team plans. Recording suits click-heavy jobs. A brand guide is easier to write down.
Side by side
| Anthropic skill-creator | OpenAI skill-creator | Recording | |
|---|---|---|---|
| Start it | Ask Claude, or install the plugin in Claude Code | $skill-creator in Codex, @skill-creator in ChatGPT |
Record & Replay (OpenAI) or Record a skill (Claude for Mac) |
| It asks | Purpose, trigger, output, edge cases, success criteria | Purpose, trigger, instructions or scripts | Some context, then you do the task once |
| It builds | SKILL.md plus folders as needed |
Scaffold, SKILL.md template, agents/openai.yaml |
A draft skill from what it saw |
| Testing | With and without the skill, review viewer | quick_validate.py, then real use |
Replay in a new chat |
| Description tuning | Yes, in Claude Code | No | No |
Anatomy of a SKILL.md
The open spec sets these rules, and both vendors’ validators check them:
name: up to 64 characters, lowercase letters, numbers and hyphens, no hyphen at either end and no double hyphens. It matches the folder name. Claude’s docs also ban the words “claude” and “anthropic” in it.description: required, up to 1,024 characters in the spec, no angle brackets. Anthropic’s help article for uploads in the Claude app gives 200 characters as the limit, so I keep studio skills under 200.- Optional:
license,compatibility,metadataandallowed-tools. - Body: any Markdown, under 500 lines. Longer material goes in reference files linked directly from
SKILL.md.
The description does the triggering. Write it in the third person, say what the skill does and when to use it, and use the words your team actually types. “Helps with branding” won’t match “can you do a story for the spring sale.”
Worked example: a brand-guidelines skill for a studio
Write one skill per brand. An in-house team usually needs one, and a studio writes one per client. The folder:
brand-guidelines/
SKILL.md
references/brand-guide.md (the full guide, exported from the brand book)
assets/logo/ (approved logo files, every version)
Here’s the full SKILL.md. Replace everything in square brackets. The frontmatter holds only name and description, the strictest set every host above accepts. If you rename the skill, rename the folder too.
---
name: brand-guidelines
description: Applies [Brand] brand guidelines (colors, type, logo, layout, tone, file names) to design and copy. Use for any [Brand] deck, social post, banner, layout, email or headline.
---
# [Brand] brand guidelines
Apply these rules to anything made for [Brand]. If a request conflicts with a rule, follow the rule and say which one you applied.
## Before you start
1. If the request doesn't give a format and size, ask for them.
2. For full logo, photography and layout rules, read references/brand-guide.md.
3. Use the logo files in assets/logo/ as they are. Never redraw, retype or recolor the logo.
## Colors
- Primary: [name] [HEX]. Use it for headlines and one key element per layout.
- Secondary: [name] [HEX], [name] [HEX].
- Background: [name] [HEX]. Text on it: [name] [HEX].
- Never use: [colors the brand avoids].
- For print, use the CMYK values in references/brand-guide.md.
## Type
- Headlines: [typeface], [weight], sentence case.
- Body: [typeface], [weight], [size range].
- If a typeface isn't available, stop and ask. Don't substitute another one.
## Layout
- Margins: [value] of the shorter side.
- One message per layout.
- Logo: [position], at [size]. Keep clear space of [value] around it.
- Photography: [the style in one line]. Avoid [what the brand never shows].
## Voice
- We sound [two or three words, for example plain, warm, direct].
- Headlines: [number] words or fewer. No exclamation marks.
- Words we use: [list]. Words we never use: [list].
## File names
Use [brand]_[project]_[format]_[size]_v[number], lowercase, no spaces.
Example: [brand]_spring-sale_story_1080x1920_v1
## Check before you hand it back
- [ ] Every color is from the palette above
- [ ] Type matches the rules above
- [ ] The logo is an untouched file from assets/logo/
- [ ] Copy follows the voice rules
- [ ] The file name follows the pattern
Tell me anything you couldn't check.
## Gotchas
- [A mistake the team has corrected more than once, written as a rule.]
Why it’s built this way:
- The logo is a file the skill points to, and redrawing is forbidden. For the image side of brand work, see brand mockups from a single logo.
- The full brand book sits in
references/, so Claude opens it only when a job needs it. - The checklist is the validator, a check step both Anthropic and the Agent Skills guide recommend.
- The gotchas section grows. The Agent Skills guide ranks gotchas among a skill’s highest-value content.
A second skill to write next
Next I’d write a production job with fixed rules, like banner resizing. A banner-resize skill holds the size list in references/sizes.md, what stays locked per format, how headlines break, the naming pattern and a final size check. The job is in resizing one banner design into every format, and a Claude Skill holding template rules produced the 50 print-ready variations from one vector template. Product teams often write “build this page with our tokens” instead, reading from a design system that AI can read.
How do you share a Claude skill with your team?
| Where | Personal | Shared with the team |
|---|---|---|
| Claude Code | ~/.claude/skills/brand-guidelines/ |
.claude/skills/brand-guidelines/ in the project, committed to git |
| Claude app | ZIP upload under Customize > Skills | Team and Enterprise admins: Organization settings > Plugins & skills |
| Codex | $HOME/.agents/skills/brand-guidelines/ |
.agents/skills/brand-guidelines/ in the repo |
- In Claude Code, enterprise skills beat personal ones and personal beats project when names clash. Edits load during the session. If a new skill doesn’t show, run
/reload-skills. - For the Claude app, the skill folder itself goes at the root of the ZIP.
- Skills don’t sync. Anthropic’s docs say a skill uploaded in the Claude app isn’t in the API or Claude Code, and the reverse.
- Codex checks
.agents/skillsin your working folder, the folders above it and the repo root. Its docs don’t list.claude/skills. To reach ChatGPT on web and mobile, OpenAI ships skills inside plugins.
To keep one copy, put the master folder in .claude/skills/ and symlink it from .agents/skills/. OpenAI’s docs say Codex follows symlinked skill folders.
Test it with three prompts before you share it
Run each prompt in a fresh session. The Claude Code docs explain why: context left over from writing the skill hides gaps in the instructions.
- Should trigger. A plain request: “Make a 1080x1350 post for [Brand] announcing the new opening hours.”
- Should trigger, odd wording. How a busy teammate writes: “quick one, need 3 headline options for the [Brand] newsletter, keep it short.” It never says “brand guidelines.”
- Should not trigger. A job for another brand, or no brand at all: “Rename the files from yesterday’s shoot by date.”
Check that the skill loaded and that the output passes its checklist. If it never loads, the Claude Code docs suggest asking “What skills are available?” to see whether it’s listed.
If 1 or 2 miss, add the words people used to the description, use case first. If 3 fires, make the description more specific. Then run prompt 1 once with the skill switched off (in Claude Code, from the /skills menu) to see what the skill adds. Anthropic’s skill-creator automates that comparison.
Making one skill work in Claude and Codex
The template already runs in both Claude and Codex skills folders.
Invocation. Claude Code: type /brand-guidelines. Claude app: Claude picks it when a request matches. Codex: type $brand-guidelines or run /skills. ChatGPT: type @ and pick it. All of them also trigger from the description.
Long skill lists get trimmed. Claude Code caps each entry at 1,536 characters and drops descriptions of rarely used skills when the list overflows. Codex shortens descriptions when many skills are installed. Both say to put the use case and trigger words first.
Claude Code-only add-ons. Claude Code accepts extra frontmatter such as when_to_use, disable-model-invocation, paths, context: fork and hooks. disable-model-invocation: true, for example, runs a skill only when you type its name. The Claude app upload, the Skills API and package_skill.py accept only name, description, license, compatibility, metadata and allowed-tools, and fail on anything else. Keep the extras in a Claude Code-only copy.
Codex-only add-on. Codex reads an optional agents/openai.yaml beside SKILL.md for its interface: name, blurb, icon, brand color, default prompt. Its policy can switch off implicit triggering:
interface:
display_name: "Brand guidelines"
short_description: "Apply our brand rules to design and copy"
default_prompt: "Use $brand-guidelines to check this layout."
policy:
allow_implicit_invocation: false
The spec allows extra files in a skill folder, so this one can sit in the shared copy.
One field to watch. The spec and Anthropic’s validator accept compatibility. OpenAI’s quick_validate.py rejects it, so leave it out of a shared skill. If the team is still choosing an assistant, I compared which assistant fits which design job.
Checklist before you share it
The checks I run before a team installs any of its Claude skills:
- Folder name and
namematch, lowercase with hyphens, with no “claude” or “anthropic”. - The description says what and when, in the third person, trigger words first, under 200 characters, no angle brackets.
- Frontmatter is only
nameanddescription. Host extras live in a host-only copy oragents/openai.yaml. - The body is under 500 lines, with the long guide in
references/linked directly. - Logos and templates are real files in
assets/. - No README or changelog inside the folder.
- Nothing that goes stale soon, like “until the March campaign.”
- The three prompts pass in a fresh session in every host the team uses.
- The frontmatter validates with either creator’s
quick_validate.pyor the spec’sskills-ref validate. - Skills installed from elsewhere come from sources you trust, as Anthropic’s docs advise.
- One person owns the skill and updates it when the brand changes (more on why every AI workflow needs an owner).
Frequently asked questions
How do I turn Claude skills on?
In the Claude app, go to Customize > Skills, with code execution on under Settings > Capabilities. On Team and Enterprise, admins control skills in Organization settings. Anthropic’s help center lists Skills on Free, Pro, Max, Ultra, Team and Enterprise, while some older Anthropic pages list only paid plans, so check your own settings. Claude Code needs no switch.
Can a designer write a skill without coding?
Yes. The brand skill above is Markdown with a short header. Scripts are optional, and OpenAI’s creator defaults to instruction-only. Comfort with folders helps, and git helps if you share through a repository.
Do Figma’s and Cursor’s skills count?
They are skills written by Figma, installed with Figma’s plugin in Claude Code (how I connect Claude to Figma) and in Cursor (Cursor for your design team). They teach the agent how to use Figma. Your brand skill teaches it your rules, and the two work side by side.
Where to start
Pick the brand your team touches every week. Paste the template, fill in the real values, and add the logos and the full brand guide. Adjust the description until prompts 1 and 2 trigger and prompt 3 doesn’t. Then commit the folder to .claude/skills/ with a symlink from .agents/skills/, and the brand guide your team already keeps becomes the instructions every teammate’s Claude and Codex follow.
If you want someone to review the first one with you, you can get help writing your team’s skills.