- Home
- Guides and documents
- OpenAI Cookbook: GPT-5 Prompting Guides
OpenAI Cookbook: GPT-5 Prompting Guides
OpenAI's own prompting guides for the GPT-5 model family
What it is
A folder of the OpenAI Cookbook holding the vendor's prompting guides for GPT-5, GPT-5.1 and GPT-5.2, a Codex prompting guide, a troubleshooting guide, a prompt optimisation cookbook and a notebook on prompt personalities. Worth reading for anyone writing system prompts or agent instructions for OpenAI models.
Good for
- Rewrite a system prompt for GPT-5 models
- Diagnose over-eager or terse agent behaviour
- Tune prompts for Codex
Worth knowingAdvice is specific to OpenAI models and to named model versions; newer models may behave differently.
Sources
- https://github.com/openai/openai-cookbook/tree/main/examples/gpt-5 (project README, read 11 Nov 2026)
- https://api.github.com/repos/openai/openai-cookbook (GitHub API, read 13 Nov 2026)
The summary is ours, written from the README. Spotted an error? See how we work.