openmaic-classroom▌
aradotso/trending-skills · updated May 25, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
Skill by ara.so — Daily 2026 Skills collection.
OpenMAIC — Multi-Agent Interactive Classroom
Skill by ara.so — Daily 2026 Skills collection.
OpenMAIC (Open Multi-Agent Interactive Classroom) is a Next.js 16 / React 19 / TypeScript platform that converts any topic or document into a full interactive lesson. A multi-agent pipeline (LangGraph 1.1) generates slides, quizzes, HTML simulations, and project-based learning activities delivered by AI teachers and AI classmates with voice (TTS) and whiteboard support.
Project Stack
| Layer | Technology |
|---|---|
| Framework | Next.js 16 (App Router) |
| UI | React 19, Tailwind CSS 4 |
| Agent orchestration | LangGraph 1.1 |
| Language | TypeScript 5 |
| Package manager | pnpm >= 10 |
| Runtime | Node.js >= 20 |
Installation
git clone https://github.com/THU-MAIC/OpenMAIC.git
cd OpenMAIC
pnpm install
Environment Configuration
cp .env.example .env.local
Edit .env.local — at minimum one LLM provider key is required:
# LLM Providers (configure at least one)
OPENAI_API_KEY=$OPENAI_API_KEY
ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY
GOOGLE_API_KEY=$GOOGLE_API_KEY
# Recommended default model (Gemini 3 Flash = best speed/quality balance)
DEFAULT_MODEL=google:gemini-3-flash-preview
# Optional: MinerU for advanced PDF/table/formula parsing
PDF_MINERU_BASE_URL=https://mineru.net
PDF_MINERU_API_KEY=$MINERU_API_KEY
# Optional: access code for hosted mode
ACCESS_CODE=$OPENMAIC_ACCESS_CODE
Provider Config via YAML (alternative to env vars)
Create server-providers.yml in the project root:
providers:
openai:
apiKey: $OPENAI_API_KEY
anthropic:
apiKey: $ANTHROPIC_API_KEY
google:
apiKey: $GOOGLE_API_KEY
deepseek:
apiKey: $DEEPSEEK_API_KEY
# Any OpenAI-compatible endpoint
custom:
baseURL: https://your-proxy.example.com/v1
apiKey: $CUSTOM_API_KEY
Running the App
# Development
pnpm dev
# → http://localhost:3000
# Production build
pnpm build && pnpm start
# Type checking
pnpm tsc --noEmit
# Linting
pnpm lint
Docker Deployment
cp .env.example .env.local
# Edit .env.local with your API keys
docker compose up --build
# → http://localhost:3000
Vercel Deployment
# Fork the repo, then import at https://vercel.com/new
# Set env vars in Vercel dashboard:
# OPENAI_API_KEY or ANTHROPIC_API_KEY or GOOGLE_API_KEY
# DEFAULT_MODEL (optional, e.g. google:gemini-3-flash-preview)
One-click deploy button is available in the README; it pre-fills env var descriptions automatically.
Lesson Generation Pipeline
OpenMAIC uses a two-stage pipeline:
| Stage | Description |
|---|---|
| Outline | AI analyzes topic/document and produces a structured lesson outline |
| Scenes | Each outline item is expanded into a typed scene: slides, quiz, interactive, or pbl |
Scene Types
| Type | Description |
|---|---|
slides |
AI teacher lectures with TTS narration, spotlight, laser pointer |
quiz |
Single/multiple choice or short-answer with AI grading |
interactive |
HTML-based simulation (physics, flowcharts, etc.) |
pbl |
Project-Based Learning — choose a role, collaborate with agents |
API Usage — Generating a Classroom
REST: Start Generation Job
// POST /api/generate
const response = await fetch('/api/generate', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
topic: 'Quantum Entanglement',
// Optional: attach document content
document: markdownString,
// Optional: model override
model: 'google:gemini-3-flash-preview',
}),
});
const { jobId } = await response.json();
REST: Poll Job Status
// GET /api/generate/status?jobId=<jobId>
const poll = async (jobId: string) => {
while (true) {
const res = await fetch(`/api/generate/status?jobId=${jobId}`);
const data = await res.json();
if (data.status === 'completed') {
console.log('Classroom URL:', data.classroomUrl);
break;
}
if (data.status === 'failed') {
throw new Error(data.error);
}
// status === 'pending' | 'running'
await new Promise(r => setTimeout(r, 3000));
}
};
REST: Export Slides
// GET /api/export/pptx?classroomId=<id>
const exportPptx = async (classroomId: string) => {
const res = await fetch(`/api/export/pptx?classroomId=${classroomId}`);
const blob = await res.blob();
const url = URL.createObjectURL(blob);
// trigger download
const a = document.createElement('a');
a.href = url;
a.download = 'lesson.pptx';
a.click();
};
// GET /api/export/html?classroomId=<id>
const exportHtml = async (classroomId: string) => {
const res = await fetch(`/api/export/html?classroomId=${classroomId}`);
const html = await res.text();
return html;
};
OpenClaw Integration
OpenMAIC ships a skill for OpenClaw, enabling classroom generation from Feishu, Slack, Discord, Telegram, etc.
Install the Skill
# Via ClawHub (recommended)
clawhub install openmaic
# Manual install
mkdir -p ~/.openclaw/skills
cp -R /path/to/OpenMAIC/skills/openmaic ~/.openclaw/skills/openmaic
Configure OpenClaw
Edit ~/.openclaw/openclaw.json:
{
"skills": {
"entries": {
"openmaic": {
"config": {
// Hosted mode — get access code from https://open.maic.chat/
"accessCode": "$OPENMAIC_ACCESS_CODE",
// Self-hosted mode — local repo + server URL
"repoDir": "/path/to/OpenMAIC",
"url": "http://localhost:3000"
}
}
}
}
}
OpenClaw Skill Lifecycle
| Phase | What Happens |
|---|---|
| Clone | Detect existing checkout or clone fresh |
| Startup | Choose pnpm dev, pnpm build && pnpm start, or Docker |
| Provider Keys | Guide user to edit .env.local |
| Generation | Submit async job, poll, return classroom link |
Custom Scene Development Pattern
Scenes are typed React components. To add a new scene type:
// types/scene.ts
export type SceneType = 'slides' | 'quiz' | how to use openmaic-classroomHow to use openmaic-classroom on Cursor
AI-first code editor with Composer
1Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add openmaic-classroom
2Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
$npx skills add https://github.com/aradotso/trending-skills --skill openmaic-classroomThe skills CLI fetches openmaic-classroom from GitHub repository aradotso/trending-skills and configures it for Cursor.
3Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
◆ Which agents do you want to install to?││ ── Universal (.agents/skills) ── always included ────│ • Amp│ • Antigravity│ • Cline│ • Codex│ ●Cursor(selected)│ • Cursor│ • Windsurf4Verify installation
Confirm successful installation by checking the skill directory location:
.cursor/skills/openmaic-classroomReload or restart Cursor to activate openmaic-classroom. Access the skill through slash commands (e.g., /openmaic-classroom) or your agent's skill management interface.
⚠Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
Additional Resources
List & Monetize Your Skill
Submit your Claude Code skill and start earning
GET_STARTED →Use Cases▌
Task Automation & Efficiency
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
✓Save 3-5 hours per week on routine tasks
Knowledge Enhancement
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
✓Accelerate learning and skill development by 2x
Quality Improvement
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
✓Improve work quality by 30-40% with less effort
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client with skill support
- ›Clear understanding of task or problem to solve
- ›Willingness to iterate and refine outputs
Time Estimate
15-45 minutes depending on use case complexity
Installation Steps
- 1.Install skill using provided installation command
- 2.Test with simple use case relevant to your work
- 3.Evaluate output quality and relevance
- 4.Iterate on prompts to improve results
- 5.Integrate into regular workflow if valuable
Common Pitfalls
- ⚠Expecting perfect results without iteration
- ⚠Not providing enough context in prompts
- ⚠Using skill for tasks outside its intended scope
- ⚠Accepting outputs without review and validation
Best Practices▌
✓ Do
- +Start with clear, specific prompts
- +Provide relevant context and constraints
- +Review and refine all outputs before using
- +Iterate to improve output quality
- +Document successful prompt patterns
✗ Don't
- −Don't use without understanding skill limitations
- −Don't skip validation of outputs
- −Don't share sensitive information in prompts
- −Don't expect skill to replace human judgment
💡 Pro Tips
- ★Be specific about desired format and style
- ★Ask for multiple options to choose from
- ★Request explanations to understand reasoning
- ★Combine AI efficiency with human expertise
When to Use This▌
✓ Use When
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid When
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
Learning Path▌
- 1Familiarize yourself with skill capabilities and limitations
- 2Start with low-risk, non-critical tasks
- 3Progress to more complex and valuable use cases
- 4Build expertise through regular use and experimentation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
general reviewsRatings
4.7★★★★★37 reviews- ★★★★★Hana Robinson· Dec 24, 2024
We added openmaic-classroom from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Shikha Mishra· Dec 12, 2024
openmaic-classroom has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Ava Khan· Nov 15, 2024
openmaic-classroom fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Rahul Santra· Nov 3, 2024
openmaic-classroom reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Pratham Ware· Oct 22, 2024
We added openmaic-classroom from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Daniel Bansal· Oct 6, 2024
openmaic-classroom has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Yuki Malhotra· Sep 17, 2024
openmaic-classroom has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Hassan Haddad· Sep 13, 2024
Solid pick for teams standardizing on skills: openmaic-classroom is focused, and the summary matches what you get after install.
- ★★★★★Oshnikdeep· Sep 1, 2024
Keeps context tight: openmaic-classroom is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Camila Chen· Sep 1, 2024
We added openmaic-classroom from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
showing 1-10 of 37
1 / 4