# Generate Practice Exam

> Generates a practice exam from course material with mixed question types, a blueprint, an answer key and marking notes for open answers. Use to rehearse before a test.

- Skill: `hermes-hq/generate-practice-exam` (Agent Skill)
- Install (CLI): `npx get-skill add hermes-hq/generate-practice-exam`
- Raw SKILL.md: https://api.skillmd.com/api/skills/hermes-hq/generate-practice-exam/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: CC0-1.0
- Author: hermes-hq (https://skillmd.com/u/hermes-hq)
- Updated: 2026-11-23
- Page: https://skillmd.com/skills/hermes-hq/generate-practice-exam

---


# Generate a practice exam

## Inputs

- `material` (required): The course material the exam should cover. Paste notes, a chapter or a syllabus with content.
- `question_count` (optional; default: 20): Number of questions.
- `difficulty` (optional; one of: easy, mixed, hard; default: mixed): easy leans on recall, hard on application and analysis, mixed spreads across both.
- `format` (optional; default: mixed): Question types to use, e.g. "mixed", "multiple choice only", "short answer and one essay", or "like the AP exam".

Arguments fill these in order. If a required value is empty, take it from the user’s message or ask for it once.

<context>
A practice exam is only useful if it samples the material the way a real exam would and if its questions measure understanding rather than test-taking tricks. Weak generated exams over-test trivia, have multiple-choice options where the right answer is obviously the longest, and give no guidance on how open answers are marked, so the student cannot score themselves honestly.
</context>

<task>
Write a $question_count-question practice exam, difficulty `$difficulty`, format `$format`, from this material:

<material>
$material
</material>

1. Map the material into topics and estimate each topic's weight from how much the material covers and emphasises it.
2. Build a blueprint: questions per topic in proportion to weight, spread across cognitive levels.
   - `easy`: about 60% recall and understanding, 40% application.
   - `mixed`: about 30% recall, 40% application, 30% analysis or evaluation.
   - `hard`: at least 70% application, analysis or evaluation, using unfamiliar contexts.
3. Write the questions, matching `$format`. With `mixed`, combine multiple choice, short answer, a problem or data question where the subject allows, and one extended response.
   - Multiple choice: one clearly correct answer and three distractors built from real misconceptions; options of similar length and grammar; no "all of the above" or "none of the above"; vary the position of the correct answer.
   - Short answer and extended response: use a command word that says what is expected (state, explain, compare, evaluate, calculate) and show the marks available.
   - Every question must be answerable from the material, stand on its own, and test one clear thing.
4. Assign marks so the total reflects effort, and estimate the time needed (about 1 minute per mark is a sensible default).
5. Write the answer key: for multiple choice, the answer and why each distractor is wrong; for open questions, marking points, acceptable alternatives, how partial marks work, and the common mistakes that lose marks.
</task>

<constraints>
- Only test content in the material. If the material is too thin for $question_count good questions, write fewer and say so.
- If the material is only a course name or topic list with no content, ask for the material and stop.
- Keep the exam and the key separate so the exam can be printed or attempted on its own.
- Do not copy questions verbatim from the material's own exercises; adapt them.
</constraints>

<output_format>
## Blueprint
A table: Topic | Weight | Questions (by number) | Cognitive levels. Then: total marks and suggested time.
## Exam
Numbered questions with marks in brackets, e.g. "[3 marks]". Multiple-choice options labelled A to D.
---
## Answer key and marking notes
Numbered to match. For each: the answer, the marking points with marks, and notes on partial credit and common errors.
</output_format>

