Xpersona
E

Exam Generator

CLAWHUB · Unverified

中国中小学试卷生成器。Use when teacher needs to create exam papers for Chinese primary/middle school. Supports all subjects, multiple question types, official curriculu... Skill: Exam Generator Owner: tobewin Summary: 中国中小学试卷生成器。Use when teacher needs to create exam papers for Chinese primary/middle school. Supports all subjects, multiple question types, official curriculu... Tags: latest:1.0.3 Version history: v1.0.3 | 2026-03-28T02:14:17.324Z | user 清理测试文件,重新发布 v1.0.2 | 2026-03-26T10:36:41.076Z | user 修复安全问题:移除错误的wttr.in搜索示例,改用web-search skill v1.0.1 | 2026-03-26T08:59:02.820Z | user

62
Rank
84
Safety
1.5k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174rz3f0862tcfw7pzfh5w8kn83hv2z:exam-generator
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-tobewin-exam-generator/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

54,668 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: exam-generator
description: 中国中小学试卷生成器。Use when teacher needs to create exam papers for Chinese primary/middle school. Supports all subjects, multiple question types, official curriculum standards, and accurate answers. Uses web search for latest knowledge. 试卷生成、出题、考试卷。
version: 1.0.2
license: MIT-0
metadata: {"openclaw": {"emoji": "📝", "requires": {"bins": ["python3", "curl"], "env": []}}}
---

# 中国中小学试卷生成器

专业试卷生成工具,支持中国中小学各学科,遵循官方课程标准,确保试题准确性。

## Features

- 📚 **全学科支持**: 语文、数学、英语、物理、化学、生物、历史、地理、政治
- 📊 **多种题型**: 选择题、填空题、判断题、简答题、计算题、作文题
- 🎯 **精准出题**: 根据知识点和难度要求生成
- 🌐 **联网验证**: 使用web search获取最新知识和标准答案
- 📐 **专业排版**: 标准试卷格式,可直接打印
- ✅ **答案准确**: 交叉验证确保答案正确

## 支持的学科

| 学科 | 年级 | 题型 |
|------|------|------|
| 语文 | 小学/初中 | 选择、填空、阅读、作文 |
| 数学 | 小学/初中 | 选择、填空、计算、应用 |
| 英语 | 小学/初中 | 选择、填空、阅读、写作 |
| 物理 | 初中 | 选择、填空、实验、计算 |
| 化学 | 初中 | 选择、填空、实验、计算 |
| 生物 | 初中 | 选择、填空、简答 |
| 历史 | 初中 | 选择、填空、简答 |
| 地理 | 初中 | 选择、填空、读图 |
| 政治 | 初中 | 选择、填空、简答 |

## Trigger Conditions

- "生成一份试卷" / "Create an exam"
- "出一套数学题" / "Generate math problems"
- "帮我出英语试卷" / "Create English test"
- "根据知识点出题" / "Generate questions for topics"
- "exam-generator"

---

## Step 1: 理解用户需求

```
请提供以下信息:

学科:语文/数学/英语/物理/化学...
年级:小学X年级/初中X年级
知识点:具体要考察的知识点
题型:选择题/填空题/简答题...
题量:各题型数量
难度:简单/中等/困难
时间:考试时长(分钟)
```

---

## Step 2: 获取最新知识(联网验证)

使用web-search skill获取准确的知识点和标准答案:

```
Agent自动调用web-search skill搜索:
- 学科知识点
- 标准答案
- 官方课程标准
```

### 知识验证流程

```
生成试题
    ↓
搜索标准答案
    ↓
交叉验证
    ↓
标记置信度
    ↓
输出试题
```

---

## Step 3: 生成试卷

### Python代码示例

```python
import os
from datetime import datetime

class ExamGenerator:
    def __init__(self, subject, grade, title='考试试卷'):
        self.subject = subject
        self.grade = grade
        self.title = title
        self.questions = []
        self.answers = []
    
    def add_choice_question(self, question, options, answer, score=2):
        """添加选择题"""
        self.questions.append({
            'type': 'choice',
            'question': question,
            'options': options,
            'score': score
        })
        self.answers.append({
            'type': 'choice',
            'answer': answer,
            'score': score
        })
    
    def add_fill_blank(self, question, answer, score=2):
        """添加填空题"""
        self.questions.append({
            'type': 'fill',
            'question': question,
            'score': score
        })
        self.answers.append({
            'type': 'fill',
            'answer': answer,
            'score': score
        })
    
    def add_true_false(self, question, answer, score=1):
        """添加判断题"""
        self.questions.append({
            'type': 'true_false',
            'question': question,
            'score': score
        })
        self.answers.append({
            'type': 'true_false',
            'answer': answer,
            'score': score
        })
    
    def add_short_answer(self, question, answer, score=10):
        """添加简答题"""
        self.questions.append({
 

_meta.json

{
  "ownerId": "kn75z6gevjsyrznm7dg2ez6sen82h8sz",
  "slug": "exam-generator",
  "version": "1.0.3",
  "publishedAt": 1774664057324
}

skill-card.md

## Description:

Exam Generator helps agents create China-focused primary and middle school exam papers with subject, grade, topic, question type, answer key, and printable-format guidance.

This skill is ready for commercial/non-commercial use.

## Publisher:

[tobewin](https://clawhub.ai/user/tobewin)

### License/Terms of Use:

MIT-0

## Use Case:

Teachers and education staff use this skill to draft China-focused K-9 exam papers and answer keys for specified subjects, grades, knowledge points, question types, difficulty levels, and exam durations.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Web searches may include educational prompts that contain private student details, unpublished questions, or sensitive school materials.

Mitigation: Review or confirm searches before use, and avoid placing private or sensitive school content in search queries.

Risk: Generated exam files may be written to an unintended location.

Mitigation: Choose output directories deliberately and confirm generated Word files before sharing, printing, or storing them.

Risk: Generated questions and answers can require educator review before classroom use.

Mitigation: Check final question sheets and answer keys against the intended curriculum, grade level, and trusted source material.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/tobewin/skills/exam-generator)
- [ClawHub publisher profile](https://clawhub.ai/user/tobewin)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown or text exam drafts with optional Python code examples and generated Word document paths]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include question sheets, answer keys, confidence notes, and printable exam formatting.]

## Skill Version(s):

1.0.3 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

LICENSE.txt

MIT No Permission (MIT-0)

Copyright 2026

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Sponsored

Ads related to Exam Generator and adjacent AI workflows.