merge-quiz

merge-quiz is a skill for Claude Code, Codex from hiendinhngoc/unknowns. It costs 56 tokens per session (847 once invoked), scanned A, original, MIT.

A pre-merge quiz about the riskiest parts of a code branch’s changes. A branch is a line of development, and merging combines it into another branch.

In plain words
What is it for?
Use it before merging or opening a pull request, or when you ask whether you are ready to merge.
Why use it?
It checks whether you understand what is about to be merged, including important code changes and known deviations. It also avoids treating generated files as meaningful review material.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: names the AskUserQuestion tool.

Part of the unknowns plugin — 6 skills shipped together

Good fit Use it before merging or opening a pull request, or when you ask whether you are ready to merge.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hiendinhngoc/unknowns/merge-quiz
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hiendinhngoc/unknowns --skill merge-quiz
Clone the repo
git clone --depth 1 https://github.com/hiendinhngoc/unknowns

Made for: Claude Code, Codex.

Or install unknowns, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for merge-quiz

README.md
[![agentmods](https://agentmods.dev/badge/skills/hiendinhngoc/unknowns/merge-quiz/github.svg)](https://agentmods.dev/skills/hiendinhngoc/unknowns/merge-quiz)
Your own site
<a href="https://agentmods.dev/skills/hiendinhngoc/unknowns/merge-quiz"><img src="https://agentmods.dev/badge/skills/hiendinhngoc/unknowns/merge-quiz/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for merge-quiz

Your own site · 80×15
<a href="https://agentmods.dev/skills/hiendinhngoc/unknowns/merge-quiz"><img src="https://agentmods.dev/badge/skills/hiendinhngoc/unknowns/merge-quiz.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 847 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.00847
Opus 5 $0.00028 $0.00424
Sonnet 5 $0.00011 $0.00169
Haiku 4.5 $0.00006 $0.00085

Measured 12d ago against content hash 881b0fa78649, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

merge-quiz scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/merge-quiz/SKILL.md · 67 lines

How it starts

The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Merge Readiness Quiz

Before shipping, verify the HUMAN understands what's being merged. The quiz tests the user, not Claude.

Process

  1. Resolve the base deterministically. Prefer, in order: the base explicitly named by the user; the current branch's configured upstream; the remote default branch from refs/remotes/origin/HEAD; then an existing local main or master. Verify the candidate with git rev-parse --verify before using it. If no candidate exists, ask for a base ref and stop.
  2. Gather the material.
    • Diff: git diff <base>...HEAD. If it is empty, also check git diff <base>..HEAD, tracked worktree changes, and relevant untracked files reported by git status --short. State exactly which material was selected. If all are empty, stop because there is nothing to quiz.
    • Exclude generated files (lockfiles, *.pbxproj, build outputs, vendored code) from quiz material — churn there is noise, not comprehension risk.
    • Deviation log: prefer files for the current branch/task slug. If task identity is unavailable, include only deviation files changed in the diff; do not sweep unrelated logs by date.
  3. Pick the 3–5 riskiest spots. If the diff is too small for 3 real questions, ask fewer and say why. First name what "dangerous" means in THIS codebase's domain — auth/money/deletion/migrations in a backend; lifecycle, state loss, and accessibility regressions in a UI app; loss/duplication/ ordering in a pipeline. Then prioritize: behavior changes on those paths, deviations from the plan, error handling changes, anything irreversible.
  4. Quiz one question at a time using AskUserQuestion (or plain-text multiple choice if this agent has no such tool). If no interactive user is available, output the quiz and stop without answering for them. Each question:
    • Cites the exact file:line it's about
    • Asks about consequences, not trivia: "what happens if X is null here?", "why did we bypass Y?", "what breaks if this runs twice?"
    • Offers 3-4 plausible answers (one correct, distractors that reflect real misunderstandings)
    • Has one correct answer backed by the exact diff hunk or file:line; if no evidence exists in the diff, do not ask that question
  5. On a wrong or unsure answer: explain the correct answer immediately, quoting the exact diff hunk verbatim so the user can dispute it — the quiz grades the user against the agent's reading of the diff, and that reading can be wrong. If the user disputes with evidence, concede the question, correct the score, and flag the spot as review-carefully either way.
  6. Produce the merge-readiness note (paste-ready for the PR description):

Read the full file on GitHub · 67 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 67 lines · 56 tokens per session scan A 881b0fa78649

Subscribe to this mod's changes

merge-quiz is a skill published in the GitHub repository hiendinhngoc/unknowns (9 stars, last pushed 1mo ago), licensed MIT. It adds 56 tokens to every session and 847 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ck-signatures

Extract all method/property signatures from C#, TypeScript, Kotlin, and Python files using live AST parsing. Use after ck find-files has identified the relevant folder, when evaluating multiple candidate files to avoid reading full file content.

Fredrik-C/ContextKing · 48 tokens

plannotator

Reference for using the Plannotator CLI: plan review, code review, annotating files, URLs, folders, and running local apps, annotating the last assistant message, browsing archived plan decisions, and exporting or sharing Guided Reviews. Invoke when asked to use Plannotator for anything not covered by a more specific…

backnotprop/plannotator · 73 tokens

review-work

Post-implementation gate review: run manual QA on the real surface yourself, then launch ONE gate reviewer (never a panel) to audit goal, constraints, code quality, security, missed context, and QA evidence. Use before a PR handoff or when the user explicitly asks to review completed work.

code-yeongyu/oh-my-openagent · 63 tokens

agtx-review

Self-review completed work. Check for correctness, edge cases, and code quality. Write review to .agtx/review.md and stop.

fynnfluegge/agtx · 32 tokens

doubt-driven-development

Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when correctness matters more than speed, when working in unfamiliar code, when stakes are high (production, security-sensitive logic, irreversible operations), or any time a confident output would be cheaper to verify now…

jcarlosrodicio/opencode-agent-orchestration-kit · 67 tokens

plain-report

Use this tool only when the user explicitly asks to create a plain report.

text2future/flowix · 0 tokens