openmaic
Skill này làm gì
Skill này là hướng dẫn cài đặt và sử dụng OpenMAIC, một công cụ tạo lớp học tương tác nhiều agent. Nó dành cho người muốn chạy công cụ, tạo một lớp học hoặc tùy chỉnh mã của nó.
Khi nào nên dùng
- ✓Khi bạn muốn cài OpenMAIC trên máy hoặc dùng bản demo trực tuyến.
- ✓Khi bạn muốn tạo một lớp học tương tác nhiều agent.
- ✓Khi bạn muốn tùy chỉnh hoặc mở rộng mã hoặc nhà cung cấp mô hình của OpenMAIC.
Liên kết skill
https://github.com/THU-MAIC/OpenMAIC/blob/main/skills/openmaic/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hướng dẫn tôi cài OpenMAIC trên máy tính, từng bước một, rồi tạo một lớp học.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI đi qua việc cài đặt từng giai đoạn, xin bạn xác nhận trước mọi thay đổi, và hướng dẫn bạn tự sửa các file cấu hình.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
OpenMAIC Skill
Use this as a guided, confirmation-heavy SOP. Do not compress the whole setup into one reply and do not perform state-changing actions without explicit user confirmation.
Core Rules
- Move one phase at a time.
- Before any state-changing action, ask for confirmation.
- If local state already exists, show what you found and ask whether to keep it.
- Do not assume the OpenClaw agent's own model or API key will be reused by OpenMAIC.
- OpenMAIC classroom generation uses OpenMAIC's server-side model configuration (
openmaic.ymland the model settings in the web app). - This skill must not rely on any request-time model or provider overrides.
- Only that server-side configuration may control provider selection and defaults.
- Do not default to asking the user to paste API keys into chat.
- Prefer guiding the user to edit local config files themselves.
- Do not offer to write API keys into config files on the user's behalf.
- Once setup is complete and the user clearly asks to generate a classroom, do not ask for a second confirmation before submitting the generation job.
- Keep confirmations for local file reads such as reading a PDF from disk before uploading it.
Optional Skill Config
If present, read defaults from ~/.openclaw/openclaw.json under:
{
"skills": {
"entries": {
"openmaic": {
"enabled": true,
"config": {
"accessCode": "sk-xxx",
"repoDir": "/path/to/OpenMAIC",
"url": "http://localhost:3000"
}
}
}
}
}
- If
accessCodeis present, default to Live Demo mode and skip the mode-selection prompt — unless the user's intent is to extend/build on OpenMAIC (see the exception in Phase 0). - Use
repoDirandurlonly as defaults for local mode. - Still confirm before acting.
SOP Phases
0. Choose Mode
First check skill config for accessCode. If present, announce that a stored access code was found and proceed directly to Live Demo mode (load references/live-demo.md, skip phases 1–4). Do not ask the user to paste the code again. Exception: if the user's stated intent is to extend / build on / customize OpenMAIC or consume the @openmaic/* SDK (二次开发 / 二开 / SDK), do not auto-shortcut — go to the extend branch below regardless of accessCode. A returning Live Demo user who now wants to do 二开 should be routed to extend, not silently sent back to Live Demo.
If no accessCode in config (or the extend exception above applies), ask the user how they want to use OpenMAIC:
- Use the OpenMAIC Live Demo (recommended for quick start) — The cloud edition: the version officially deployed and hosted by the OpenMAIC team at open.maic.chat. Requires an access code (starts with
sk-). Get yours by signing in at https://open.maic.chat, clicking your account in the top-right corner, opening "访问码设置" (access code settings), and generating a code; then add it to~/.openclaw/openclaw.jsonunderskills.entries.openmaic.config.accessCode. No local setup needed. - Run locally — Clone the repo, configure provider keys, and run on your machine.
- Extend or build on OpenMAIC (二次开发) — Fork the repo and customize the product, or consume the
@openmaic/*SDK to build something new.
If the user chooses Live Demo mode, load references/live-demo.md and skip phases 1–4. If the user chooses local mode, proceed to phase 1 as usual. If the user chooses to extend/build on OpenMAIC, load references/extend.md and skip the setup/generation phases.
1. Clone Or Reuse Existing Repo
Load references/clone.md.
Use this when the user has not installed OpenMAIC yet or when you need to confirm which local checkout to use.
2. Choose Startup Mode
Load references/startup-modes.md.
Use this after the repo location is confirmed. Present the available startup modes, recommend one, and wait for the user's choice.
3. Configure Provider Keys
Load references/provider-keys.md.
Use this before starting classroom generation. Recommend a provider path and tell the user exactly what to edit themselves (openmaic.yml and .env.local, or the model settings in the web app). If generation later fails due to provider/model/auth issues, return to this phase and direct the user to update the same configuration.
After the core LLM key is configured,
Câu hỏi thường gặp
Nó có hỏi khóa API của tôi trong chat không?
Không. Skill nói không hỏi khóa trong chat và ưu tiên bạn tự sửa các file cấu hình cục bộ.
Nó có thay đổi gì mà không hỏi không?
Không. Skill yêu cầu xác nhận trước mọi hành động làm thay đổi trạng thái.
Nó có dùng khóa mô hình của agent AI của tôi không?
Không. Skill nói OpenMAIC dùng cấu hình mô hình phía máy chủ của riêng nó.
Chi tiết
Mô tả gốc của tác giả
OpenMAIC assistant for setting up, generating, and extending OpenMAIC. Use when the user wants to use OpenMAIC, generate a multi-agent interactive classroom, or build on / extend / customize OpenMAIC and its @openmaic/* SDK (secondary development, 二开) — covers Live Demo or local setup, startup modes, provider keys, classroom generation, and secondary development (forking, providers/storage/themes, routes, or the renderer/editor).
repo: THU-MAIC/OpenMAIC
Độ phổ biến
- Sao GitHub
- 42k
- Vị trí xếp hạng
- #6416
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
build-personal-skill
42kGiúp agent của bạn biến lịch sử soạn khóa học và trò chuyện thành một skill cá nhân tái sử dụng, dựa trên các mẫu trong chính lịch sử của bạn.
curriculum-planner
42kGiúp agent của bạn lên kế hoạch chuỗi bài học liên kết, như khóa bảy ngày hoặc sách chia theo chương, rồi xây từng bài sau khi bạn duyệt.
deep-interactive
42kGiúp agent của bạn thiết kế khóa học mà người học thao tác với mô phỏng, sơ đồ, mã và trò chơi ở hầu hết các trang, thay vì đọc slide.
deep-research
42kGiúp agent của bạn xây khóa học về chủ đề mới hoặc dựa trên dữ kiện, nghiên cứu nguồn trực tiếp trước và gắn mỗi khẳng định với nguồn đã kiểm tra.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.