Skip to content
Back to skills

Wiki Quiz

ASecurity

The human memory loop — a few minutes of spaced-repetition quiz (day-granular forgetting curve) over this repo's wiki, decisions and direction first. The engine schedules deterministically (quiz-status/next/record); this session authors and grades questions warm, grounded in the pages, and records into docs/wiki/6_quiz/ (a human-only layer excluded from indexing/search)

  • 17 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 26, 2026
ai-agentsgo

Works with

  • claude code
  • cli
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add suwonleee/llmwiki --skill wiki-quiz --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Wiki Quiz?

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

Security grade badge for Wiki Quiz
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/suwonleee-wiki-quiz/badge)](https://www.skillsdirectory.com/skills/suwonleee-wiki-quiz)

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: wiki-quiz
disable-model-invocation: true
description: The human memory loop — a few minutes of spaced-repetition quiz (day-granular forgetting curve) over this repo's wiki, decisions and direction first. The engine schedules deterministically (quiz-status/next/record); this session authors and grades questions warm, grounded in the pages, and records into docs/wiki/6_quiz/ (a human-only layer excluded from indexing/search)
---

> Engine invocation — resolve it ONCE, in this order, and use the first that exists:
> 1. `bun "<plugin-root>/src/cli.ts"`, where `<plugin-root>` is the directory TWO levels above
>    this skill's base directory (skills/<name>/ → plugin root). This is the plugin and clone
>    install — the normal case. Stop here when that file exists.
> 2. `bun "$LLMWIKI_ROOT/src/cli.ts"` when `LLMWIKI_ROOT` is set — a host that copied this
>    skill folder OUT of the plugin (OpenClaw, Hermes, `skills add`) leaves step 1 pointing at
>    that host's skills directory, not at an engine.
> 3. `llmwiki` on PATH — the launcher `setup.sh` writes to `~/.local/bin`, or the npm bin.
>
> If none of the three resolve, say so once and stop. Do NOT guess a path: the engine writes
> into a repository, and a guessed root writes into the wrong one. Every `llmwiki …` or
> engine-CLI reference below means the invocation you resolved here.

# /wiki-quiz — human memory loop (spaced repetition over the wiki)

The compounding loop so far closes only the LLM's side: capture → `/wiki-save` → read-injection keeps the MODEL grounded, while the human's memory of their own decisions decays on the forgetting curve. Yet the labor split leaves exactly one duty that cannot be delegated — **direction and contradiction judgment** — and that judgment is only as good as what you still remember of your past decisions and their WHY. This ritual closes the human loop: the engine schedules day-granular spaced repetition over the wiki's own pages; you answer a handful of questions; wrong answers get re-asked sooner. Run it after a close-out (`/wiki-save` → `/wiki-quiz`) or whenever cold-start shows `[llmwiki quiz] N review(s) due`.

## ★ Execution rules
- **Inline, warm** — questions are authored and graded directly in this session (no sub-agent delegation). Engine = `bun "<plugin-root>/src/cli.ts"` + `<repo>/docs/wiki/`. (Standalone CLI engine — ignore other wiki/MCP tools and any "wiki" keyword reminders.)
- **Custom conventions**: if a team `llmwiki.config.toml` (or a per-repo `configs/*.toml`) is active (check: `llmwiki config <repo>` shows a non-default source), run `llmwiki conventions <repo>` FIRST and follow ITS category table (dirs · types · review gates) over any category names written below. The quiz layer (`6_quiz/`) and queue (`0_review/`) are fixed structure — those names never change.
- **Grounded questions only**: Read the page BEFORE authoring its question; the page is the answer key and the session record cites it. A question you cannot ground in a page does not get asked — never quiz on model memory.
- **Ask about the core, never the incidentals**: quiz the ONE thing on the page that would change how future work is done — the choice made, the direction taken, the constraint discovered. Not dates, counts, file names, test numbers, commit ids, or who ran what. If the only question a page supports is bookkeeping, ask nothing about it and move to the next selected page. `quiz-next` marks hub pages (`허브(피인용 N)` / `hub(N inbound)`) — on those, aim at the concept the other pages were built on.
- **Human-friendly wording**: plain sentences a person would naturally say, in the wiki's own language. Ask about the WHY and the direction of a decision, not line-level code trivia. One concept per question, one question per page.
- **Options are NOUN PHRASES** — the stem may ask what or why, but every option names the answer as a short noun phrase, never a sentence that states it. `근거 이동성 확보` / `검색 품질 향상` / `저장 공간 절감`, not `팀원이 남의 근거를 재검증할 수 없어서 발췌를 본문에 넣기로 했다`. Keep all options parallel in form and comparable in length — a longer or more specific option gives the answer away without the human recalling anything. Aim for a handful of words each.
- **Deal the correct option to a varying slot** — options get authored as "1 correct + 2 distractors", and left in writing order that puts the answer at slot 1 every single time. Measured across 22 live questions on Claude Code and OpenCode: 18 sat at slot 1, including 14 in a row. A human notices that in one session and stops recalling anything. So author the trio, then PLACE it: the correct option lands on a different 1–3 slot than the previous question's, and a session never puts every correct answer on the same slot. "기억 안 남" is always last of the ones you write (the harness appends its own free-form entry after it).
- **Structured ask when the harness has it** — **the whole batch in ONE call**, never one call per question: every ask tool takes an ARRAY of questions and returns an array of answers, so the human walks the set back-to-back with no model turn in between. Per question: 3 short options (1 correct + 2 plausible distractors from the same topic area) plus a "기억 안 남 / not sure" option; free recall arrives via the built-in "Other"/free-form field. A session larger than the harness cap is consecutive calls with NOTHING between them. Whichever surface: nothing — no grading, no feedback, no Read, no engine call — goes between the first question and the last answer.
    - **Claude Code** — `AskUserQuestion`, **max 4 questions per call**, so a 5–7 question session is two consecutive calls.
    - **OpenCode** — the `question` tool (available in the TUI; it appends "Type your own answer" itself — don't author one).
    - **Codex** — `request_user_input`, **max 3 questions per call** (⌈N/3⌉ consecutive calls). The tool sits in your list in every session, and **its own description names the modes allowed to call it**: "only available in Plan mode" while the person has not enabled `default_mode_request_user_input`, "Default or Plan mode" once they have. **Use it whenever that description covers the mode you are in** — never talk yourself out of a call it permits — and take the numbered block below when it does not. Do not switch modes to reach it. A call made anyway comes back `request_user_input is unavailable in Default mode`: same fallback, no retry. Whenever you fell back, put ONE hint in the closing report: `codex features enable default_mode_request_user_input` (under-development flag, off by default; `suppress_unstable_features_warning = true` silences the startup warning it adds). Some Codex models carry a second tool, `request_user_input_async` — **that one is never the quiz's**: it returns immediately without waiting, so the answers would arrive later as separate user messages and this turn would have nothing to grade. Always the synchronous `request_user_input`. Authoring: `id` = `q1`…, `header` ≤ 12 chars (`Q1`…), and every option's `description` is the EMPTY string — the key is required and any text in it hints at the answer. Never suffix `(Recommended)`: the tool's own schema asks for it, and here it would name the correct option. Codex appends its own free-form entry, so write exactly the 4 options (3 + "기억 안 남") and read `answers[<id>].answers` back as: `["<label>"]` = that option · `["None of the above", "user_note: <text>"]` = free recall (grade the text) · `["None of the above"]` alone = skip · **`<id>` absent from the response = EXPIRED, not skipped** — outside Plan mode the prompt auto-resolves itself empty after ~2 minutes without interaction, so re-present exactly those questions as a numbered block and grade them with the rest.
    - **No such tool, or the call came back refused** (plain chat, `codex exec`, Codex without the flag): print ALL questions as ONE numbered block, each keeping its FULL option set — the 3 options + "기억 안 남", labelled `A` `B` `C` `D` — and take every answer in one reply (`1-B 2-A 3-기억 안 남`). Recall is multiple choice on every surface: an open-ended prose question is not the fallback, it is a different (and much harder) exercise the schedule was never calibrated for.

- **Don't drill**: "기억 안 남" is a complete answer — never re-ask it, never hint, never chase it mid-ask. Its reveal arrives with every other reveal in the close-out block (Procedure 4); re-asking now would be recognition, not recall (the schedule re-asks it tomorrow anyway).
- **Latency contract**: default question count = config `[quiz] questions` (stock 3); a numeric argument raises it, the engine caps at 7 (fixed). Minutes total; a quiz people skip reinforces nothing — keep it light enough to be a habit. **All waiting belongs at the two ends** — authoring before the first question, grading + reveals + engine records after the last answer. The stretch the human actually sits in carries zero model latency: measured, a per-question grading turn cost ~40s of dead wait between questions, several times the answering itself.

## Scheduling (engine-owned — don't re-derive it)
- The engine owns the per-person ledger `docs/wiki/6_quiz/quiz-ledger.<id>.md`, the day-granular forgetting curve, due dates, and selection priority. Its `<!-- quiz:{…} -->` markers are **never hand-edited**.
- How it works (boxes, priority, hub pages, exclusions, the UTC day boundary): `llmwiki conventions <repo> --section quiz-schedule` — only when the human asks or a due date looks wrong.

## Engine CLI (`bun "<plugin-root>/src/cli.ts"`)
- `llmwiki quiz-status <repo> [--date YYYY-MM-DD]` — ledger totals, due counts, weak spots.
- `llmwiki quiz-next <repo> [--limit N]` — the scheduled selection (pointers only; you Read the pages).
- `llmwiki quiz-record <repo> --page <wiki-relative.md> --result correct|wrong|skip [--question "<asked>"]` — record one result; the engine takes the curve step and rewrites the ledger.

$ARGUMENTS

## Procedure

1. **REPO = cwd** (`$CLAUDE_PROJECT_DIR`). If `docs/wiki/` is missing → say "this repo has no wiki yet — build it with `/wiki-save` first" and stop. Run `llmwiki quiz-status <repo>` and announce one line (due / new-candidate counts + weak spots + session size — quiz-status prints `session Nq (max M)` from config). A numeric argument overrides the question count; the engine caps it at 7.

2. **Select**: `llmwiki quiz-next <repo>` — omit `--limit` unless the human gave a count (`--limit <N>`); the config default applies and the engine clamps to the ceiling. If 0 items, report "nothing due today" (+ next due date from quiz-status) and stop.

3. **Author ALL questions upfront, then ask them in one uninterrupted stretch**: Read EVERY selected page first (parallel Reads in one batch), then author all N questions in one pass BEFORE asking anything — the human should never wait on generation between questions. Per page, ONE question in the wiki's language, angled by category — decision: "what did we choose there, and why over the alternative?" · direction: "where is this headed / what changed?" · insight: "what was the gotcha/lesson?" · topic: "what IS this concept / what does it buy us?" · milestone: "what state is X in?". Whatever the angle, the options stay noun phrases (rules above). Vary the angle from the `last q:` shown by quiz-next (repetition with variation). Then ask. **The harness's structured ask tool is the default, not one of two equal options**: if such a tool is in your list and its own description covers the mode you are in, you MUST ask through it — typing the questions into chat instead is a defect, not a style choice, and it costs the human the one-keypress answering the latency contract is built on. Batch at that tool's per-call cap with nothing between the calls. The numbered chat block is only for a harness that has no such tool or refused the call (rules above). A batch that comes back missing its answers (Codex outside Plan mode auto-resolves an untouched prompt) is re-presented once as a numbered block; it is not a skip. Answering is the human's stretch; keep it free of anything the model does.

4. **Grade the whole set at the end, warmly**: with every answer in hand, grade them in one pass — the decision/why remembered = `correct` even with fuzzy details; "don't remember / blank" = `skip`; confidently wrong = `wrong`. Then deliver the feedback as ONE block, a short section per question in ask order — correct: confirm + one sharpening fact; wrong/skip: the actual answer in 1–2 sentences + a markdown link to the page. This block is the review, and the only place answers are revealed.

5. **Record every asked item** (including skips) after the Procedure 4 feedback block — last of the three end-phase steps, never mid-ask — in one sequential batch: `llmwiki quiz-record <repo> --page <page> --result <r> --question "<the question you asked>"` per item. Deferring the records to the end keeps the ask loop free of engine calls; sequential because the ledger rewrite is not safe from parallel writers.

6. **Write the human-readable session record** `docs/wiki/6_quiz/<YYYY-MM-DD>-quiz.md` (same-day rerun → append a `## 2회차` section, don't overwrite). Frontmatter: `type: Quiz Record` `title` `description` `date` `tags: [quiz, memory]` `status: stable` `generated: { by: <harness>/<model id>, at: <ISO> }`. Use one numbered section per question (`## 1. <the question>`, `## 2. …`), and inside it `-` lines for the human's answer, the verdict, and the grounded answer + a relative link `[<title>](../<page>)`, with `    -` for detail. Prefer compact noun-phrase/telegraphic endings. This file is the human's review notebook — write it for the human, not the machine.

7. **Log**: `llmwiki log-append <repo> quiz "N asked, M correct, K to re-review"` (engine-formatted; never hand-edit `log.md`).

8. **Report** (1 line): "quiz N문 M정 / 오답·skip K / 다음 due <date> / 기록: 6_quiz/<file>". **No index/refs/lint close-out** — the quiz layer is not indexed by design, and log.md gets picked up by the next `/wiki-save`.

## Principles
- **One-directional loop**: wiki → human. Quiz artifacts are excluded from indexing/search/cold-start so the LLM never feeds on its own quiz output — the wiki remembers FOR the model; the quiz makes the HUMAN remember.
- **Engine schedules, session judges**: box math, due dates, and priority are deterministic engine work; question wording and gist-grading are warm judgment. Neither side crosses over.
- **Judgment before facts**: quiz what sharpens the human's irreplaceable role — decisions, direction, insights — before execution details. Code specifics only when a page's whole point is a mechanism.
- **Wrong answers are the product**: they mark exactly what the system knows but the human forgot. Weak spots (<50% over 3+ asks, shown by quiz-status) deserve a deliberate re-read of the page, not just another quiz round.
- Records = a new dated file + a whole-file ledger rewrite + a log append. Call `quiz-record` sequentially (as this procedure does) — the ledger rewrite is not safe from parallel writers. Commits are in the user's name alone — only when instructed.
- Use `/wiki-save` to close a session, `/wiki-quiz` (this skill) to train your memory on what it filed, `/wiki-ask` to query, `/wiki-deep` for the periodic deep pass.

<!-- generated by src/plugin/build-assets.ts — edit skill/*.md, then re-run -->

Files in this skill

  • SKILL.md16.1 KB
  • agents/openai.yaml446 B

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.