agentCLAWHUBUnverified

quiz-maker

出题工具。根据文档内容(docx、pdf、txt 等)生成选择题测试卷,并返回二维码供答题者扫码作答。触发词:出题、生成题目、创建测验、云端出题。 Skill: quiz-maker Owner: alsxie Summary: 出题工具。根据文档内容(docx、pdf、txt 等)生成选择题测试卷,并返回二维码供答题者扫码作答。触发词:出题、生成题目、创建测验、云端出题。 Tags: latest:1.4.1 Version history: v1.4.1 | 2026-05-06T03:28:35.744Z | user 简化配置:服务器地址写死,只保留ARK_API_KEY和ARK_MODEL为环境变量 v1.4.0 | 2026-05-06T03:27:01.479Z | user 安全改进:API密钥移至环境变量;启动脚本支持.env配置;首次使用提示用户填写参数;修复多处硬编码IP/端口 v1.3.0 | 2026-04-30T02:26:17.010Z | user 作者更新为 CMCC.SN wenzhifeng;二维码默认文件名改为带时间戳格式 quiz_

OpenClaw

Rank

62

Safety

84

Downloads

1.0k

Updated

Oct 11, 2026

Version

1.4.1

Source

CLAWHUB

About

What it does, and when to use it.

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

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 11, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 11, 2026
Adoption signal
1K downloadsadoption · observed Oct 11, 2026
Latest release
1.4.1release · observed May 6, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s178rkjawd3wpcs8a6dtbre5ds85bn7h:quiz-maker
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  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-alsxie-quiz-maker/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

143,887 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: quiz-maker
description: 出题工具。根据文档内容(docx、pdf、txt 等)生成选择题测试卷,并返回二维码供答题者扫码作答。触发词:出题、生成题目、创建测验、云端出题。
author: AME
---

# quiz-maker - 出题技能

> 首次使用时,询问用户 ARK API 密钥、模型名称和公网访问地址(已在本地配置过可跳过)。

## 必填参数(首次使用询问)

| 参数 | 说明 | 默认值 |
|------|------|--------|
| `ARK_API_KEY` | 火山引擎 ARK API 密钥 | — |
| `ARK_MODEL` | 模型名称 | `doubao-1.5-pro-32k-250115` |

> 询问示例:"请提供 ARK API 密钥(模型和公网地址已有默认值,是否需要调整?)"

参数确认后,更新 `~/.openclaw/workspace/skills/quiz-maker/.env`,然后重启服务生效。

## 调用流程

### 1. 提取文档内容
```bash
# docx
python3 -c "
from docx import Document
doc = Document('文件路径.docx')
for p in doc.paragraphs:
    if p.text.strip(): print(p.text)
for t in doc.tables:
    for row in t.rows: print(' | '.join(c.text.strip() for c in row.cells))
"

# pdf
python3 -c "
import PyPDF2
reader = PyPDF2.PdfReader('文件路径.pdf')
for page in reader.pages:
    t = page.extract_text()
    if t and t.strip(): print(t.strip())
"
```

### 2. 调用云端 API 出题
```bash
node ~/.openclaw/workspace/skills/quiz-maker/quiz-create.js "<内容>" "<标题>" "<说明>" --quiet
```
- `--quiet` 静默模式,只输出纯 JSON 到 stdout,方便解析
- 不加 `--quiet` 则 stderr 会有进度提示

### 3. 本地生成二维码(调用 qr-gen.py)
```bash
python3 ~/.openclaw/workspace/skills/quiz-maker/qr-gen.py "<quizUrl>" [输出路径]
```
- 默认输出路径:`~/.openclaw/canvas/quiz_qr_local_yyyy_mm_dd_hh_mm_ss.png`
  - 带时间戳,文件名如 `quiz_qr_local_2026_04_30_10_25_00.png`
- 依赖 `qrcode` + `pillow` 库(未安装时会自动安装)

### 4. 一行命令完成(推荐写法)
```bash
URL=$(node ~/.openclaw/workspace/skills/quiz-maker/quiz-create.js "<内容>" "<标题>" "<说明>" --quiet 2>/dev/null | python3 -c 'import sys,json; print(json.load(sys.stdin)["quizUrl"])')
python3 ~/.openclaw/workspace/skills/quiz-maker/qr-gen.py "$URL"
```

## 注意事项
- 内容最少需要 50 字
- 二维码直接展示给用户即可

## 教训(踩坑记录)
- **用本地 qr-gen.py 生成二维码**:不要从 API 响应的 `qrImage` base64 提取,依赖云端图片不稳定;直接拿 `quizUrl` 本地生成更可靠
- **加 `--quiet` 解析 JSON**:否则 stderr 的进度消息会和 stdout 的 JSON 混在一起,导致 JSON 解析失败

_meta.json

{
  "ownerId": "kn793p37k35csqdfqscvqn8ezx85bkk3",
  "slug": "quiz-maker",
  "version": "1.4.1",
  "publishedAt": 1778038115744
}

skill-card.md

## Description:

Generates multiple-choice quizzes from document content and returns a quiz link and QR code for participants.

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

## Publisher:

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

### License/Terms of Use:

MIT-0

## Use Case:

Educators, trainers, and teams use this skill to turn course or reference documents into multiple-choice quizzes, publish a quiz URL or QR code, and collect answer submissions with basic score statistics.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Document content and quiz data may be transmitted to configured cloud services or exposed through the web app.

Mitigation: Use only documents approved for those services, require authentication before exposing the app, and review data retention expectations before deployment.

Risk: API keys and deployment controls are under-scoped by default.

Mitigation: Store ARK_API_KEY in a managed secret mechanism, avoid running the service as root, and replace runtime package installs with pinned setup steps.

Risk: TLS verification is disabled for the quiz creation helper.

Mitigation: Remove the TLS bypass and use a certificate-validated endpoint before production use.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/alsxie/skills/quiz-maker)

## Skill Output:

**Output Type(s):** [Text, Markdown, Code, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown guidance with shell commands and JSON-producing helper scripts]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Outputs may include a quiz URL, QR code image path, generated question JSON, and operational status messages.]

## Skill Version(s):

1.4.1 (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.

test_quiz.md

# 数学测试文档

## 第一章 有余数的除法

有余数除法是除法运算的一种,当被除数不能被除数整除时,会产生余数。

**基本公式:** 被除数 ÷ 除数 = 商 ... 余数

**余数的性质:** 余数必须小于除数。

**例题:**
- 30 ÷ 9 = 3 ... 3(商3,余数3)
- 42 ÷ 5 = 8 ... 2(商8,余数2)

## 第二章 面积计算

**长方形面积 = 长 × 宽**
**正方形面积 = 边长 × 边长**

例题:一个长方形长8厘米,宽5厘米,面积是40平方厘米。

## 第三章 时间单位换算

- 1小时 = 60分钟
- 1分钟 = 60秒
- 1天 = 24小时

例题:120分钟 = 2小时,180秒 = 3分钟。

package-lock.json

{
  "name": "quiz-maker",
  "version": "1.0.0",
  "lockfileVersion": 3,
  "requires": true,
  "packages": {
    "": {
      "name": "quiz-maker",
      "version": "1.0.0",
      "license": "ISC",
      "dependencies": {
        "adm-zip": "^0.5.17",
        "better-sqlite3": "^12.9.0",
        "express": "^5.2.1",
        "mammoth": "^1.12.0",
        "multer": "^2.1.1",
        "qrcode": "^1.5.4",
        "uuid": "^14.0.0"
      }
    },
    "node_modules/@xmldom/xmldom": {
      "version": "0.8.13",
      "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.13.tgz",
      "integrity": "sha512-KRYzxepc14G/CEpEGc3Yn+JKaAeT63smlDr+vjB8jRfgTBBI9wRj/nkQEO+ucV8p8I9bfKLWp37uHgFrbntPvw==",
      "license": "MIT",
      "engines": {
        "node": ">=10.0.0"
      }
    },
    "node_modules/accepts": {
      "version": "2.0.0",
      "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz",
      "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==",
      "license": "MIT",
      "dependencies": {
        "mime-types": "^3.0.0",
        "negotiator": "^1.0.0"
      },
      "engines": {
        "node": ">= 0.6"
      }
    },
    "node_modules/adm-zip": {
      "version": "0.5.17",
      "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.5.17.tgz",
      "integrity": "sha512-+Ut8d9LLqwEvHHJl1+PIHqoyDxFgVN847JTVM3Izi3xHDWPE4UtzzXysMZQs64DMcrJfBeS/uoEP4AD3HQHnQQ==",
      "license": "MIT",
      "engines": {
        "node": ">=12.0"
      }
    },
    "node_modules/ansi-regex": {
      "version": "5.0.1",
      "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
      "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
      "license": "MIT",
      "engines": {
        "node": ">=8"
      }
    },
    "node_modules/ansi-styles": {
      "version": "4.3.0",
      "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
      "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
      "license": "MIT",
      "dependencies": {
        "color-convert": "^2.0.1"
      },
      "engines": {
        "node": ">=8"
      },
      "funding": {
        "url": "https://github.com/chalk/ansi-styles?sponsor=1"
      }
    },
    "node_modules/append-field": {
      "version": "1.0.0",
      "resolved": "https://registry.npmjs.org/append-field/-/append-field-1.0.0.tgz",
      "integrity": "sha512-klpgFSWLW1ZEs8svjfb7g4qWY0YS5imI82dTg+QahUvJ8YqAY0P10Uk8tTyh9ZGuYEZEMaeJYCF5BFuX552hsw==",
      "license": "MIT"
    },
    "node_modules/argparse": {
      "version": "1.0.10",
      "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
      "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
      "license": "MIT",
      "dependencies": {
     
Github ReposUpdated 2d agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/alsxie/skills/quiz-maker",
      "sourceUrl": "https://clawhub.ai/alsxie/skills/quiz-maker",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T17:23:41.467Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-alsxie-quiz-maker/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-alsxie-quiz-maker/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-11T17:23:41.467Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1K downloads",
      "href": "https://clawhub.ai/alsxie/quiz-maker",
      "sourceUrl": "https://clawhub.ai/alsxie/quiz-maker",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T17:23:41.467Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.4.1",
      "href": "https://clawhub.ai/alsxie/quiz-maker",
      "sourceUrl": "https://clawhub.ai/alsxie/quiz-maker",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-05-06T03:28:35.744Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-alsxie-quiz-maker/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-alsxie-quiz-maker/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.4.1",
      "description": "简化配置:服务器地址写死,只保留ARK_API_KEY和ARK_MODEL为环境变量",
      "href": "https://clawhub.ai/alsxie/quiz-maker",
      "sourceUrl": "https://clawhub.ai/alsxie/quiz-maker",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-05-06T03:28:35.744Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 11, 2026.

Sponsored

Ads related to quiz-maker and adjacent AI workflows.