DeepTutor deep-question

Generate quiz questions with answers on any topic.

install
source · Clone the upstream repo
git clone https://github.com/HKUDS/DeepTutor
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/HKUDS/DeepTutor "$T" && mkdir -p ~/.claude/skills && cp -r "$T/deeptutor/tutorbot/skills/deep-question" ~/.claude/skills/hkuds-deeptutor-deep-question && rm -rf "$T"
manifest: deeptutor/tutorbot/skills/deep-question/SKILL.md
source content

Deep Question (Quiz Generation)

Use the

exec
tool to invoke DeepTutor's quiz generation pipeline (ideation → evaluation → generation → validation).

When to Use

  • User wants practice questions or quizzes on a topic
  • User is preparing for an exam or self-testing
  • User asks to "generate questions", "quiz me", "create practice problems"

Command

deeptutor run deep_question "<topic>" --format json -l <lang> [options]

Options

FlagDescription
-l <lang>
Response language:
en
or
zh
--config num_questions=N
Number of questions (default: 1, max: 50)
--config difficulty=<level>
easy
,
medium
,
hard
--config question_type=<type>
multiple_choice
,
open_ended
,
true_false
, etc.
--config mode=<mode>
custom
(default) or
mimic
-t rag
Ground questions in a knowledge base
--kb <name>
Knowledge base to use

Examples

Basic quiz:

deeptutor run deep_question "Calculus integration techniques" --format json -l en --config num_questions=5 --config difficulty=medium

Multiple-choice from a textbook:

deeptutor run deep_question "Chapter 3: Linear Algebra" --format json -l zh -t rag --kb math-textbook --config question_type=multiple_choice --config num_questions=10

Hard open-ended questions:

deeptutor run deep_question "Quantum mechanics fundamentals" --format json -l en --config difficulty=hard --config question_type=open_ended

Important

  • This capability can take over a minute for multiple questions — use
    timeout=300
    with the
    exec
    tool.
  • Parse NDJSON events with
    "type": "content"
    for the generated questions and answers.