Interactive Quiz with Spaced Repetition

VerifiedCaution

Endless one-at-a-time Q&A on a chosen topic, with on-the-spot teaching when wrong, persistent sessions, and spaced repetition.

Sby Skills Guide Bot
ProductivityBeginner
7/24/2026
Claude CodeCursorWindsurfCopilotCodex
#quiz#spaced-repetition#leitner-box#study#revision

Recommended for

Automated summary

Quizzes the user on any chosen topic using spaced repetition, asking one question at a time and teaching when the answer is incorrect.

Strengths

  • Adaptive spaced repetition ensures long-term retention
  • Persistent sessions save progress across conversations
  • Immediate teaching on incorrect answers turns mistakes into learning moments
  • Simple topic-based navigation

Limitations

  • Requires the quiz.py helper script to be present in the skill directory
  • Does not support multi-part questions or image-based questions
  • Topic generation relies on the AI's knowledge which may be inconsistent
When to use it

Use when you want to study or drill a subject through active recall with built-in review scheduling.

When not to use it

Use when you need a comprehensive exam with many questions at once, or when you need to quiz on dynamic data like current events.

Security analysis

Caution
Quality score88/100

The skill runs a Python script via Bash using uv, a powerful tool that could execute arbitrary commands. While the intended purpose is legitimate quizzing and the script only performs local file I/O, the capability to run shell commands poses a moderate risk if the instructions were subverted. No network or destructive actions are present.

Findings
  • •Uses Bash to execute a local Python script via uv, which could potentially be exploited if the script is malicious or topic input is improperly sanitized.
How this analysis is made

Examples

Quiz on French Revolution
Quiz me on the French Revolution
Python programming quiz
Start a new quiz about Python programming
Review Spanish vocabulary
Let's review my Spanish vocabulary using spaced repetition

name: quiz description: Indefinite one-at-a-time Q&A quizzing on a user-chosen topic, with on-the-spot teaching when wrong, persistent sessions, and spaced repetition that tracks progress over time. Use when the user wants to be quizzed, tested, drilled, or to study/revise a topic. allowed-tools: Bash(uv run:*)

Quiz

Quiz the user on a topic, one question at a time, forever (until they say stop). Sessions persist to disk with spaced repetition so they can be resumed later.

Do NOT hand-edit the session JSON. A helper script (quiz.py) owns all file IO, Leitner-box math, date arithmetic, stats and logging. Your job is to ask questions, grade answers, teach, and call the script. Sessions live in ~/.claude/quiz-sessions/<topic-slug>.json — the script manages the path.

The helper script

Run from the skill dir; uv handles the (zero) dependencies. All commands print JSON.

cd ~/.claude/skills/quiz

# Create or resume a session (bumps the session counter on resume).
# Returns stats, accuracy %, today's date, and the questions due for review.
uv run quiz.py start "<topic>"

# Grade a NEW question (the common case). --answer/--notes optional but recommended.
uv run quiz.py record "<topic>" --result correct|partial|incorrect \
  --question "the question text" --answer "canonical answer" --notes "one-line key point"

# Grade a RE-ASKED existing question (spaced repetition) — pass its id, no --question needed.
uv run quiz.py record "<topic>" --result correct|partial|incorrect --qid q3

# Read-only views:
uv run quiz.py due "<topic>"      # questions due today, sorted (lowest box, oldest first)
uv run quiz.py status "<topic>"   # full stats, per-question accuracy, weakest 5, due count
uv run quiz.py list               # all topics on disk

The script computes box, nextReview, timesAsked/Correct, stats, the log entry and updated for you. It also slugifies the topic, so always pass the same human-readable topic string and it resolves to the same file.

--result meaning: correct = fully right; partial = right idea but missing nuance or partly wrong; incorrect = wrong, "I don't know", or blank.

Spaced repetition (handled by the script)

Each question has a Leitner box 1–5. After grading: correct → box+1 (max 5), partial → unchanged, incorrect → reset to 1. nextReview = today + interval, intervals (days) {1:1, 2:2, 3:4, 4:8, 5:16}. A question is due when nextReview <= today. You don't compute any of this — record does.

Starting / resuming a session

  1. Ask for the topic if not given.
  2. Run uv run quiz.py start "<topic>".
    • resumed: true → greet with one line of progress from the output: total asked, accuracyPct, and dueCount due for review today. The due array gives you the questions (and notes) to re-ask first.
    • resumed: false → brand new; just start asking.
  3. Tell the user they can say "stop", "done", or "quit" any time to end and save.

The quiz loop

Repeat until the user stops:

  1. Pick the next question.
    • If there are due questions (from start/due) → re-ask one first (the array is already sorted lowest-box / oldest-first). Mix in ~1 in 4 brand-new questions to keep it fresh.
    • Otherwise → generate a NEW question on the topic at an appropriate difficulty.
    • Don't repeat a question already asked this session unless it's a deliberate spaced-repetition re-ask.
  2. Ask exactly one question. No multi-part dumps. Wait for the answer.
  3. Grade the answer against the intended answer → correct/partial/incorrect.
  4. Respond:
    • correct → brief affirmation (one line), optionally a small extra fact.
    • partial → name what was right, fill the gap in 1–2 sentences.
    • incorrect → teach: 1–2 paragraphs explaining the answer with the reasoning/context so they actually learn it.
  5. Record it with quiz.py record (use --qid for a re-ask, else --question for a new one). This persists immediately, so an abrupt stop never loses progress.
  6. Ask the next question.

Keep your prose tight — the user wants to be quizzed, not lectured (except the 1–2 teaching paragraphs on a wrong answer).

Ending a session

When the user stops, run uv run quiz.py status "<topic>" and give a short recap: questions this session, accuracy, the weakest areas, and when the next review is due. Confirm the session file path.

Notes

  • The script stamps dates itself (date.today()); never pass or guess dates.
  • Difficulty is yours to adapt: harder after a streak of correct, easier after incorrect.
  • "Show my progress" without quizzing → run status and summarise.
  • If uv is unavailable, python3 quiz.py ... also works (stdlib only).

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/interactive-quiz-with-spaced-repetition-mryiqg3o/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/interactive-quiz-with-spaced-repetition-mryiqg3o' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/interactive-quiz-with-spaced-repetition-mryiqg3o/download' --output '.skill-downloads/interactive-quiz-with-spaced-repetition-mryiqg3o/SKILL.md.part' && mv '.skill-downloads/interactive-quiz-with-spaced-repetition-mryiqg3o/SKILL.md.part' '.skill-downloads/interactive-quiz-with-spaced-repetition-mryiqg3o/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Bash(uv run:*)

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/interactive-quiz-with-spaced-repetition-mryiqg3o/SKILL.md' && test -s '.skill-downloads/interactive-quiz-with-spaced-repetition-mryiqg3o/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/quiz' && cp -R '.skill-downloads/interactive-quiz-with-spaced-repetition-mryiqg3o' '.claude/skills/quiz'

Cursor
test -f '.skill-downloads/interactive-quiz-with-spaced-repetition-mryiqg3o/SKILL.md' && test -s '.skill-downloads/interactive-quiz-with-spaced-repetition-mryiqg3o/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/quiz' && cp -R '.skill-downloads/interactive-quiz-with-spaced-repetition-mryiqg3o' '.cursor/skills/quiz'

Codex
test -f '.skill-downloads/interactive-quiz-with-spaced-repetition-mryiqg3o/SKILL.md' && test -s '.skill-downloads/interactive-quiz-with-spaced-repetition-mryiqg3o/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/quiz' && cp -R '.skill-downloads/interactive-quiz-with-spaced-repetition-mryiqg3o' '.agents/skills/quiz'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/interactive-quiz-with-spaced-repetition-mryiqg3o'

openskills read 'interactive-quiz-with-spaced-repetition-mryiqg3o'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/interactive-quiz-with-spaced-repetition-mryiqg3o/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills