create-quiz
Make a quiz other people take and get scored on, as a QuestionPunk link with an answer key - trivia, a class or training check, or a friend quiz such as "How well do you know me?" where friends guess the creator's answers. Use whenever someone wants a quiz with right answers to send to others, even without naming QuestionPunk - a trivia quiz for a party, quiz my class on chapter 3, a quiz my friends take about me. Not for personality quizzes, polls or surveys with no right answers.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1.6k
- Forks
- 491
01 前言 Front Matter
- name
- create-quiz
- description
- Make a quiz other people take and get scored on, as a QuestionPunk link with an answer key - trivia, a class or training check, or a friend quiz such as "How well do you know me?" where friends guess the creator's answers. Use whenever someone wants a quiz with right answers to send to others, even without naming QuestionPunk - a trivia quiz for a party, quiz my class on chapter 3, a quiz my friends take about me. Not for personality quizzes, polls or surveys with no right answers.
03 SKILL.md 正文
Make a QuestionPunk quiz
A quiz is a survey whose multiple-choice questions carry an answer key. QuestionPunk scores each response against the key, and the key never reaches respondents' browsers.
Use the connected QuestionPunk tools. Host prefixes vary; resolve each tool by its unprefixed name, and search deferred or not-yet-loaded tools before deciding one is missing. Never invent a tool or parameter.
When you can't save to the account
If survey_create or question_create_bulk is missing after that search, QuestionPunk isn't connected in this chat. The usual cause is that it is installed but not signed in. Do not search a connector directory or use another vendor's tools. In your reply:
- Say how to connect. If a QuestionPunk
authenticatetool is listed, call it and give the sign-in link it returns. Otherwise: in Codex, runcodex mcp add questionpunk --url https://app.questionpunk.com/api/v1, thencodex mcp login questionpunk, and start a new chat; on another host, use its connector settings. - For a friend quiz, give the public template page, which works with no account:
https://www.questionpunk.com/template/how-well-do-you-know-me-quiz(orhttps://www.questionpunk.com/template/best-friend-quiz). The person opens it, uses the template and picks their own answers. - For any other quiz, write it in the chat with the correct answer marked, and make a link with
survey_draft_linkwhen that tool is available (single-choice questions; 3 to 20 questions). Give the link exactly as returned and say plainly that the link carries the questions but not the answer key: they mark each correct answer in the editor's "Answer key" before publishing. Without that tool, give the quiz in the chat and the connection steps.
When the user says they connected, look for the tools again and carry on without asking for the request again.
A quiz from scratch (trivia, class, training)
- Settle the topic, level and number of questions from the request; default to 10 questions for trivia and say so. Ask only if the topic is missing.
- Write each question with one clearly correct option and three or four plausible wrong ones. Check every fact you key; leave out a question you are not sure of rather than key a guess. Vary where the correct option sits.
- Call
survey_create(title at most 50 characters), thensurvey_getfor the language andversions.current. - Add the questions with one
question_create_bulkcall. Each item:answer_type: "multiple_choice",required: true, the options intextItemDetails.answer_options, and the key initemDetails.quiz:{ "correctOptionIndex": <0-based position of the correct option> }. Add"points"(1 to 100) only if the user wants some questions worth more. For "select all that apply", setitemDetails.multiple_selection: trueand key{ "correctOptionIndex": null, "correctOptionIndices": [ ... ] }; it is graded all or nothing. Do not key every option of a question: that grades nothing. - Read it back with
survey_getand check that every question has its key at the right position. Fix a wrong key withquestion_update({ item: { itemDetails: { quiz: { "correctOptionIndex": n } } } }).
A friend quiz ("How well do you know me?")
- Find the template with
template_lookup("how well do you know me", "best friend quiz", "partner quiz") and create it withtemplate_create_survey_from, once. Callsurvey_get. - The template ships without answers: the creator's own answers are the key. Ask the user for their answer to each question in one message (list the questions and options). Do not guess them.
- Set each answer with
question_updateas above, one write at a time with the version the last write returned. Change a question's wording or options withquestion_update_textonly when asked, and then set its key again: changing a question's wording or its correct option's text clears the key.
Finish
- A quiz with an unanswered key can't be published. Publish only when the user asked for a link to share or asked to publish: call
survey_publishand giveshareUrlfromsurvey_getexactly as returned. Otherwise giveeditorUrland say it is a draft. - Report the title, question count, that each question is keyed (never print the answer key into a message meant for the people taking the quiz), and the link.
- Never send the link to anyone yourself. On authentication failure use the host's reconnect flow; never ask for a token in chat. If a create times out, look for the new quiz with
survey_listbefore creating another.
04 同仓库更多 Skills
worktable-review-with-annotations
Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.
worktable-find-and-synthesize-context
Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.
worktable-create-or-update-docs
Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.
worktable-create-or-manage-records
Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.
worktable-create-or-manage-interactive-html
Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.
worktable-collaborate-threads
Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.