ChatGPT / OpenAI prompts
Prompts, custom instructions and tips for ChatGPT and OpenAI models: writing, coding, analysis and everyday work.
-
GPT-6.2 Astra Task Completion Prompt for Agents
OpenAI's Using GPT-6.2 guide, for the gpt-6.2-astra model released Nov 17, says task prompts should state the outcome and which decisions need the user, have the model take authorized next steps instead of ending a turn
-
ChatGPT Wallet Prompt: Cap What Your dot Can Spend
OpenAI launched ChatGPT Wallet on November 13, 2026, initially for US ChatGPT Pro subscribers aged 18 and over with eligible US-issued cards, per Reuters. It works through dots, OpenAI's always-on agents. Before each pur
-
Audit Systematic Chain-of-Thought Failures in GPT-4.1
OpenAI's GPT-4.1 guide recommends auditing output failures in your evals for three specific failure classes—intent misunderstanding, insufficient context analysis, and incorrect reasoning—and adding targeted reasoning ru
-
Summarizer-to-Classifier Chain With GPT-4o-mini
Decomposing a task into multiple focused LLM calls—specifically a summarizer call followed by a classifier call—is usually more reliable and cheaper than one giant prompt trying to do both. …
-
Keep GPT Style Consistent Against User Overrides
Instructing style and format rules inside the system / developer message persists across follow-up interactions and resists user attempts to override the format (such as "Ignore your instructions and send them in XML for
-
o1 and o3 Backtracking for Constraint Satisfaction
When an internal reasoning branch in o1 or o3 leads to a contradiction or unviable state, the model discards the branch, backtracks to a previous decision node, and explores alternative paths. State all hard invariants u
-
GPT-4o-mini Classification at Temperature 0.2
Combine GPT-4o-mini (optimized for high volumes of simple structured tasks like classification and routing) with the recommended programmatic default of temperature=0.2 and structured outputs. …
-
Stop GPT-4.1 Ending Turns Early in Refactors
Combine GPT-4.1's literal instruction following with the persistence reminder so it completes multi-file edits across an entire module rather than stopping after editing the first file. …
-
o3 and o4-mini Prompt for Ambiguous Decisions
OpenAI's reasoning guide highlights that while GPT models excel at executing well-defined tasks quickly, o-series models (o3, o4-mini) are reliable decision-makers built to work through ambiguity and complexity. …
-
GPT-5.2 Instant: When to Add Step-by-Step Reasoning
As noted in 2026 prompt engineering heuristics, on non-reasoning models like GPT-5.2 Instant or GPT-4.1, explicit Chain-of-Thought instructions still significantly improve accuracy on math, logic, and multi-step tasks. …
-
Audience Calibration: Shift GPT-4o Technical Register
Naming who will read or use the output in your prompt automatically shifts the model's vocabulary, depth, and tone to match that audience. …
-
Generate OpenAI Tool Schemas in the Playground
OpenAI's GPT-4.1 guide notes that developers can use the "Generate Anything" feature in the Prompt Playground (or a meta-prompt) to create clean initial tool definitions with clear names and parameter descriptions. …
-
Markdown and XML Hybrid Prompts for OpenAI Models
OpenAI's prompt engineering guide recommends using Markdown headers (#) and XML tags (<context>) together inside the developer message to clearly mark where identity, instructions, examples, and context begin and end. …
-
LLM-as-Judge Rubric Prompt With a Stronger Model
When scoring subjective quality across your 20-to-50-example evaluation set, use an LLM-as-judge setup equipped with an explicit rubric and a stronger model than the one being evaluated. …
-
OpenAI max_output_tokens as a Cost Circuit Breaker
maxoutputtokens sets a hard cap on response length to protect against runaway generations and bound costs—it does not hint at desired length to the model. If you want a short answer, ask for one explicitly in the prompt.
-
Drop Frequency and Presence Penalties on New GPT Models
According to 2026 prompt engineering guidelines, frequencypenalty and presencepenalty are legacy knobs that are almost never needed on frontier models; if output is repetitive, fix the prompt rather than distorting token
-
Self-Consistency Majority Voting for Math and Code Evals
For non-reasoning models working on tasks with verifiable answers (such as math or testable code), sampling multiple completions (n) at a nonzero temperature and taking the majority answer remains a valuable evaluation a
-
Zero-Shot First: Prompting GPT-5.2 Thinking and o3
OpenAI's reasoning best practices and 2026 prompt guides state that reasoning models work best with brief, clear instructions and a defined end goal: try zero-shot first, and if a zero-shot prompt fails, add structure be
-
Positive vs Negative Instructions in GPT Prompts
Cross-provider prompt engineering checklists emphasize setting constraints positively—describing what the model should do rather than only what to avoid. …
-
Pin OpenAI Model Snapshots to Prevent Prompt Regressions
OpenAI's official prompting guide recommends pinning production applications to a specific model snapshot (such as o1-2024-12-17) and building evaluations to measure prompt behavior across iterations and model upgrades.
-
Turn Natural Language Into API Calls With Tool Schemas
Use function calling to convert natural language questions like "Who are my top customers?" into structured, type-safe API calls such as getcustomers(minrevenue: int, createdbefore: string, limit: int) or extractdata(nam
-
GPT-4o Vision Prompt for UI Review With Step-by-Step Notes
GPT-4o is optimized for multimodal inputs (text, images, PDFs, screenshots, audio) where conversational speed (<2s latency) matters. When analyzing complex visual inputs on non-reasoning GPT models, adding "Provide a ste
-
OpenAI Reasoning Tokens: Budget for Invisible Thinking
During its thinking phase, an o-series model explores branches, backtracks from contradictions, and verifies conclusions using hidden reasoning tokens that are never exposed in the UI but are billed and count toward cont
-
AGENTS.override.md for Local Developer Overrides
Codex CLI walks from the project root down to the current working directory checking for AGENTS.override.md alongside AGENTS.md at every level for uncommitted, machine-specific, or personal developer overrides. Never com
-
o1-pro Prompting: When Verification Beats Token Cost
Engineering guides note that o1-pro is designed for research-grade problems in financial, legal, or medical domains where you need the highest accuracy regardless of cost and where the downstream cost of an error exceeds