Preface¶
In teaching research or training scenarios, a common approach is to manually deconstruct past exam papers, cross-reference lecture materials to identify knowledge points, and then rewrite questions one by one. For scanned documents and photographed versions of past exams, OCR is required first, and structural alignment and deduplication often rely on manual checklists. Below we introduce a community Skill on SkillHub: “All-Subject Exam Paper Generation—Based on Your Own Knowledge Base and Simulated Question Generation” (@user_6455574a/exam-generator-pro, current version 2.0.1). It chains “material ingestion + template alignment + question generation + validation + export” into a workflow that can be executed in an Agent, ultimately delivering a .docx.
What This Is¶
In one sentence: Upload your own knowledge base and past exam (or simulated exam) templates; after OCR and question-type analysis, it generates new exam items with similar structure, performs multiple automatic quality checks, and outputs a Word document.
- Coordinate:
@user_6455574a/exam-generator-pro - Source: SkillHub community (
community), categorized undereducation - Publisher:
user_6455574a(the SkillHub page attributes authorship to 跃渊META SKILLDIY) - Tag:
requires_api_key=false(the page does not list a separate API Key configuration field) - Official entry: SkillHub Skill Page, API Resource Address
The Skill follows the standard SKILL.md format. After installation, the current Agent will call the necessary tools and steps according to the skill instructions.
Core Features¶
The capabilities below are consistent with the official introduction; details not present in the source materials are not expanded.
- Dual input: Knowledge base materials + past/simulated exam templates (templates are used to align question types and paper structure).
- OCR text extraction: Extracts text from materials, supporting scanned documents and images; documentation states integration of multi-engine recognition capabilities from OCR-Pro.
- Structure and knowledge-point analysis: The AI analyzes the question-type structure and knowledge-point distribution, then generates new simulated items of the same question type.
- Built-in quality checks, covering:
- Answer completeness
- Knowledge-point coverage
- Difficulty distribution
- Structural match (alignment with the template)
- Duplication detection - Output format: Word (
.docx).
The SkillHub page shows a rating of 100000 and approximately 1,736 downloads (stats are subject to platform display).
Installation and Activation¶
First perform an environment check, then install the skill to the skills directory actually used by the current Agent. Installing to the wrong directory may prevent the Agent from recognizing the skill.
1. Install the SkillHub CLI (if not already installed)¶
command -v skillhub && skillhub --version
If it is not installed, follow the SkillHub installation instructions. For a full installation:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
CLI-only:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install This Skill¶
The installation instructions provided on the official page are: According to https://skillhub.cn/install/skillhub.md, install @user_6455574a/exam-generator-pro.
Command-line method (--dir must point to the skills directory of the current environment):
skillhub install user_6455574a/exam-generator-pro --dir <skills directory>
Common client skills paths (excerpted from the SkillHub installation documentation):
| Environment | Skills Directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
| Gemini CLI | ~/.gemini/skills/ |
After installation, restart or refresh the Agent as required by your client so the skill is loaded.
You can also send the Agent the same official prompt to let it complete the installation per the documentation:
Please install `@user_6455574a/exam-generator-pro` according to https://skillhub.cn/install/skillhub.md.
Typical Usage¶
The materials do not include step-by-step screenshots or the complete SKILL.md body; reproducible usage follows the official process description:
- Enable the installed
@user_6455574a/exam-generator-proin the Agent. - Prepare two types of files: your own knowledge base materials (lecture notes, study notes, textbook excerpts, etc.) and past exams or simulated exam templates (containing target question types and paper structure; may be scanned documents or images).
- Follow the skill instructions to upload or specify paths, triggering OCR and subsequent analysis, question generation, and validation.
- Confirm that the checks (answers, knowledge points, difficulty, structure, deduplication) meet expectations, then obtain the final
.docxdeliverable.
For specific parameter names and interaction scripts, refer to the SKILL.md within the installed package; if there are inconsistencies with the introduction, the skill file prevails.
Use Cases and Notes¶
Who it’s for
- Teachers, teaching researchers, or internal training leads who need to generate questions from their own lecture notes/knowledge base and want the exam’s question types and structure aligned with a specific past exam or simulated exam template.
- Scenarios where materials are primarily scanned documents or images and you want to rely on OCR (including OCR-Pro multi-engine) to extract text before generating questions.
Limitations and cautions
- Community-sourced (
community), so upgrade and maintenance cadence depend on the publisher; check the version on SkillHub before use (current 2.0.1). - Generation quality depends on knowledge base coverage, template clarity, and OCR results; built-in checks reduce obvious errors but do not replace human review and compliance checks.
- During installation, you must specify the correct
--dir; otherwise it may default to./skills/and not be loaded by the current Agent. - The page indicates
requires_api_key=false, but this does not mean that runtime will not consume existing configurations of your Agent or OCR-related services; refer to your actual environment.
Closing¶
“All-Subject Exam Paper Generation” integrates knowledge bases, exam templates, OCR, question-type analysis, and multiple automatic checks into a single pipeline, outputting editable Word exam papers. For installation or documentation, see the SkillHub Skill Page and the coordinate @user_6455574a/exam-generator-pro (v2.0.1).