Agent skill

quiz

Generates multiple choice quiz questions based on current conversation context. Use when testing understanding, reviewing what was discussed, or wanting a knowledge check on the session.

Stars 5
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/antoniocascais/claude-code-toolkit/tree/main/skills/quiz

SKILL.md

Conversation Quiz

Generate multiple choice questions testing understanding of the current conversation.

Instructions

  1. Analyze the conversation context for quizzable content:

    • Technical concepts discussed
    • Decisions made
    • Code patterns or implementations
    • Key facts or configurations
  2. Generate 3-10 questions with 4 options each (default 5, or as many as the user/arguments request)

  3. Question Quality Guidelines

    • Questions should test understanding, not memorization of exact wording
    • Include plausible distractors (wrong answers that could seem right)
    • Vary difficulty: mix straightforward recall with deeper comprehension
    • Descriptions should explain WHY the option is correct/incorrect (shown only after answering)
    • If conversation lacks substance for 3 questions, generate what's reasonable and note the limitation
  4. Write questions to file and launch external quiz runner:

    • Generate a unix timestamp: date +%s via Bash
    • Write questions JSON to /tmp/quiz_questions_$TIMESTAMP.json using the format below
    • Tell the user to run in a separate terminal: python3 ~/.claude/skills/quiz/quiz.py /tmp/quiz_questions_$TIMESTAMP.json
    • The quiz runner writes results to /tmp/quiz_results_$TIMESTAMP.json (same timestamp, auto-derived from questions filename)
    • Wait for user to report back that they finished
    • Read results from /tmp/quiz_results_$TIMESTAMP.json
    • Provide feedback: celebrate correct answers, explain wrong ones with the description from the correct option

Questions JSON Format

json
[
  {
    "question": "What network mode allows containers to share the host's network namespace?",
    "options": [
      {"label": "bridge", "correct": false, "description": "Bridge creates an isolated network — containers get their own namespace"},
      {"label": "host", "correct": true, "description": "Host mode removes network isolation — container shares the host's network stack"},
      {"label": "overlay", "correct": false, "description": "Overlay enables multi-host networking, but still uses separate namespaces"},
      {"label": "macvlan", "correct": false, "description": "Macvlan assigns a MAC address to the container — separate namespace with direct network access"}
    ]
  }
]

Important

  • Each question MUST have exactly ONE option with "correct": true
  • The description field is NOT shown during the quiz — only used for post-quiz feedback
  • Options are shuffled automatically by the quiz runner — no need to randomize in the JSON
  • The quiz runner handles: display, input, timing, scoring, and writes results to file

Expand your agent's capabilities with these related and highly-rated skills.

antoniocascais/claude-code-toolkit

test-quality

Guides strong, effective unit test generation using proven testing techniques. Use when writing unit tests, reviewing test quality, improving existing tests, generating test cases, checking test coverage strength, or when tests exist but may be weak. Triggers on: unit test, test quality, test coverage, write tests, improve tests, review tests, test strength, mutation testing, boundary testing.

5 0
Explore
antoniocascais/claude-code-toolkit

skill-forge

Creates new Claude Code skills with proper structure and best practices. Use when user wants to create a skill, update an existing skill, add a new command, scaffold a workflow, define skill hooks, or asks "how do I make a skill".

5 0
Explore
antoniocascais/claude-code-toolkit

workflow-review

Reviews Claude Code sessions and proposes workflow improvements. Use when: (1) /workflow-review command, (2) "review my workflow", "how can I improve", (3) after long sessions when nudged, (4) start of session with pending review. Analyzes tool usage patterns, CLAUDE.md configuration, and compares against CC best practices. Proposes: CLAUDE.md updates, new skills, underused CC features. Saves session summaries to .claude/workflow-reviews/ for cross-session continuity.

5 0
Explore
antoniocascais/claude-code-toolkit

git-commit

Plans and executes git commits with optional TICKET_ID prefix. Analyzes staged changes, proposes optimal commit structure (single or multiple), generates descriptive messages with technical context, and executes after user approval. Use when committing code changes, creating atomic commits, or splitting large changesets.

5 0
Explore
antoniocascais/claude-code-toolkit

clarice

Conducts realistic mock interviews with detailed feedback and scoring. Use for interview prep, behavioral questions, technical interviews, STAR practice, system design interviews, or interview coaching.

5 0
Explore
antoniocascais/claude-code-toolkit

pr-review

Reviews code changes before merging. Use when reviewing PRs, checking staged changes, reviewing diffs, code review, merge readiness check, or validating changes before commit/push.

5 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results