One skill folder, four tools: SKILL.md in Codex, Cursor and Gemini CLI

A skill is a folder with a SKILL.md file inside, and the format is an open one that several coding tools read. A skill you wrote or bought for one tool can often be used in another without changes. Here is where each tool looks, how to check that a skill loaded, and what trips people up.

What the format asks for

The folder name is lowercase letters, numbers and single hyphens. Inside is SKILL.md, which starts with a short header that every tool asks for: a name, which must match the folder name, and a description saying what the skill does and when to use it. The open specification at agentskills.io sets limits (a name up to 64 characters, a description up to 1,024) and recommends keeping the body under about 500 lines. Scripts or notes go in the same folder.

Where each tool looks

The shortcut: one folder for three tools

Codex, Cursor and Gemini CLI all read .agents/skills/ and ~/.agents/skills/, so you do not need three copies. Claude Code looks in its own folder, so copy or link the same skill folders into .claude/skills/ if you use it too.

mkdir -p ~/.agents/skills
cp -R my-skill ~/.agents/skills/

Check that it loaded, and call it

Things that trip people up

Read a skill before you install it

A skill is instructions that an agent follows with your permissions, and it can ship scripts. Open the SKILL.md, look at every file in the folder, and be wary of anything that downloads and runs code. The free skill-check skill in our GitHub repository is a read-only checklist for exactly this.

How to write your own is in how to write a SKILL.md, and all the guides are in the guides index. This page follows the documentation of Codex, Cursor and Gemini CLI, and the open specification, as we read them on 30 October 2026. We have run skills only in Claude Code, so check the current documentation of your tool and version.

If you want ready-made ones, we put twelve plain-text coding skills (a tour of an unfamiliar repository, a plan in small steps, test first, a safe refactor, finding the cause, a review, a commit and PR draft and more) in this layout: Dev Skills for Codex, Cursor and Gemini CLI. The files pass the specification's format checks; we have not run them inside those three tools. Codex and ChatGPT are trademarks of OpenAI; Cursor and Gemini belong to their owners. We are not affiliated with any of them.