quiz

Generate MCQ quizzes from conversations and save JSON files to tmp using Python's standard library only.

11|2|Updated Oct 1, 2025
One-click install
npx skills add https://github.com/antoniocascais/claude-code-toolkit --skill quiz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quiz
Source: https://github.com/antoniocascais/claude-code-toolkit/tree/main/skills/quiz
Command: npx skills add https://github.com/antoniocascais/claude-code-toolkit --skill quiz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill converts ongoing conversations into structured multiple-choice quizzes to gauge understanding, capture key decisions, and reinforce learning without manual note-taking.

Core Features & Use Cases

  • Automated question generation: Creates 3-10 MCQs with four options based on the current conversation context.
  • Question persistence and review: Writes the generated questions to a JSON file in /tmp/quiz_questions_<TIMESTAMP>.json and provides a separate quiz runner to collect results.
  • Interactive quiz runner: Launches an in-terminal quiz that prompts for answers, evaluates correctness, and saves results to /tmp/quiz_results_<TIMESTAMP>.json for later review.
  • Use Case: After a technical discussion, run this skill to produce a quick assessment for onboarding or knowledge checks.

Quick Start

  • Generate questions JSON and run the quiz: date +%s; python3 ~/.claude/skills/quiz/quiz.py /tmp/quiz_questions_$TIMESTAMP.json

Frequently Asked Questions about quiz

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a multiple-choice quiz from a conversation?

To generate a multiple-choice quiz from a conversation, use a script that extracts context and creates 3-10 MCQs with four options each. The questions are written to a JSON file in the /tmp directory for immediate use.

Can I use Python to run an interactive MCQ knowledge check in the terminal?

Yes, you can use Python to run an interactive MCQ knowledge check in the terminal. A Python script launches the quiz, prompts for answers, evaluates correctness, and saves results to a JSON file for later review.

How do I save quiz results to a JSON file for later review?

You save quiz results to a JSON file by running the interactive quiz runner. It evaluates answers and stores the results in /tmp/quiz_results_$TIMESTAMP.json, ensuring the data is persisted for later review.

Do I need external Python libraries to create an assessment from a chat?

No, you do not need external Python libraries to create an assessment from a chat. The quiz generation and runner scripts operate using only Python's standard library, requiring no additional dependencies.

What is the best way to test understanding after a technical training session?

The best way to test understanding after a technical training session is to generate a quick assessment from the discussion. This captures key decisions and reinforces learning by creating 3-10 targeted multiple-choice questions.

Are there limitations to generating quizzes from ongoing conversations?

A limitation of generating quizzes from ongoing conversations is the reliance on current context, producing only 3-10 questions. It targets reviews and knowledge checks, meaning it is not suited for large-scale standardized testing.