OpenAI Reusable Prompts
Summary
This skill focuses only on writing high-quality prompts and formatting them for clarity, consistency, and better model steerability.
It helps define prompt structure, wording quality, examples, and formatting patterns for reliable outputs.
When to use
- You want better-written prompts with clear instruction hierarchy.
- You need consistent prompt formatting across tasks or teams.
- You want reusable prompt templates with strong examples and constraints.
- You need to improve ambiguous prompts that produce inconsistent output.
- You are standardizing a stable, repeatable procedure that multiple agents or teams should share.
- You want reusable behavior that can be versioned and improved independently over time.
When not to use
- You are asking for API integration code, deployment, or version rollout strategy.
- You need runtime implementation details instead of prompt writing guidance.
- The request is truly one-off and does not need reusable structure.
- The procedure changes daily and has not stabilized yet.
- The task primarily requires live external state or side effects; use tools or APIs for that.
Required inputs
Provide or infer:
- Outcome: what the prompt must produce.
- Audience or task type: who uses the output and for what.
- Output contract: free text, markdown, JSON, or schema-constrained output.
- Constraints: style, tone, safety limits, and forbidden behavior.
If relevant, also capture example inputs and expected outputs.
If details are missing, ask only the minimum needed to author a usable v1 template.
Routing guidance and edge cases
- Prefer triggering this skill for reusable procedures, stable writing standards, or organization-wide prompt conventions.
- Avoid triggering this skill when the user asks for ad hoc brainstorming that does not require strict structure.
- Include both positive and negative examples in your authored prompt package to improve routing accuracy.
- If routing is inconsistent, iterate on frontmatter
name, description, and examples before changing scripts or runtime code.
Procedure
- Define the target behavior.
- Write a one-sentence objective for the prompt.
- Define success as observable output criteria.
- Set instruction hierarchy.
- Put high-priority behavior first.
- Separate required rules from preferences.
- State what the model must do and must not do.
- Draft the prompt with consistent formatting.
- Use clear section headers in this order when useful:
Identity, Instructions, Examples, Context.
- Keep instructions explicit and testable.
- Use placeholders for dynamic values, for example
{{customer_name}}.
- Strengthen formatting discipline.
- Use bullet lists for constraints and output rules.
- Use XML-style delimiters for example I/O blocks when helpful.
- Avoid long paragraphs that hide requirements.
- Add examples that teach behavior.
- Include at least 2 examples when output format is strict.
- Cover common and edge inputs.
- Keep examples consistent with stated rules.
- Add output contract checks.
- Specify exact format expectations (fields, ordering, allowed labels).
- Add explicit negative constraints to reduce drift.
- Revise for clarity and brevity.
- Remove redundant instructions.
- Replace vague wording with measurable requirements.
- Keep only context that changes model decisions.
- Add operational readiness notes when the prompt will be used as a skill artifact.
- Include when to use, how to run, expected outputs, and gotchas.
- Add explicit verification steps and output checks for brittle multi-step workflows.
Branching logic
If output must follow strict schema:
Use explicit field-level formatting rules and schema-like examples.
If behavior differs by customer or locale:
Keep global rules stable and isolate locale-specific rules in dedicated context blocks.
If the prompt is long and complex:
Split sections clearly and remove non-essential context.
If task is reasoning-heavy and under-specified:
Start with goal + constraints, then tighten with examples after observing failures.
If task is deterministic and format-sensitive:
Use strict format instructions and highly specific examples.
Quality criteria
A skill run is complete when all are true:
- Prompt objective and output contract are explicit.
- Instruction hierarchy is clear (must vs should).
- Formatting is consistent across sections.
- Examples reinforce the required behavior and format.
- Ambiguous wording has been removed.
- Negative trigger examples are present for routing precision.
- Verification steps and output checks are defined when workflow execution is multi-step.
Operational best practices (skills in API)
Apply these when the prompt template is packaged in a skill context.
- Keep skills discoverable.
- Use clear frontmatter
name and description.
- Keep explicit "Use when" and "Do not use when" guidance.
- Include negative examples with positive examples.
- Keep system prompts lean.
- Put stable, reusable procedures in skills.
- Keep global policies and always-on behavior in system prompts.
- Do not duplicate full skill procedures in system prompts.
- Design script-backed skills like tiny CLIs.
- Ensure commands run from the command line.
- Require deterministic stdout for key status and results.
- Fail loudly with clear usage or validation errors.
- Write outputs to known, documented file paths.
- Include worked examples in skill assets.
- Provide inputs, commands, and expected outputs.
- Cover normal cases and at least one edge case.
- Add explicit verification gates.
- Validate output format and required fields.
- Confirm artifacts exist at expected paths.
- Add checks that catch partial completion.
- Be cautious with network access.
- Prefer no-network execution when possible.
- If network access is required, use strict allowlists and explicit data-egress constraints.
- Use a model that can reliably complete multi-step workflows.
- If execution is brittle, simplify the workflow and strengthen verification guidance.
Reproducibility and versioning
- Prefer zip bundles for portability, reliability, and easier version management.
- Pin explicit skill versions in production when reproducibility matters.
- Use floating
latest only when intentional and monitored.
- If version is omitted, behavior follows the platform default version pointer.
- Pin model version and skill version together for stable cross-deployment behavior.
Deliverables
Produce:
- Reusable prompt template text (dashboard-ready; Procedure steps 1-4)
- Prompt formatting checklist (Procedure step 6)
- Improved example set (good and edge cases; Procedure step 5)
- Prompt rewrite notes explaining key clarity changes (Procedure step 7)
- Operational readiness notes (how to run, expected outputs, gotchas, verification checks; Procedure step 8)
Dashboard authoring template
Use this as a starting point for the reusable prompt body in the OpenAI Dashboard.
# Identity
You are an assistant that {role-purpose}.
# Instructions
- Primary objective: {objective}
- Required constraints: {constraints}
- Output requirements: {format-rules}
- Never do: {prohibited-behaviors}
# Examples
<input id="example-1">
{example-input-1}
</input>
<output id="example-1">
{example-output-1}
</output>
# Context
{stable-reference-context}
Skill authoring add-on template (for runnable skill workflows)
Use this companion template when the prompt package will be executed as a skill with scripts or assets.
# When to use
- {positive-trigger-1}
- {positive-trigger-2}
# Do not use when
- {negative-trigger-1}
- {negative-trigger-2}
# Inputs
- {input-contract}
# How to run
- {install-command}
- {run-command}
# Expected outputs
- {path-1}: {artifact-description}
- {path-2}: {artifact-description}
# Gotchas
- {failure-mode-1}
- {failure-mode-2}
# Verification checks
- {check-1}
- {check-2}
# Worked examples
<input id="example-1">
{example-input-1}
</input>
<run id="example-1">
{example-command-1}
</run>
<output id="example-1">
{example-output-1}
</output>
Prompt formatting checklist
Use this checklist for every prompt revision.
- [ ] Objective is one sentence and testable
- [ ] Required behavior is listed before optional preferences
- [ ] Output format is explicit and easy to verify
- [ ] At least 2 examples are present for strict formats
- [ ] Negative constraints are included
- [ ] Context is minimal and relevant
- [ ] No contradictory instructions
- [ ] "Use when" and "Do not use when" routing guidance is explicit
- [ ] At least one negative trigger example is included
- [ ] Reproducibility notes are present (versioning and packaging intent)
- [ ] Verification steps and output checks are defined for multi-step workflows
Prompt starter patterns
- "Rewrite this prompt using Identity, Instructions, Examples, Context sections while preserving intent: {prompt}."
- "Tighten this prompt to eliminate ambiguity and enforce this format: {format-rules}."
- "Add high-quality examples to teach this behavior: {objective}."
- "Convert this long paragraph prompt into a concise, structured prompt with explicit constraints."
Guardrails
- Do not include secrets or private data in prompt text.
- Do not mix conflicting instructions in multiple sections.
- Do not leave output format implied when precision is required.
- Do not overfit to one example; use diverse examples.
- Do not duplicate full skill procedures inside system prompts.
- Do not rely on open network access without strict allowlists and explicit data-egress rules.
- Do not leave output paths undefined for script-backed workflows.
1---2name: openai-reusable-prompts3description: Designs and improves prompt best practices and formatting structure for OpenAI use cases. Invoke when reusable prompts require clear instruction hierarchy, consistent formatting, and strong output contracts.4---56# OpenAI Reusable Prompts78## Summary9This skill focuses only on writing high-quality prompts and formatting them for clarity, consistency, and better model steerability.1011It helps define prompt structure, wording quality, examples, and formatting patterns for reliable outputs.1213## When to use14- You want better-written prompts with clear instruction hierarchy.15- You need consistent prompt formatting across tasks or teams.16- You want reusable prompt templates with strong examples and constraints.17- You need to improve ambiguous prompts that produce inconsistent output.18- You are standardizing a stable, repeatable procedure that multiple agents or teams should share.19- You want reusable behavior that can be versioned and improved independently over time.2021## When not to use22- You are asking for API integration code, deployment, or version rollout strategy.23- You need runtime implementation details instead of prompt writing guidance.24- The request is truly one-off and does not need reusable structure.25- The procedure changes daily and has not stabilized yet.26- The task primarily requires live external state or side effects; use tools or APIs for that.2728## Required inputs29Provide or infer:30- Outcome: what the prompt must produce.31- Audience or task type: who uses the output and for what.32- Output contract: free text, markdown, JSON, or schema-constrained output.33- Constraints: style, tone, safety limits, and forbidden behavior.3435If relevant, also capture example inputs and expected outputs.3637If details are missing, ask only the minimum needed to author a usable v1 template.3839## Routing guidance and edge cases40- Prefer triggering this skill for reusable procedures, stable writing standards, or organization-wide prompt conventions.41- Avoid triggering this skill when the user asks for ad hoc brainstorming that does not require strict structure.42- Include both positive and negative examples in your authored prompt package to improve routing accuracy.43- If routing is inconsistent, iterate on frontmatter `name`, `description`, and examples before changing scripts or runtime code.4445## Procedure461. Define the target behavior.47- Write a one-sentence objective for the prompt.48- Define success as observable output criteria.49502. Set instruction hierarchy.51- Put high-priority behavior first.52- Separate required rules from preferences.53- State what the model must do and must not do.54553. Draft the prompt with consistent formatting.56- Use clear section headers in this order when useful: `Identity`, `Instructions`, `Examples`, `Context`.57- Keep instructions explicit and testable.58- Use placeholders for dynamic values, for example `{{customer_name}}`.59604. Strengthen formatting discipline.61- Use bullet lists for constraints and output rules.62- Use XML-style delimiters for example I/O blocks when helpful.63- Avoid long paragraphs that hide requirements.64655. Add examples that teach behavior.66- Include at least 2 examples when output format is strict.67- Cover common and edge inputs.68- Keep examples consistent with stated rules.69706. Add output contract checks.71- Specify exact format expectations (fields, ordering, allowed labels).72- Add explicit negative constraints to reduce drift.73747. Revise for clarity and brevity.75- Remove redundant instructions.76- Replace vague wording with measurable requirements.77- Keep only context that changes model decisions.78798. Add operational readiness notes when the prompt will be used as a skill artifact.80- Include when to use, how to run, expected outputs, and gotchas.81- Add explicit verification steps and output checks for brittle multi-step workflows.8283## Branching logic84- If output must follow strict schema:85Use explicit field-level formatting rules and schema-like examples.8687- If behavior differs by customer or locale:88Keep global rules stable and isolate locale-specific rules in dedicated context blocks.8990- If the prompt is long and complex:91Split sections clearly and remove non-essential context.9293- If task is reasoning-heavy and under-specified:94Start with goal + constraints, then tighten with examples after observing failures.9596- If task is deterministic and format-sensitive:97Use strict format instructions and highly specific examples.9899## Quality criteria100A skill run is complete when all are true:101- Prompt objective and output contract are explicit.102- Instruction hierarchy is clear (must vs should).103- Formatting is consistent across sections.104- Examples reinforce the required behavior and format.105- Ambiguous wording has been removed.106- Negative trigger examples are present for routing precision.107- Verification steps and output checks are defined when workflow execution is multi-step.108109## Operational best practices (skills in API)110Apply these when the prompt template is packaged in a skill context.1111121. Keep skills discoverable.113- Use clear frontmatter `name` and `description`.114- Keep explicit "Use when" and "Do not use when" guidance.115- Include negative examples with positive examples.1161172. Keep system prompts lean.118- Put stable, reusable procedures in skills.119- Keep global policies and always-on behavior in system prompts.120- Do not duplicate full skill procedures in system prompts.1211223. Design script-backed skills like tiny CLIs.123- Ensure commands run from the command line.124- Require deterministic stdout for key status and results.125- Fail loudly with clear usage or validation errors.126- Write outputs to known, documented file paths.1271284. Include worked examples in skill assets.129- Provide inputs, commands, and expected outputs.130- Cover normal cases and at least one edge case.1311325. Add explicit verification gates.133- Validate output format and required fields.134- Confirm artifacts exist at expected paths.135- Add checks that catch partial completion.1361376. Be cautious with network access.138- Prefer no-network execution when possible.139- If network access is required, use strict allowlists and explicit data-egress constraints.1401417. Use a model that can reliably complete multi-step workflows.142- If execution is brittle, simplify the workflow and strengthen verification guidance.143144## Reproducibility and versioning145- Prefer zip bundles for portability, reliability, and easier version management.146- Pin explicit skill versions in production when reproducibility matters.147- Use floating `latest` only when intentional and monitored.148- If version is omitted, behavior follows the platform default version pointer.149- Pin model version and skill version together for stable cross-deployment behavior.150151## Deliverables152Produce:1531. Reusable prompt template text (dashboard-ready; Procedure steps 1-4)1542. Prompt formatting checklist (Procedure step 6)1553. Improved example set (good and edge cases; Procedure step 5)1564. Prompt rewrite notes explaining key clarity changes (Procedure step 7)1575. Operational readiness notes (how to run, expected outputs, gotchas, verification checks; Procedure step 8)158159## Dashboard authoring template160Use this as a starting point for the reusable prompt body in the OpenAI Dashboard.161162```markdown163# Identity164You are an assistant that {role-purpose}.165166# Instructions167- Primary objective: {objective}168- Required constraints: {constraints}169- Output requirements: {format-rules}170- Never do: {prohibited-behaviors}171172# Examples173<input id="example-1">174{example-input-1}175</input>176<output id="example-1">177{example-output-1}178</output>179180# Context181{stable-reference-context}182```183184## Skill authoring add-on template (for runnable skill workflows)185Use this companion template when the prompt package will be executed as a skill with scripts or assets.186187```markdown188# When to use189- {positive-trigger-1}190- {positive-trigger-2}191192# Do not use when193- {negative-trigger-1}194- {negative-trigger-2}195196# Inputs197- {input-contract}198199# How to run200- {install-command}201- {run-command}202203# Expected outputs204- {path-1}: {artifact-description}205- {path-2}: {artifact-description}206207# Gotchas208- {failure-mode-1}209- {failure-mode-2}210211# Verification checks212- {check-1}213- {check-2}214215# Worked examples216<input id="example-1">217{example-input-1}218</input>219<run id="example-1">220{example-command-1}221</run>222<output id="example-1">223{example-output-1}224</output>225```226227## Prompt formatting checklist228Use this checklist for every prompt revision.229230```markdown231- [ ] Objective is one sentence and testable232- [ ] Required behavior is listed before optional preferences233- [ ] Output format is explicit and easy to verify234- [ ] At least 2 examples are present for strict formats235- [ ] Negative constraints are included236- [ ] Context is minimal and relevant237- [ ] No contradictory instructions238- [ ] "Use when" and "Do not use when" routing guidance is explicit239- [ ] At least one negative trigger example is included240- [ ] Reproducibility notes are present (versioning and packaging intent)241- [ ] Verification steps and output checks are defined for multi-step workflows242```243244## Prompt starter patterns245- "Rewrite this prompt using Identity, Instructions, Examples, Context sections while preserving intent: {prompt}."246- "Tighten this prompt to eliminate ambiguity and enforce this format: {format-rules}."247- "Add high-quality examples to teach this behavior: {objective}."248- "Convert this long paragraph prompt into a concise, structured prompt with explicit constraints."249250## Guardrails251- Do not include secrets or private data in prompt text.252- Do not mix conflicting instructions in multiple sections.253- Do not leave output format implied when precision is required.254- Do not overfit to one example; use diverse examples.255- Do not duplicate full skill procedures inside system prompts.256- Do not rely on open network access without strict allowlists and explicit data-egress rules.257- Do not leave output paths undefined for script-backed workflows.