11# Save workflows as skills | Codex use cases---
22 name: Save workflows as skills
33Codex use casestagline: Create a skill Codex can keep on hand for work you repeat.
44 summary: Turn a working Codex thread, review rules, test commands, release
55 checklists, design conventions, writing examples, or repo-specific scripts
66 into a skill Codex can use in future threads.
77skills:
88 - token: $skill-creator
99Codex use case url: https://github.com/openai/skills/tree/main/skills/.system/skill-creator
1010 description: Gather information about the workflow, scaffold a skill, keep the
1111# Save workflows as skills main instructions short, and validate the result.
1212 bestFor:
13Create a skill Codex can keep on hand for work you repeat.
14
15Difficulty **Easy**
16
17Time horizon **5m**
18
19Turn 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.
20
21## Best for
22
23 - Codified workflows you want Codex to use again.13 - Codified workflows you want Codex to use again.
2414- Teams that want a reusable skill instead of a long prompt pasted into every thread. - Teams that want a reusable skill instead of a long prompt pasted into every
2515 thread.
2616# ContentsstarterPrompt:
2717 title: Create a Skill From My Context
2818[← All use cases](https://developers.openai.com/codex/use-cases) body: >-
19 Use $skill-creator to create a Codex skill that [fixes failing Buildkite
20 checks on a GitHub PR / turns PR notes into inline review comments / writes
21 our release notes from merged PRs]
29 22
30Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/reusable-codex-skills/?export=pdf)
31 23
3224Turn 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. Use these sources when creating the skill:
33
34Easy
35
365m
37
38Related links
39
40[Agent skills](https://developers.openai.com/codex/skills)
41
42## Best for
43
44 - Codified workflows you want Codex to use again.
45- Teams that want a reusable skill instead of a long prompt pasted into every thread.
46
47## Skills & Plugins
48
49- [Skill Creator](https://github.com/openai/skills/tree/main/skills/.system/skill-creator)
50
51 Gather information about the workflow, scaffold a skill, keep the main instructions short, and validate the result.
52 25
5326| Skill | Why use it | - Working example: [say "use this thread," link a merged PR, or paste a good
5427| ------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | Codex answer]
55| [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. |
56 28
5729## Starter prompt - Source: [paste a Slack thread, PR review link, runbook URL, docs URL, or
30 ticket]
58 31
59Use $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]
60 Use these sources when creating the skill:
61- Working example: [say "use this thread," link a merged PR, or paste a good Codex answer]
62- Source: [paste a Slack thread, PR review link, runbook URL, docs URL, or ticket]
63 - Repo: [repo path, if this skill depends on one repo]32 - Repo: [repo path, if this skill depends on one repo]
64- Scripts or commands to reuse: [test command], [preview command], [log-fetch script], [release command]
65- Good output: [paste the Slack update, changelog entry, review comment, ticket, or final answer you want future threads to match]
66 33
6734Use $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] - Scripts or commands to reuse: [test command], [preview command],
6835 Use these sources when creating the skill: [log-fetch script], [release command]
6936- Working example: [say "use this thread," link a merged PR, or paste a good Codex answer]
7037- Source: [paste a Slack thread, PR review link, runbook URL, docs URL, or ticket] - Good output: [paste the Slack update, changelog entry, review comment,
7138 - Repo: [repo path, if this skill depends on one repo] ticket, or final answer you want future threads to match]
7239- Scripts or commands to reuse: [test command], [preview command], [log-fetch script], [release command]relatedLinks:
7340- Good output: [paste the Slack update, changelog entry, review comment, ticket, or final answer you want future threads to match] - label: Agent skills
41 url: /codex/skills
42---
74 43
75## Create a skill Codex can keep on hand44## Create a skill Codex can keep on hand
76 45
113 89
114Most skills start as a `SKILL.md` file. `$skill-creator` can add longer references, scripts, or assets when the workflow needs them.90Most skills start as a `SKILL.md` file. `$skill-creator` can add longer references, scripts, or assets when the workflow needs them.
115 91
116- my-skill/
117
118 - SKILL.md Required: instructions and metadata
119 - references/ Optional: longer docs
120 - scripts/ Optional: repeatable commands
121 - assets/ Optional: templates and starter files
122
123## Skills you could create92## Skills you could create
124 93
125Use the same pattern when future threads should read the same runbook, run the same CLI, follow the same review rubric, write the same team update, or QA the same browser flow. For example:94Use the same pattern when future threads should read the same runbook, run the same CLI, follow the same review rubric, write the same team update, or QA the same browser flow. For example:
129- **`$frontend-skill`** keeps Codex close to your UI taste, existing components, screenshot QA loop, asset choices, and browser polish pass.98- **`$frontend-skill`** keeps Codex close to your UI taste, existing components, screenshot QA loop, asset choices, and browser polish pass.
130- **`$pr-review-comments`** turns review notes into concise inline comments with the right tone and GitHub links.99- **`$pr-review-comments`** turns review notes into concise inline comments with the right tone and GitHub links.
131- **`$web-game-prototyper`** scopes the first playable loop, chooses assets, tunes game feel, captures screenshots, and polishes in the browser.100- **`$web-game-prototyper`** scopes the first playable loop, chooses assets, tunes game feel, captures screenshots, and polishes in the browser.
132
133## Related use cases
134
135[
136
137### Create a CLI Codex can use
138
139Ask Codex to create a composable CLI it can run from any folder, combine with repo scripts...
140
141Engineering Code](https://developers.openai.com/codex/use-cases/agent-friendly-clis)[
142
143### Create browser-based games
144
145Use Codex to turn a game brief into first a well-defined plan, and then a real browser-based...
146
147Engineering Code](https://developers.openai.com/codex/use-cases/browser-games)[
148
149### Iterate on difficult problems
150
151Give Codex an evaluation system, such as scripts and reviewable artifacts, so it can keep...
152
153Engineering Analysis](https://developers.openai.com/codex/use-cases/iterate-on-difficult-problems)