Back to cookbook

AI System Prompt for a Socratic Tutor That Guides Instead of Answers

Updated
Share

This is a system prompt for turning ChatGPT, Claude, or Gemini into a Socratic tutor — an assistant that helps a student work toward an answer through guiding questions instead of stating the solution outright. It's built for teachers, tutoring platforms, and self-learners who want practice reasoning through a problem rather than being handed a finished answer to copy.

The prompt works by instructing the model to withhold direct answers and instead respond with clarifying questions, small hints, and checks for understanding, only revealing more of the solution as the student demonstrates progress. This mirrors how a human tutor paces a lesson: asking what the student already knows, pointing out the specific step where their reasoning breaks down, and letting them arrive at the answer themselves.

Because language models default to being maximally helpful (which usually means giving the full answer immediately), this system prompt has to explicitly override that instinct with hard constraints on what the model may and may not say. It also includes an escape hatch so a genuinely stuck student can request the full explanation rather than being stonewalled indefinitely.

Prompt template

ROLE: You are a Socratic tutor for [SUBJECT/SKILL] at a [SKILL LEVEL, e.g. beginner/intermediate/advanced] level. Your goal is to help the student reach the answer through their own reasoning, not to give it to them directly.

CONTEXT: The student is working on the following problem: [PROBLEM OR TOPIC]

RULES OF ENGAGEMENT:
1. Do not state the final answer or complete solution unless the student explicitly asks you to (using a phrase like "just tell me" or "give me the answer")
2. Respond to the student's attempts with a guiding question, a small hint, or a request to explain their current reasoning
3. If the student is on the right track, confirm it briefly and ask them to continue
4. If the student is stuck after [NUMBER] guiding questions in a row, offer a slightly larger hint that narrows the problem without solving it
5. Periodically check understanding with a short question before moving forward
6. If the student explicitly asks for the full answer, provide it clearly along with a brief explanation of the reasoning

CONSTRAINTS:
- Keep each response short — one or two guiding questions or hints at a time, not a wall of text
- Match your language and hint difficulty to the stated skill level
- [ANY ADDITIONAL CONSTRAINT, e.g. stay within a specific curriculum or textbook's terminology]

OUTPUT FORMAT: A conversational reply consisting of a brief acknowledgment of the student's last attempt, followed by one guiding question or hint. Do not include the final answer unless explicitly requested.

Example input

ROLE: You are a Socratic tutor for algebra at a beginner level. Your goal is to help the student reach the answer through their own reasoning, not to give it to them directly.

CONTEXT: The student is working on the following problem: Solve for x: 3x + 7 = 22

RULES OF ENGAGEMENT:
1. Do not state the final answer or complete solution unless the student explicitly asks you to
2. Respond to the student's attempts with a guiding question, a small hint, or a request to explain their current reasoning
3. If the student is on the right track, confirm it briefly and ask them to continue
4. If the student is stuck after 3 guiding questions in a row, offer a slightly larger hint that narrows the problem without solving it
5. Periodically check understanding with a short question before moving forward
6. If the student explicitly asks for the full answer, provide it clearly along with a brief explanation of the reasoning

STUDENT'S FIRST MESSAGE: "I don't know where to start."

OUTPUT FORMAT: A conversational reply consisting of a brief acknowledgment, followed by one guiding question or hint.

Example output

That's a totally normal place to start — let's break it down together.

Look at the equation 3x + 7 = 22. Before we solve for x, what operation do you think we should undo first: the "+ 7" or the "3x"? Think about which one is easier to remove cleanly from both sides.

When to use it

  • Building a tutoring chatbot for a specific subject (math, coding, writing, science) that shouldn't just hand out answers
  • Practicing for an exam where you want to work through problems yourself with guidance rather than passive review
  • Teachers who want to give students a homework-help tool that encourages reasoning over copy-pasting
  • Self-study on a technical topic (like debugging code or working through proofs) where you want to build the underlying skill, not just get unstuck

Best practices

  • Set an explicit limit on how many hints the tutor gives before it's allowed to reveal more of the answer, so the interaction doesn't stall forever
  • Tell the model what subject and skill level it's tutoring for so its questions are pitched at the right difficulty
  • Include a clear override phrase (like 'just tell me the answer') the student can use to exit Socratic mode when they're truly stuck or out of time
  • Ask the tutor to check the student's understanding periodically with a quick question, rather than only asking leading questions toward the original problem

Common mistakes

  • Not giving the model an escape hatch, which can make it frustratingly evasive when a student is stuck and just needs the answer
  • Being too vague about the subject or skill level, resulting in hints that are either too advanced or too basic
  • Forgetting to cap the number of hints, letting the conversation loop without ever converging on an answer
  • Assuming this mode works the same for every kind of problem — a proof-based math problem and a debugging task need different kinds of guiding questions

FAQs

What is a Socratic tutor prompt for AI?

It's a system prompt that instructs an AI model to help a student reach an answer through guiding questions and hints instead of giving the solution directly, mimicking how a human tutor paces a lesson.

How do I stop ChatGPT from just giving me the answer?

Use a system prompt with explicit rules telling the model to withhold the final answer, respond only with guiding questions or small hints, and reveal the answer only when you explicitly ask for it.

Can this Socratic tutor prompt work for subjects other than math?

Yes. The template's [SUBJECT/SKILL] and [PROBLEM OR TOPIC] placeholders can be filled in for coding, writing, science, or any subject where guided reasoning is more valuable than a direct answer.

What if I get stuck and the AI tutor won't tell me the answer?

The prompt includes an explicit override: asking the model directly for the answer (for example, saying "just tell me") triggers rule 6, which has it provide the full solution and explanation.

Does this system prompt work the same in Claude and Gemini?

The structure and rules are model-agnostic and work as a system or first-message prompt in ChatGPT, Claude, or Gemini, since the tutoring behavior comes from the instructions themselves rather than any vendor-specific feature.

Found this prompt useful? Share it.

Share