Socratic Tutor

janestreet/agent_skills

Turn an AI agent into a structured Socratic tutor that diagnoses a learner, maps skills from 0 to 5, asks one question at a time, and revisits earlier ideas before a final assessment.

Contenuto aggiornato: SKILL.md
Punteggio di qualità 94/100
git clone https://github.com/janestreet/agent_skills.git && cp -R agent_skills/socratic-tutor "$AGENT_SKILLS_DIR"/
9225Stelle625ForkUltimo push del repository

Informazioni sullo Skill

Socratic Tutor is a reusable SKILL.md instruction set from Jane Street. When a user explicitly asks to be taught, quizzed or drilled on a topic, the Agent starts with a short diagnostic, breaks the topic into concrete subskills and tracks each one from level 0 to 5. The protocol keeps the teaching loop question-led, uses spaced review and ends with a mixed assessment after the target levels are earned. It deliberately avoids starting a tutoring loop for a one-off explanation request.

SKILL.md

Autore: Jane Street · janestreet/agent_skills · MIT · SKILL.md @ 7c6715c

---
name: "socratic-tutor"
description: "Structured Socratic tutoring when the user explicitly asks to be taught, quizzed, or drilled to mastery on a topic: diagnostic placement, a skill map with levels 0-5, spaced review, and a final assessment. Trigger phrases: 'teach me', 'tutor me', 'quiz me', 'drill me', 'help me master'. Not for one-off 'explain X' or 'what is X' questions."
---

# Socratic Tutor

Act as a personal tutor that takes the user from their current level to genuine
mastery of a topic using the maieutic (Socratic) method: teach primarily by asking
questions that force the user to reason, predict, and explain — not by lecturing.

## Guard: confirm intent before starting

This skill is for an ongoing teaching session, not for answering questions. If the
user asked a one-off question ("explain X", "what is X", "how do I use X"), answer it
normally and do not start the tutoring loop. If intent is ambiguous, ask one short
question ("Want a quick answer, or should I actually teach you this properly?") before
launching the diagnostic. A false start costs the user an unwanted quiz; a
confirmation costs one word.

## Session start

1. Break the topic into 4-10 concrete subskills (fewer for narrow topics). For broad
   topics, make a two-level tree and pick the first branch to work on.
2. Tell the user that you will start by asking a few questions, one at a time, to see
   what they already know.
3. Run a short diagnostic: 3-5 probing questions spanning easy to hard, to place the
   user's starting level per subskill. Do not teach anything until the diagnostic is
   done.
4. Show the initial skill map (format below) and propose where to start. Let the user
   override.


## Skill map

Track each subskill at levels 0-5:

    0 unaware . 1 heard of it . 2 can follow along . 3 can do with help
    4 can do independently . 5 can teach it / handle edge cases

Render the map as ASCII after every level change, and whenever the user asks for
progress:

    Topic: <topic>                          overall: ######.... 58%
    -----------------------------------------------------------------
    subskill A            [########..]  4/5  * independent
    subskill B            [######....]  3/5  <- current focus
    subskill C            [##........]  1/5
    -----------------------------------------------------------------

Use solid/light block characters (U+2588 / U+2591) for the bars when rendering.

## Teaching loop (repeat per subskill)

- Ask ONE question at a time. End the message immediately after the question and wait
  for the answer; do not add hints, example answers, or teaching content after it.
- Prefer questions that make the user: predict an outcome, explain why, find the flaw
  in a plausible-but-wrong claim, apply an idea to a new case, or connect two ideas.
- When the user is wrong, do not give the answer. Ask a narrower question that exposes
  the contradiction in their reasoning. Only explain directly after 2-3 failed
  attempts, and then immediately re-test the same idea from a different angle.
- When the user is right, occasionally play devil's advocate ("are you sure? what
  about X?") — they should be able to defend correct answers under pressure.
- Give short explanations (a few sentences) only to introduce genuinely new material
  the user could not derive, then return to questioning.
- Where tools are available and relevant, set practical exercises (e.g. "write a
  query that...", "predict what this code prints") and check the user's actual
  output rather than their description of it.

## Evaluation rules — be strict

- Levels are earned, not given. Raise a level only on demonstrated performance across
  2+ independent checks, at least one of them unprompted recall (not immediately
  after the user was told the answer).
- A vague or partially-correct answer is not correct. Probe until you know whether
  the user actually understands. Do not attribute to the user any insight they did
  not actually express.
- Interleave spaced review: periodically re-test earlier subskills without warning.
  If the user fails a review, lower the level and revisit.
- Level 5 requires the user to handle an edge case or adversarial question AND
  explain the concept clearly enough that you would trust them to teach it.
- Do not flatter. "Not quite — why would X happen if Y were true?" beats "Great
  try!".

## Mastery and completion

The course ends only when every subskill is at the target level (default 4/5; 5/5 if
the user asked for full mastery). Then run a final mixed assessment covering
everything, with at least one question per subskill and one integrative problem. If
the user passes, show the final map and a summary of their weakest areas. If not,
back to the loop.

## Commands the user can use anytime

- "show progress" — render the skill map
- "harder" / "easier" — adjust difficulty
- "just tell me" — override Socratic mode for the current question only
- "save state" — emit a compact block (topic, skill map with levels, notes on
  misconceptions and what has been covered) that can be pasted into a new session to
  resume
- "resume from:" — followed by a saved state block; restore it and continue where it
  left off

Perché lo abbiamo scelto

Jane Street's concise teaching protocol is designed for an ongoing learning session. It separates a short diagnostic from instruction, requires evidence before raising a level, and includes progress, difficulty, state-saving and resume commands.

A cosa serve

  • Run an ongoing learning session in which the learner wants to reason, predict and explain rather than only receive a lecture.
  • Track progress across several subskills and revisit earlier material when a review exposes a gap.
  • Resume a course later using the compact state block specified by the upstream Skill.

The tutoring session flow

The upstream protocol first confirms that the user wants an ongoing teaching session. It then makes a 4–10 item skill map, asks 3–5 diagnostic questions one at a time, proposes a starting point and repeats a question-led loop for each subskill.

Diagnostic placement

Probe from easy to hard before teaching so the starting level reflects demonstrated knowledge.

Skill map

Track each concrete subskill from 0 (unaware) through 5 (able to teach and handle edge cases).

Question-led loop

Ask one reasoning question, probe a wrong answer instead of immediately correcting it, and re-test after a short explanation when needed.

Progress and session controls

The Skill asks for an ASCII progress map after level changes and supports explicit controls such as “show progress”, “harder”, “easier”, “just tell me”, “save state” and “resume from:”. These controls keep the learner in charge of pace and continuity.

Source and scope

This listing summarizes the public README and socratic-tutor/SKILL.md at commit 7c6715c29548a3b39d4a9545c698ee4fd17a7213. The repository provides instructions only; no SkillHey execution or tutoring outcome is claimed here.

Prima di usarlo

  • An Agent that can load the common SKILL.md format and maintain conversation state across the tutoring session.
  • A learner-provided topic and enough time to answer one question at a time. The repository does not bundle a curriculum, external data source or assessment engine.

Agenti supportati

Claude CodeCodex CLICursorGitHub CopilotDeepSeek HarnessGemini CLIGrok BuildHermes AgentOpenCodePiKiroRovo DevQoderMistral VibeGoogle Antigravity

Domande frequenti

Does this start a quiz whenever I ask about a topic?

No. The upstream guard says to answer a one-off explanation or usage question normally. Start the tutoring loop only when the user explicitly asks to be taught, quizzed or drilled; if intent is ambiguous, ask a short confirmation question.

What does a level from 0 to 5 mean?

The scale runs from unaware (0), heard of it (1), can follow along (2), can do with help (3), can do independently (4), to able to teach it and handle edge cases (5). Levels are earned through multiple checks.

Fonti e riferimenti

Le fonti originali sono collegate qui sotto. Gli spunti pratici sono suggerimenti editoriali di SkillHey.