Skip to content
Back to skills

Exam

ASecurity

Learn Everything — mock exam under exam conditions, with a mark and a breakdown by topic at the end.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 21, 2026
ai-agentspythongoshellbash

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add DiegoRecover8/learn-everything --skill exam --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Exam?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Exam
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegorecover8-exam/badge)](https://www.skillsdirectory.com/skills/diegorecover8-exam)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: exam
description: Learn Everything — mock exam under exam conditions, with a mark and a breakdown by topic at the end.
argument-hint: "[number of questions]"
disable-model-invocation: true
allowed-tools: Read, Write, Bash, AskUserQuestion
---

# Mock exam

A rehearsal under exam conditions: no feedback until the end, then a mark and a breakdown.

**Basics.** The script is `python3 "${CLAUDE_PLUGIN_ROOT}/scripts/le.py"` (written `le.py` below; if `CLAUDE_PLUGIN_ROOT` is empty it is `../../scripts/le.py` from this skill's base directory; type the full command each time, never through a shell variable such as `$LE`, which zsh does not split into words). It prints JSON; errors come as `{"error": ...}` on stderr. The rules in `../learn/SKILL.md` ("Rules that always apply") hold here too. Also read `../learn/references/exercises.md` for how to ask and grade. Run `le.py status` first for the learner's language. If `choose_exam` is true and no exam was chosen yet in this conversation, ask which exam (AskUserQuestion, one option per exam in `exams`), then put `--exam <slug>` in every command.

## 1. Agree the format

A mock exam needs studied topics. If none is studied yet, say so and offer a study session (`/learn`) instead.

`le.py status` tells you whether the learner loaded past or model exams (`exam_models` is more than 0). Ask with AskUserQuestion:

- **With exam models**: "📝 Like the model exam (recommended)", one option per model if there are two or three (their titles come in `models` from step 2; run it first if you need them), and "🎲 Free format". Mirroring a model means its structure, not its exact questions.
- **Free format** (or no model): how many questions (10, 20 or 30; 20 recommended) and whether they want to time themselves. If the learner has told you the real exam format, mirror it.

## 2. Prepare

```bash
le.py mock -n 20
```

Open `session_file` with the **Read tool** (it holds the answers; never print it). It has:

- `questions`: chosen from the question bank, weighted towards important topics and weak spots.
- `missing`: how many are still needed if the bank is too small.
- `topics`: the studied topics, with weight and status.

If `missing` is more than 0, write that many new questions, giving more to topics with a higher weight or a weaker status. Get the material with `le.py notes <topic id>` (only the pages of that topic). Use the exam's own question types. Mix them in with the rest.

**Mirroring a model exam.** `models` lists the past or model exams the learner loaded, each with `notes_path`. Read the chosen one with the Read tool, and take from it:

- the number of questions and the sections, in their order;
- the question types and how many of each (multiple choice, problems, essay…);
- the scoring: points per question, penalties for wrong answers, partial credit;
- the time allowed, the instructions and the level of difficulty.

Then build the mock with that structure: run `le.py mock -n <the model's number of questions>`, keep the bank questions that fit each section, and write the rest so every section matches the model in type and difficulty, on the studied topics. Write new questions in the style of the model rather than copying its exact questions; reuse one only if the learner asks to retake the original. Announce the format at the start ("Like the June 2024 exam: 30 multiple-choice questions, −0.33 per wrong answer, 60 minutes"), and grade with the model's scoring in step 4.

## 3. Run it

- Announce the rules: N questions, no feedback until the end.
- Ask one question at a time. After each answer, only acknowledge ("Noted. Question 7 of 20.") and move on. No hints, no corrections.
- Keep a private record of each answer and its quality.
- If they want to stop early, grade what was answered.

## 4. Save

Say at most one short line ("💾 Saving your mock exam…", in their language; never "record" or the command name), then:

```bash
le.py record <<'JSON'
{
  "kind": "mock",
  "answers": [{"card": "c3", "quality": 5}, {"card": "c9", "quality": 1}],
  "new_cards": [{"topic": "t2", "type": "mcq", "prompt": "…", "options": ["…", "…", "…"], "answer": "…", "quality": 4}]
}
JSON
```

The mark is the number of answers with quality 3 or more over the total. If the real exam scores differently (partial credit, penalties for wrong answers), compute it that way and send it as `"mock": {"score": 13.5, "total": 20}`.

## 5. Results

1. **The mark**: `mock.score` out of `mock.total`, and the percentage. Compare with previous mock exams if they mention them.
2. **By topic**: a short table of topic, correct and total. Name the two or three weakest.
3. **Corrections**: go through the wrong answers one by one with the full feedback for wrong answers of `exercises.md` (correct answer, why theirs doesn't work, why the right one is, an example or trick). This is where most of the learning happens, so do not rush it. Right answers need no comment here, except the ones they said they guessed.
4. **What to do next**: which topics to revisit, in one or two lines. Wrong answers are already scheduled for tomorrow.
5. XP, streak and achievements, exactly as `record` returned them.

Be honest about the mark and specific about what to fix. A mock exam that went badly is useful information, not a failure.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.