Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

create-quiz

БесплатноБез исполняемых скриптовНе проверен

Turn one or two completed cruijff_kit experiments into a self-contained, self-grading HTML quiz that tests a recipient's intuition about the results. Use…

niznik-devот niznik-dev★ 15 звёзд на GitHub

Об этом скилле

Create Quiz

You help users turn completed experiments into a teaching artifact: a self-contained HTML quiz, with questions grounded in the experiment's actual results, that scores itself and reveals explanations after each answer.

The point is intuition-testing, not trivia. Good questions force the recipient to make a prediction or judgment that the experiment's data can settle. Boilerplate ("how many runs were there?") fails that bar.

Audience and assumption

The recipient has not seen the experiment, the report, or any of the source files. Everything they need to answer must live inside quiz.html. Two consequences:

  • The intro must teach the setup from scratch — task description, example input/output, key parameters, baselines.
  • Explanations on each answer must be self-sufficient: don't write "see the Anomalies section" or "per the saturation table in report.md". Quote the relevant numbers / facts inline.

Your task

  1. Locate one or two experiment directories.
  2. Parse what each contains: the design (experiment_summary.yaml), the analysis (exploration/report.md, summary.md), and any rendered figures (exploration/*.png).
  3. Plan a portfolio of 6–8 questions, focused on results (not the experimental process or compute).
  4. Write a canonical quiz/quiz.json spec.
  5. Render quiz/quiz.html via python -m cruijff_kit.tools.quiz.render_quiz.
  6. Log the run to logs/create-quiz.log.

See the modular sub-files for details:

  • parsing.md — what to load from the experiment directory and how
  • question_catalog.md — question types, when each fits, worked examples
  • generation.md — JSON spec schema, render command, output layout
  • logging.md — action types and log file location

Prerequisites

  • The experiment has been run AND explored (exploration/report.md exists). explore-experiment is an optional post-run step in general — but create-quiz requires it: report.md's figures and interpretation are what ground the questions, and the required summarize-experiment step (summary.md) alone doesn't produce them. If report.md is missing, ask the user to run explore-experiment first — without it, there's nothing concrete to ground questions in.
  • The cruijff conda environment is activated (the renderer uses Jinja2; same env as the rest of the toolkit).

Workflow

1. Locate experiment(s) → parsing.md

Accept one or two paths. If none provided and the current directory has experiment_summary.yaml, use it. Otherwise ask the user.

If two experiments are given, both must individually pass the prerequisite check (each has its own exploration/report.md). When generating questions, plan at least one comparison or contrast question that requires reading both.

2. Parse inputs → parsing.md

For each experiment, extract:

  • Research question, hypothesis, purpose (experiment_summary.yaml: experiment.{question, hypothesis, purpose})
  • Run names, conditions, evaluation matrix
  • Headline number(s) and per-condition results from exploration/report.md
  • Anomalies and suggested next steps (also in report.md)
  • Final training loss + accuracies from summary.md (if present)
  • Available figures: list of PNGs in exploration/
  • The full content of exploration/report.md as a string — for the appendix write-up.
  • The full content of experiment_summary.yaml as a string — for the appendix details block.

Preserve full numeric precision when reading from report.md — these experiments are typically evaluated at n=2000 per cell and CIs are tight. Store the source number verbatim (e.g. 0.987, 99.8%–100.0%), don't round to 0.99. This is independent from a question's tolerance field, which controls how forgiving the auto-grader is — that can be loose for intuition questions and zero for precise lookups, picked per-question. The principle is: lossy transcription corrupts the answer key; a deliberate tolerance does not.

3. Write the title and intro

The title field is what appears as the H1 and in the browser tab. Don't use the experiment's directory name (e.g. length_sweep_nth14) — it's a slug, not a title. Write a short recipient-friendly question or claim that frames what the quiz is actually about.

Good titles:

  • "Are longer sequences harder to learn? An LLM fine-tuning intuition test."
  • "How much training data does a small LLM need to memorise a rule?"
  • "Does the model size make a difference for ACS-employment prediction?"

Bad titles:

  • The directory slug (length_sweep_nth14)
  • The full research question copied verbatim (too long, too jargon-heavy for a recipient)

Then draft the intro field of quiz.json. It must include:

  • The task — what the model is doing in plain English. Don't assume domain knowledge. Define jargon (e.g. "implicit prompt: the rule is not described to the model; it must be learned from training examples").
  • One concrete example input → output, formatted exactly as the model saw it. If
Полный SKILL.md на GitHub

Установить create-quiz в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

evals/evals.jsongeneration.mdlogging.mdparsing.mdquestion_catalog.md

FAQ

Что делает скилл create-quiz?

Turn one or two completed cruijff_kit experiments into a self-contained, self-grading HTML quiz that tests a recipient's intuition about the results. Use whenever the user wants to teach, share, or stress-test understanding of an experiment — phrases like "make a quiz from this experiment", "test my intuition on these results", "build a quiz to share with the team". Each question embeds everything needed to answer it; submitting reveals the correct answer with an explanation citing the exact row, figure, or section in the experiment artifacts.

Как установить скилл create-quiz?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл create-quiz запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить create-quiz с