More screenshots

    Works with the AI Agents you already use

    Quiz Site Generator: Turn Any Question Bank into a Practice

    by wing1107

    1

    Turn a question bank (docx or JSON) into a self-contained quiz website with instant grading, mock exams, wrong-answer review, and local progress tracking.

    Free

    Security scanned

    Quiz Site Generator: Turn Any Question Bank into a Practice

    Example session with this skill installed

    I have a docx file at ./docs/security_exam.docx. Please parse it and generate a quiz site called "Cybersecurity Level 1 Practice" with 15 questions per group.

    • Read your context and instructions
    • Compiled the quiz site generator
    • Generated the document

    I have processed the question bank document and generated a self-contained static quiz website. The parser identified 300 true/false, 300 single-choice, and 300 multiple-choice questions, handling 5 common answer-format variants, with zero validation warnings during extraction.

    Quiz Site Generation Report

    MetricValue
    Source File./question_bank.docx
    Output File./question_bank-quiz.html
    Total Questions900 (300 judgement · 300 single-choice · 300 multi-choice)
    Validation Warnings0 — no missing answers, no malformed multi-select answers
    Site TitleExam Question Bank Practice
    Group Size25 questions per practice group
    Mock Exam Paper50 single-choice + 30 true/false + 20 multi-choice = 100 points
    Features IncludedPractice Mode (instant grading), Mock Exam, Wrong-Answer Review, Local Progress via localStorage

    The deliverable is a single portable HTML file (~140 KB for 900 questions) — no server, no framework, no CDN, works offline. Excerpt of the generated page structure:

    <!DOCTYPE html>
    <html lang="zh-CN">
    <head>
    <meta charset="UTF-8">
    <title>Exam Question Bank Practice</title>
    <style>
    :root { --bg:#f7f5f0; --card:#fff; --blue:#2563eb; --green:#16a34a; --red:#dc2626; }
    </style>
    </head>
    <body>
    
    <script>
    const QUIZ_DATA = {
      "judgement": [{ "id": 1, "question": "...", "answer": "√" }],
      "single":    [{ "id": 1, "question": "...", "options": ["A. …", "B. …"], "answer": "C" }],
      "multi":     [{ "id": 1, "question": "...", "options": ["A. …", "E. …"], "answer": ["A","B","C"] }]
    };
    </script>
    </body>
    </html>
    

    The complete generated file is written to disk at ./question_bank-quiz.html. A working sample of the same output is bundled in this skill as demo.html, so you can open it and see the result before running anything.

    Next steps

    1. Open question_bank-quiz.html in any modern web browser — double-click to start, no server or install needed.
    2. Upload the single HTML file to any static host (GitHub Pages, Vercel, Netlify) to share with students or a team.
    3. If the question bank changes, re-run the skill on the updated docx — the quality report re-validates every answer before the site is rebuilt.

    question_bank.docx

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Teachers and trainers already have question banks — in Word documents, exported spreadsheets, plain JSON. What they don't have is an easy way to turn them into something students can actually practice with.

    This skill does exactly that: it takes your question bank and builds a single, self-contained HTML quiz site. No server, no framework, no CDN. Double-click the file and it works — offline, forever.

    What the skill does

    1. Parses your question bank from a Word document (or accepts JSON directly), with a quality report: missing answers, multi-select answers with fewer than 2 options, malformed items — all flagged before anything ships.
    2. Builds the site from a proven single-page template, embedding all questions into one portable HTML file.
    3. Verifies the output with a syntax check so the delivered page never silently breaks.

    The generated site includes

    • Practice mode — questions grouped by type and chapter-sized batches (configurable), with instant grading and correct-answer reveal
    • Mock exam — configurable paper composition (e.g. 50 single + 30 true/false + 20 multi = 100-point exam), scored on submit
    • Wrong-answer review — mistakes are collected automatically for targeted re-drilling
    • Local progress — completion and accuracy per group persist in localStorage; close the browser, come back later, nothing is lost

    Question types

    True/false, single-choice (A–H), multi-choice (multiple correct answers, A–H). Works with both Chinese and English banks:

    • Chinese markers: 参考答案:C, 【答案】A,B,C, 答案:AB, 正确答案:A、C, answer-before-number ( √ )1. …, options A. xxx / A、xxx
    • English markers: Answer: C, Correct Answer: A, C, Answers: AB, [Answer] T, answer-before-number (T) 1. … / (C) 2. …, options A. xxx / A) xxx / (A) xxx, sections like "Part I: True or False Questions" / "Multiple Response Questions"

    Requirements

    • Python 3.9+ with python-docx (pip install python-docx)
    • Node.js (optional, only for the post-build syntax check)

    What's inside

    SKILL.md (the full agent workflow, in English), scripts/parse_docx.py (docx → unified JSON parser with quality report, understands Chinese and English bank formats), scripts/build.py (JSON + template → self-contained HTML, site UI in English or Chinese via --lang), index.tpl.html (the site template), demo.html (a working sample site built from the bundled example data), plus example JSON for both languages and the MIT license.

    Perfect for

    Certification prep, corporate training, classroom review, driving-school theory tests, HR assessments — anywhere a static question bank needs to become a website students can drill on.

    Requires Python 3.9 and python-docx. Browser local storage progress is tied to static question IDs. Document parsing assumes standard section headers for question types.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 10 days ago

    • Free with an Agensi account

    Software
    PythonGit

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed10 days ago

    What's inside

    Creator

    W

    wing1107

    Frequently Asked Questions

    The skill supports .docx (Word) and .JSON files, with specialized parsing logic for single-choice, multiple-choice, and true/false question types, even from complex formatting like nested tables.

    You receive the complete automation pipeline, including the docx-to-JSON parsing engine, the static site builder, and the HTML/JS templates used to generate the interactive quiz interface.

    The output is a single, self-contained HTML file that runs entirely in the browser without a database, making it perfect for offline use or hosting on static platforms like GitHub Pages.

    The skill includes a 'Quality Audit' phase that automatically flags missing answers, malformed options, or syntax errors before the final site is built, ensuring your exam data is accurate.

    Yes, while it handles standard English patterns, it includes built-in regex variants specifically optimized for common Chinese question bank structures often found in academic materials.

    The skill is designed for AI agents with a Python 3.9+ environment and Node.js access; it requires the 'python-docx' library to be installed for document processing.

    New in Workflow Automation

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.

    Free