2 2
3[← All use cases](https://developers.openai.com/codex/use-cases)3[← All use cases](https://developers.openai.com/codex/use-cases)
4 4
5Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/reusable-codex-skills/?export=pdf)
6
5Turn a working Codex thread, review rules, test commands, release checklists, design conventions, writing examples, or repo-specific scripts into a skill Codex can use in future threads.7Turn a working Codex thread, review rules, test commands, release checklists, design conventions, writing examples, or repo-specific scripts into a skill Codex can use in future threads.
6 8
7Easy9Easy
23 25
24 Gather information about the workflow, scaffold a skill, keep the main instructions short, and validate the result.26 Gather information about the workflow, scaffold a skill, keep the main instructions short, and validate the result.
25 27
28| Skill | Why use it |
29| ------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
30| [Skill Creator](https://github.com/openai/skills/tree/main/skills/.system/skill-creator) | Gather information about the workflow, scaffold a skill, keep the main instructions short, and validate the result. |
31
26## Starter prompt32## Starter prompt
27 33
28Use $skill-creator to create a Codex skill that [fixes failing Buildkite checks on a GitHub PR / turns PR notes into inline review comments / writes our release notes from merged PRs]34Use $skill-creator to create a Codex skill that [fixes failing Buildkite checks on a GitHub PR / turns PR notes into inline review comments / writes our release notes from merged PRs]
33- Scripts or commands to reuse: [test command], [preview command], [log-fetch script], [release command]39- Scripts or commands to reuse: [test command], [preview command], [log-fetch script], [release command]
34- Good output: [paste the Slack update, changelog entry, review comment, ticket, or final answer you want future threads to match]40- Good output: [paste the Slack update, changelog entry, review comment, ticket, or final answer you want future threads to match]
35 41
42Use $skill-creator to create a Codex skill that [fixes failing Buildkite checks on a GitHub PR / turns PR notes into inline review comments / writes our release notes from merged PRs]
43 Use these sources when creating the skill:
44- Working example: [say "use this thread," link a merged PR, or paste a good Codex answer]
45- Source: [paste a Slack thread, PR review link, runbook URL, docs URL, or ticket]
46 - Repo: [repo path, if this skill depends on one repo]
47- Scripts or commands to reuse: [test command], [preview command], [log-fetch script], [release command]
48- Good output: [paste the Slack update, changelog entry, review comment, ticket, or final answer you want future threads to match]
49
36## Create a skill Codex can keep on hand50## Create a skill Codex can keep on hand
37 51
38Use skills to give Codex reusable instructions, resources, and scripts for work you repeat. A [skill](https://developers.openai.com/codex/skills) can preserve the thread, doc, command, or example that made Codex useful the first time.52Use skills to give Codex reusable instructions, resources, and scripts for work you repeat. A [skill](https://developers.openai.com/codex/skills) can preserve the thread, doc, command, or example that made Codex useful the first time.