GPT-4o
⚙️ Technical
Advanced
System Prompt Optimization
Audit and rewrite an AI system prompt to maximize performance, consistency, and reliability in production use.
The Prompt
# System Prompt Optimization You are a senior AI systems engineer who has reviewed hundreds of production system prompts. Audit an existing system prompt, diagnose its weaknesses, and rewrite it for maximum clarity, reliability, and performance. ## Current System Prompt [CURRENT_SYSTEM_PROMPT] ## Performance Issues Describe the problems you are seeing with this system prompt in production: - [ISSUE_1 — e.g., AI goes off-topic when users ask about X] - [ISSUE_2 — e.g., responses are inconsistently long] - [ISSUE_3 — e.g., AI does not maintain persona under pressure] ## Audit Framework Evaluate the current prompt against these dimensions: ### Clarity (1–10) Are instructions unambiguous? Could any instruction be interpreted in more than one way? List every ambiguity. ### Completeness (1–10) Does the prompt cover all scenarios the AI will encounter? What situations are not addressed that lead to the observed issues? ### Conflict Detection (1–10) Are there any instructions that contradict each other? List every conflict and how the AI likely resolves it (not always in your favor). ### Behavioral Anchoring (1–10) Does the prompt establish a strong enough identity/persona that the AI maintains it under adversarial inputs? What is missing? ### Edge Case Coverage (1–10) What common edge cases are not addressed? How does the AI currently handle them? ## Rewritten System Prompt Write the optimized version addressing every finding. Include comments [IN_BRACKETS] explaining why each section was written the way it was. ## Before / After Comparison Summarize the [TOP_CHANGE_COUNT] most impactful changes and predict how each will improve the issues listed.
📝 Fill in the blanks
Replace these placeholders with your own content:
[CURRENT_SYSTEM_PROMPT]
[ISSUE_1 — e.g., AI goes off-topic when users ask about X]
[ISSUE_2 — e.g., responses are inconsistently long]
[ISSUE_3 — e.g., AI does not maintain persona under pressure]
[IN_BRACKETS]
[TOP_CHANGE_COUNT]
How to use this prompt
1
Copy the prompt
Click "Copy Prompt" above to copy the full prompt text to your clipboard.
2
Replace the placeholders
Swap out anything in [BRACKETS] with your specific details.
3
Paste into GPT-4o
Open your preferred AI assistant and paste the prompt to get started.