Write valid frontmatter
Create stable skill names and concise descriptions that state the use case, trigger terms, exclusions, and important boundaries.
Codex Skills Markdown File guidance helps you write the SKILL.md file that defines when a Codex skill should activate and what workflow it should follow. Download the skill for clear frontmatter, concise instructions, progressive disclosure, useful references, output requirements, boundaries, and verification steps.
task: complete skill.md authoring task
inspect:
- requirements and context
- existing standards
- failure and edge cases
verify: outputs + checks + handoffSKILL.md is the required file in a Codex skill folder and includes name and description frontmatter plus the workflow instructions.
This skill helps authors write a strong trigger description, choose the right amount of freedom, route detailed material into references, and make outputs and checks explicit.
Create stable skill names and concise descriptions that state the use case, trigger terms, exclusions, and important boundaries.
Organize prerequisites, context gathering, workflow steps, decisions, outputs, quality requirements, failure handling, and completion checks.
Keep core instructions compact while routing specialized knowledge, examples, scripts, templates, and assets into supporting files.
Check ambiguity, conflicting instructions, token cost, path references, dependencies, explicit invocation, implicit matching, and realistic outputs.
The steps keep context, implementation, and verification visible so the result can be reviewed and repeated.
State when the skill should and should not run, what inputs it needs, what it produces, and how success is verified.
Use a unique name and front-load the description with the task, audience, trigger terms, and relevant exclusions.
Make steps concrete, distinguish required actions from judgment calls, and move detail into references where appropriate.
Run representative and near-miss prompts, inspect activation and artifacts, then change the file based on observed failures.
The workflow adjusts to the project, audience, tools, and risk while preserving the same quality standard.
Package a reusable decision process or checklist without adding scripts or external dependencies.
Explain when and how to use bundled scripts, formats, connectors, commands, and verification procedures.
Keep specialized reference material outside the main file and load only the sections needed for the task.
Define finished documents, sites, code, images, reports, or other outputs with suitable quality checks.
Start with one defined outcome and provide the source material, constraints, and checks that matter.
These skills are designed for people who need dependable skill.md authoring work with a visible process.
Create a correct, understandable first skill without overloading the main instruction file.
Improve triggering, context efficiency, failure handling, and output consistency.
Standardize frontmatter, workflow sections, dependencies, review, and testing.
Prepare skill folders that can later be bundled and distributed through a plugin.
A well-written SKILL.md improves guidance but cannot supply missing tools, permissions, credentials, project context, or validation environments. Bundled scripts and external sources still require review.
Install the complete skill folder and add the project-specific context before beginning.
Keep its examples, review checklist, progressive-disclosure guidance, and test prompts together.
Decide whether the new skill belongs in a repository, user collection, managed environment, or distributable plugin.
Add a stable name and a concise description that explains exactly when the skill should and should not trigger.
Test explicit invocation, implicit matching, near misses, missing inputs, outputs, and completion behavior.
Practical answers about capabilities, limits, setup, and review.
The required file is named SKILL.md and lives inside the skill folder.
The file must include name and description fields in YAML frontmatter.
Only as long as needed to guide the workflow. Put detailed references, examples, scripts, and assets in separate files.
Codex uses the skill name and description for discovery and implicit matching before loading the complete instructions.
The file provides instructions and can direct Codex to bundled scripts or tools, but those resources must exist and be reviewed separately.
Clear context. Purposeful work. Relevant checks. A result others can understand.