export-fmu

Export a Simulink model to an FMU (Functional Mock-up Unit). Use this when the user requests exporting a Simulink model to an FMU, configuring the FMI version, or needs help generating and validating FMU files.

Last repository push
GitHub Stars
160
Forks
12
Issues / PRs
2

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "export-fmu" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c82d6f75cb7cb28b8b35a8e2c3fb7b995b996671da74f1ca43c17d0e4f6866ae. Verify the upstream source and version against https://github.com/simulink/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Export a Simulink model to an FMU (Functional Mock-up Unit). Use this when the user requests exporting a Simulink model to an FMU, configuring the FMI version, or needs help generating and validating FMU files.

0 Downloads

Introduction source: third_party · simulink · 0.0.1 Reference

SkillPi interpretation

Tasks
Export a Simulink model to FMU (Functional Mock-Up Unit). Use this skill when the user asks to export a Simulink model to FMU, configure FMI versions, or needs help generating and validating an FMU file.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: export-fmu
description: Export a Simulink model to FMU (Functional Mock-Up Unit). Use this skill when the user asks to export a Simulink model to FMU, configure FMI versions, or needs help generating and validating an FMU file.

Export Simulink Model to FMU

You are helping the user export a Simulink model to FMU format. Operate autonomously: extract as much configuration as possible from the user's initial request and execute the workflow without unnecessary interruptions. Only stop and ask questions if information necessary to complete the process (e.g., model name, mandatory export settings) is missing or ambiguous.

Examples of Triggers

  • "Export my ac_motor model to FMU."
  • "Convert the Simulink model in this folder to an FMU file."
  • "Generate an FMU from the vehicle dynamics model."

Progress Updates: Because you are operating autonomously, you must provide visibility to the user. Before starting each new phase, output a brief text announcement (e.g., "▶️ Starting Phase 1: Model Inspection...") so the user can follow along.

Follow this multi-phase workflow. Load the detailed instructions for each phase ONLY when you are ready to execute it.

  1. Phase 1: Model Inspection Read [references/phase1_inspection.md](references/phase1_inspection.md) for instructions on locating and inspecting the model.
  2. Phase 2: Configuration Read [references/phase2_configuration.md](references/phase2_configuration.md) for configuring FMI versions, tunable parameters, and other export options.
  3. Phase 3: FMU Generation Read [references/phase3_generation.md](references/phase3_generation.md) for executing the build command and handling parameters.
  4. Phase 4: Error Analysis (If the build fails) Read [references/phase4_error_analysis.md](references/phase4_error_analysis.md) to diagnose and fix common compilation errors.
  5. Phase 5: Post-Export Validation Read [references/phase5_validation.md](references/phase5_validation.md) to verify the FMU structure and simulate the output.

After validation is complete, provide a final results summary to the user detailing the FMU file path, size, FMI version/type, exposed parameters, and simulation results.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

  • 解决 Simulink 模型标准化导出的工程刚需
  • 面向工业仿真领域的专业工具
Trigger Precision95/100

Highlights

  • 触发条件清晰,覆盖多种用户表达方式
  • 提供具体示例增强可理解性
Structure and Standards85/100

Areas to improve

  • 缺少独立 When to Use 章节 Reported severity: Minor

    未设置显式的 When to Use 章节说明适用场景

    Recommendation: 建议添加独立章节明确使用时机和前提条件

  • 缺少完整端到端示例 Reported severity: Minor

    仅有流程描述,缺乏实际成功输出的完整示例

    Recommendation: 补充一个从输入到最终 FMU 文件的完整示例

Highlights

  • 多阶段流程设计合理,逻辑清晰
  • frontmatter 完整,文档结构良好
Execution Reliability30/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    SKILL.md 引用了 references/phase1_inspection.md 等 5 个关键执行文件,但未包含在 Skill 包中

    Recommendation: 必须将所有引用的 .md 文件打包上传,否则用户无法执行任何阶段

  • 关键依赖不可用 Reported severity: Major

    所有 Phase 均依赖外部文件加载指令,缺失将导致整个工作流中断

    Recommendation: 确保 references 目录下所有文件完整且路径正确

Evidence Verifiability (mean of the first four)76/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.