# QuizSmith: AI Quiz Generator

> Turn a PDF, DOCX, or notes into a quiz grounded in the source. Generates multiple-choice, true/false, and open-ended questions, keeps a separate answer key, exports printable quiz and answer-key HTML, and grades attempts with per-question comments and highlights.

QuizSmith: AI Quiz Generator is a free AI agent skill on Agensi by Victor M. Mugambi, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Victor M. Mugambi](https://www.agensi.io/creators/victor-m-mugambi)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.0
- Last updated: 2026-12-04
- Security: scan passed (2026-12-04); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/quizsmith-ai-quiz-generator
- Tags: education-learning, python, testing, documentation

## What it does

- Creates multiple choice and true or false questions based only on your documents
- Generates printable HTML files for both the quiz and the answer key
- Grades submitted answers and provides specific feedback on where you went wrong
- Stores your quizzes locally so you can list or reuse them later
- Extracts text directly from PDF and Word files for quick setup

## Who it's for

- **Teachers and tutors creating study materials:** Turn your lesson notes or textbooks into custom tests and printable handouts instantly. Try: "Make a 10-question quiz from my history chapter PDF."
- **Students prepping for exams:** Practice with realistic questions based only on your specific study guides or textbook chapters. Try: "Create a practice test from these biology notes and grade my answers."
- **Corporate trainers and HR managers:** Verify what your team learned from training manuals with scored assessments and feedback. Try: "Generate a safety quiz from the employee handbook and export it to HTML."

## About this skill

If you have a pile of notes or a long document and need to check if people actually understand it, this skill is for you. It turns your files into professional quizzes without you having to write a single question yourself. It ensures every question is based strictly on the text you provide, so there are no "trick" questions from outside sources.

### How it works
1. You give your AI agent a file like a PDF or a text document.
2. The skill reads the document and breaks it into chapters or sections.
3. You choose how many questions you want and what kind, such as multiple choice or true or false.
4. Your AI agent writes the questions and saves them into a private local store.
5. You can take the quiz right in the chat, or ask for a printable HTML version for your students or team.

### Frameworks & tools
This skill uses a Python script to handle your files and store the quiz data. It works with PDF and Word documents to extract text and builds printable HTML files for your handouts and answer keys.

### Why this beats prompting it yourself
Standard AI chats often make up facts or bring in outside info that was not in your document. This skill forces the AI to ground every question in your specific text. It also handles the math of scoring and creates properly formatted files for printing, which a regular chat cannot do reliably.

### Use cases
- Creating a weekly quiz for a classroom based on the latest reading assignment.
- Testing yourself on a difficult textbook chapter to prepare for a big exam.
- Making sure employees read a new policy by giving them a quick scored test.
- Exporting a clean, ready-to-print answer key for a substitute teacher.

### Known limitations
The skill requires Python to be installed on your computer to process the files and save the data. Very long books might need to be processed one chapter at a time.

## Requires

- Python

## Technical details

Built with a Python 3 standard library script for local data persistence and validation. Uses pypdf and python-docx for document parsing. Stores quizzes and scores in a local JSON-based directory structure. The agent performs question generation and qualitative grading of open-ended responses based on provided markdown rubrics.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the QuizSmith: AI Quiz Generator skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill make sure the quiz questions are actually based on my notes?

This skill reads your PDF, Word, or text files and creates custom questions based only on that content. It solves the problem of AI making up outside facts by forcing the agent to ground every question in your specific document.

### Do I need to install any special software to use this skill?

You will need Python 3.10 or higher installed on your computer to run the script that processes the files and saves your quiz data. To work directly with PDF or Word files, you should also have the pypdf or python-docx libraries installed.

### What kind of files or documents does this skill give me once the quiz is ready?

You can take the quiz directly in your chat window, or you can have the skill generate printable HTML files. It provides two separate files: a clean handout for the person taking the test and a private answer key for the person grading it.

### What types of questions can I include in my tests?

You can choose to include multiple choice, true or false, or open-ended questions. If you use open-ended questions, the skill will help grade them by comparing the student's response against a model answer from your source text.

### How do I tell my AI agent to start building a new assessment?

You can start by telling your agent to create a quiz from a specific file you have provided. You can also specify how many questions you want and which chapters of a document the agent should focus on.

### Are there any documents or tasks this skill cannot handle?

This skill is designed for quizzes and assessments, so it should not be used for creating general lesson plans or flashcards. While it can handle large documents, very long books may need to be processed one chapter at a time to work correctly.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
