A skill is a reusable instruction package for an AI agent. The same idea can be shared across models, but each platform may require a different wrapper format.
Key Points
Core purpose: encode repeatable workflow, domain rules, and reusable resources.
In Codex, a skill is a folder with required SKILL.md (YAML frontmatter with name and description) plus optional scripts/, references/, and assets/.
Skills are partially portable across models: reusable content can be shared, but trigger metadata and loading behavior are usually platform-specific.
Best portability pattern:
Keep one model-agnostic core doc in references/.
Maintain small per-platform adapter files (SKILL.md, Claude/Gemini instruction wrappers).
Read a skill in this order: description trigger intent → workflow steps → referenced files → scripts.
Edit safely: change small sections, test one real task, then iterate.