OpenMAIC is a multi-agent classroom platform that uses agents to plan, build, and revise interactive courses from prompts and uploaded materials. It is designed for immersive learning experiences and supports course components such as slides, quizzes, interactives, projects, images, video, voices, and PowerPoint imports, with catalogue skills covering its workflows.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add THU-MAIC/OpenMAIC --skill importergit clone --depth 1 https://github.com/THU-MAIC/OpenMAICWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/thu-maic/openmaic/importer)<a href="https://agentmods.dev/skills/thu-maic/openmaic/importer"><img src="https://agentmods.dev/badge/skills/thu-maic/openmaic/importer.svg" alt="Measured on agentmods" height="20"></a>- Snyk pass
- NVIDIA SkillSpector warn
SkillSpector: 4 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 51 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- medium MCP Rug Pull · line 57 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 79 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 89 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01726 |
| Opus 5 | $0.00000 | $0.00863 |
| Sonnet 5 | $0.00000 | $0.00345 |
| Haiku 4.5 | $0.00000 | $0.00173 |
Grade A, and why
importer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SKILL
maic-importer 开发规范。请先读 DESIGN.md 了解架构。
还原质量迭代(必读)
项目根目录 iterate-prompt.md 规定如何从 comparison_run 拉低分、聚类、写报告。每批迭代交付:
-
iteration-<version>-report.md(仓库根目录) -
针对本包的解析侧修复(渲染问题在
packages/@openmaic/renderer)
test-0601-002(deck:第一节 养老服务管理概述)要点:
| 现象 | 侧 | 查哪里 |
|---|---|---|
| Logo 上多 5 个空心圆 | 解析 | layoutElements 里 master 组「组合 7」;子椭圆 grpFill 勿把父组 fill 摊到每个 child → shapeSerializer.ts |
| 照片应是圆却变方 | 解析 | p:pic + custGeom → imageSerializer.resolvePresetGeom |
| 画布四周边框 | 渲染 | SlideCanvas chrome(截图须 false) |
| 文字整体偏上 | 解析+渲染 | bodyPr@anchor → vAlign → transformParsedToSlides + BaseTextElement |
| 正文偏粗、换行少 | 解析+渲染 | replaceFontFamilyInHtml / 文本框 width |
调试时 一定要看 layoutElements,Logo/页脚/master 装饰常在这里,不在 elements。
# 仓库根:拉低分
node --env-file=.env.development scripts/inspect-low-scores.mjs test-0601-002
# 本包:JSON(含 layoutElements)
npx tsx scripts/transvert.ts /path/to.pptx ./out.json
node -e "const s=require('./out.json').slides[1]; console.log(s.layoutElements?.length, s.elements?.length)"
修 bug 的标准流程
# 1. 解压 pptx 看源 XML
node scripts/extract-pptx-structure.js ./xxx.pptx ./out
# 2. 生成修改前的 JSON
npx tsx scripts/transvert.ts ./xxx.pptx ./before.json
# 3. 改代码
# 4. 生成修改后的 JSON,diff 对比
npx tsx scripts/transvert.ts ./xxx.pptx ./after.json
定位思路:JSON 数值错 → serializer;节点类型错 → model/Slide.ts;颜色错 → StyleResolver + color.ts;模板继承错 → RenderContext.ts;master/layout 装饰 → slideSerializer 的 layoutElements + shapeSerializer 的 grpFill / ln+noFill vs lnRef。
OOXML 陷阱(本 deck 已踩)
-
<a:grpFill/>:子形状由组级合成,JSON 里每个 child 的fill应为transparent,不能把grpSpPr的 solidFill 抄到每个椭圆上,也不能用fillRef补色(test-0601-002 的 5 个 Logo 圆点即此类)。 -
<a:ln><a:noFill/></a:ln>:显式无描边优先于lnRef(见shapeSerializer中noFillSuppressed)。
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .babelrc.cjs 171 B runs code
- .eslintignore 27 B
- .eslintrc.cjs 1.9 KB runs code
- .gitignore 276 B
- DESIGN.md 6.6 KB
- favicon.ico 4.2 KB
- index.html 15 KB
- LICENSE 1.0 KB
- package.json 2.3 KB
- README.md 17 KB
- rollup.config.js 1.0 KB runs code
- scripts/extract-pptx-structure.js 3.2 KB runs code
- scripts/transvert.js 1.3 KB runs code
- scripts/transvert.ts 1.5 KB runs code
- src/adapter/toPptxtojson.ts 2.7 KB runs code
- src/adapter/types.ts 6.2 KB runs code
- src/export/serializePresentation.ts 5.5 KB runs code
- src/import-pipeline/index.ts 6.5 KB runs code
- src/import-pipeline/mockContext.ts 920 B runs code
- src/import-pipeline/transformParsedToSlides.ts 52 KB runs code
- src/import-pipeline/types.ts 865 B runs code
- src/index.ts 1.8 KB runs code
- src/model/Layout.ts 6.6 KB runs code
- src/model/Master.ts 3.2 KB runs code
- src/model/nodes/BaseNode.ts 6.2 KB runs code
- src/model/nodes/ChartNode.ts 1.6 KB runs code
- src/model/nodes/GroupNode.ts 2.2 KB runs code
- src/model/nodes/MathNode.ts 7.5 KB runs code
- src/model/nodes/PicNode.ts 2.9 KB runs code
- src/model/nodes/ShapeNode.ts 11 KB runs code
- src/model/nodes/TableNode.ts 3.6 KB runs code
- src/model/Presentation.ts 16 KB runs code
- src/model/Slide.ts 16 KB runs code
- src/model/Theme.ts 3.3 KB runs code
- src/openmaic/configs/shapes.ts 74 KB runs code
- src/openmaic/utils/svgPathParser.ts 3.7 KB runs code
- src/openmaic/utils/videoCodec.ts 1.0 KB runs code
- src/parser/RelParser.ts 2.2 KB runs code
- src/parser/units.ts 1.6 KB runs code
- src/parser/XmlParser.ts 3.9 KB runs code
- src/parser/ZipParser.ts 9.0 KB runs code
- src/serializer/backgroundSerializer.ts 6.1 KB runs code
- src/serializer/borderMapper.ts 2.7 KB runs code
- src/serializer/chartSerializer.ts 11 KB runs code
- src/serializer/groupSerializer.ts 11 KB runs code
- src/serializer/imageSerializer.ts 20 KB runs code
- src/serializer/index.ts 951 B runs code
- src/serializer/mathSerializer.ts 17 KB runs code
- src/serializer/RenderContext.ts 2.9 KB runs code
- src/serializer/shapeSerializer.ts 44 KB runs code
- src/serializer/slideSerializer.ts 9.0 KB runs code
- src/serializer/StyleResolver.ts 27 KB runs code
- src/serializer/tableSerializer.ts 21 KB runs code
- src/serializer/textSerializer.md 5.6 KB
- src/serializer/textSerializer.ts 75 KB runs code
- src/shapes/customGeometry.ts 6.5 KB runs code
- src/shapes/presets.ts 209 KB runs code
- src/shapes/shapeArc.ts 1.3 KB runs code
- src/types/vendor-shims.d.ts 1.1 KB runs code
- src/utils/color.ts 13 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 222 lines · 0 tokens per session scan A 5705afd786ad
importer is a skill published in the GitHub repository THU-MAIC/OpenMAIC (32,590 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,726 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
orbit-notion
Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…
instrument-data-to-allotrope
Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…
baoyu-youtube-transcript
A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
read
Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…
overleaf-sync
A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.