By Kozmosa
Interactive terminal-based quizzes for Claude Code. Generate and take quizzes on any topic with single-choice and true/false questions, instant feedback, and score summaries.
QuizCC brings interactive quiz experiences to Claude Code. Ask Claude to quiz you on any topic, answer questions directly in the terminal, get instant feedback with explanations, and see your score with weak area analysis.
QuizCC runs as a Claude Code plugin. Once installed, just type:
/quiz machine learning
Claude will generate quiz questions on the topic, and you answer by typing A, B, C, D, True, or False.
Clone the repository:
git clone [email protected]:Kozmosa/QuizCC.git
Install dependencies:
cd QuizCC
npm install
Add to Claude Code by pointing the plugin discovery to QuizCC's directory.
┌─────────────────────────────────────────────────┐
│ Claude Code │
│ /quiz [topic] ──▶ generates quiz JSON │
│ │ │
│ ▼ │
│ MCP Server (STDIO) │
│ ┌─────────────────────────────────────────────┐ │
│ │ start_quiz │ validate + session + Q1 │ │
│ │ submit_answer │ score + feedback + next Q │ │
│ │ get_quiz_state │ progress query │ │
│ │ get_next_group │ weak-area prompt gen │ │
│ └─────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ .claude/quizcc/<session>.json │
│ (filesystem state) │
└─────────────────────────────────────────────────┘
| Module | Path | Description |
|---|---|---|
| Core Types | src/core/types.ts | TypeScript types, constants, guard functions |
| Validation | src/core/validation.ts | Quiz normalization, public/private answer separation |
| Scoring | src/core/scoring.ts | Answer scoring, weak tag analysis |
| Next Group | src/core/next-group.ts | Multi-language next-quiz prompt generation |
| MCP Server | src/mcp/server.ts | STDIO MCP server (McpServer + StdioServerTransport) |
| MCP Tools | src/mcp/tools.ts | 4 tool handlers + Markdown formatters |
| State | src/state/session-state.ts | Filesystem-based quiz session persistence |
QuizCC is a complete rewrite of QuizCat (a ChatGPT Apps quiz card application) for Claude Code. The core quiz logic (@quizcat/core) is directly ported with 90%+ code reuse. The widget layer is replaced by terminal Markdown interaction, and the MCP transport is switched from HTTP to STDIO.
# Run tests
npm test
# Watch mode
npm run test:watch
# Type check
npm run typecheck
# Run MCP server (for testing)
npm run dev
| Tool | Description |
|---|---|
start_quiz | Validates a quiz group, creates a session, returns Q1 as Markdown |
submit_answer | Scores user answer, returns feedback + next question or final summary |
get_quiz_state | Returns current quiz progress |
get_next_group_prompt | Generates LLM prompt for next quiz targeting weak areas |
_meta and never displayed to the user before answeringstructuredContent contains no answer keyssubmit_answer handles all scoring server-side — Claude cannot accidentally leak answersMIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub kozmosa/quizcc --plugin quizccGive your AI a memory — mine projects and conversations into a searchable palace. 33 MCP tools, auto-save hooks, and guided setup.
Open-source, local-first Claude Code plugin for token reduction, context compression, and cost optimization using hybrid RAG retrieval (BM25 + vector search), reranking, AST-aware chunking, and compact context packets.
View, annotate, and sign PDFs in a live interactive viewer. Mark up contracts, fill forms with visual feedback, stamp approvals, and place signatures — then download the annotated copy.