"Generate AI-powered interactive classrooms.
"Generate AI-powered interactive classrooms.
OpenMAIC — AI Interactive Classroom Generator
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
---
name: openmaic
description: "Generate AI-powered interactive classrooms.
Triggers: teach me, generate classroom, create lesson, 教我, 生成课堂, 上课"
version: 1.0.0
metadata:
openclaw:
emoji: "🎓"
mcp:
- name: openmaic
command: npx
args: ["-y", "openmaic-mcp-server"]
env:
OPENMAIC_BASE_URL: "https://open.maic.chat"
---
# OpenMAIC — AI Interactive Classroom Generator
Generate rich, interactive classrooms with slides, quizzes, discussions, and TTS narration.
## Triggers
Activate when the user says things like:
- "teach me about...", "generate a lesson on...", "create a classroom about..."
- "教我...", "生成课堂...", "帮我做一节关于...的课"
## Step 1: Collect Requirements
Ask the user what topic they want to learn about. Be specific — a clear topic produces a better classroom.
Optional: ask for language preference (zh-CN or en-US, default zh-CN).
Examples:
- "量子力学入门" → generates a Chinese classroom on quantum mechanics
- "Introduction to Machine Learning" → generates an English classroom on ML
## Step 2: Generate Classroom
Use the `generate_classroom` MCP tool:
```
generate_classroom(
requirement: "<user's topic>",
language: "zh-CN" // or "en-US"
)
```
If the user provides a PDF URL, include it:
```
generate_classroom(
requirement: "<topic>",
language: "zh-CN",
pdfUrl: "https://example.com/document.pdf"
)
```
## Step 3: Monitor Progress
Poll every 10-15 seconds using `check_generation_status`:
```
check_generation_status(taskId: "<taskId from step 2>")
```
While waiting, inform the user about progress:
- "outlines" → Designing the lesson structure...
- "scenes" → Generating slides and activities (3/10)...
- "tts" → Creating voice narration...
## Step 4: Share Result
When status is "completed", present the share URL to the user:
> 🎓 Your interactive classroom is ready!
>
> **Open this link to start learning:** [shareUrl]
>
> The classroom includes interactive slides, quizzes, and AI-narrated explanations.
> You can navigate through scenes at your own pace.
## Error Handling
If generation fails:
- Tell the user what went wrong
- Suggest trying again with a simpler or more specific topic
- Offer to help refine the requirement
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。