Simulink Create Course Activity logo

Simulink Create Course Activity

Organization
matlab
simulink-create-course-activity

Create MATLAB Course Designer Simulink Exercise learning activities with starter and solution Simulink model files. Use when the user asks to create a Simulink activity, Simulink Exercise, starter model, solution model, model-based learning activity, or Course Designer-ready Simulink artifact. Uses MATLAB MCP Server tool calls and Simulink Agentic Toolkit guidance to create, inspect, edit, simulate, and validate model files.

Overview

Publishermatlab
Repositoryagent-skills-playground
Skill namesimulink-create-course-activity
Stars
179
Forks
32
Bundled files
3
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by matlab on GitHub. Read the source before you install it.

Installation

Install the Simulink Create Course Activity AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/matlab/agent-skills-playground.git /tmp/agent-skills-playground
mkdir -p .claude/skills
cp -r /tmp/agent-skills-playground/demos/course-generation/skills/simulink-create-course-activity .claude/skills/simulink-create-course-activity
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Simulink Create Course Activity in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Simulink Create Course Activity on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Simulink Create Course Activity is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Simulink Course Activity Generator

Create MATLAB Course Designer-ready Simulink Exercise learning activities. The skill must produce actual starter and solution model files, not only instructions. Use MATLAB MCP Server tool calls, following Simulink Agentic Toolkit guidance, to create, edit, inspect, and validate the models. The resulting activity folder should be ready for Course Designer web application import workflows, with course-designer-activity.json as the import-oriented metadata sidecar.

Input

The user may have provided a module objective or activity idea in their request. If it is missing or too vague, collect the missing activity inputs in Step 1.

Reference Files

Read these references from the references/ directory as needed:

  • references/model-generation-workflow.md — starter/solution model workflow
  • references/course-designer-artifacts.md — output folder and metadata rules
  • references/validation-rules.md — validation and review gates

Read references/model-generation-workflow.md and references/course-designer-artifacts.md before creating model files.

Required Tooling

Use Simulink Agentic Toolkit guidance for model construction and inspection. When editing models, follow the building-simulink-models workflow:

  1. Use model_read or model_overview before edits when a model exists.
  2. Use model_edit for structural edits and parameter configuration. Treat a status: partial result as a failure until every reported parameter rejection is resolved and the intended values are confirmed with model_query_params; a partial edit can leave a block at a silently wrong default that model_read and model_check do not surface.
  3. Use model_read, model_overview, and model_query_params to verify.
  4. Use MATLAB MCP calls such as evaluate_matlab_code, run_matlab_file, check_matlab_code, and detect_matlab_toolboxes for model setup scripts, toolbox checks, simulation smoke tests, and file existence checks.
  5. Use model_test for behavioral tests when a Gherkin validation spec is created, the testing workflow is available, and the model exposes at least one Inport; otherwise use the matlab.unittest fallback in references/validation-rules.md.

The building-simulink-models workflow starts with custom-library gates. For course activities built from base MATLAB and Simulink blocks, answer the custom-library question with "none" and keep the resulting .satk/ configuration in the course output folder, not in this skill package.

Do not rely on prose-only model descriptions for final artifacts.

Pipeline Overview

Step 1: Collect activity inputs and Course Designer placement
Step 2: Confirm products, toolboxes, and output folder
Step 3: Create the solution model with MCP tool calls
Step 4: Create the starter model from the solution model
Step 5: Validate solution and starter models
Step 6: Write Course Designer-ready activity metadata and review notes

Step 1: Activity Inputs

Collect only missing information:

  • Course title or course identifier
  • Module title and module order
  • Learning activity title and activity order
  • Module objective and observable learner outcome
  • Simulink concept: modeling, simulation, controls, physical modeling, verification, code generation, or another domain
  • Learner task and expected model behavior
  • Required MATLAB, Simulink, and toolbox products
  • Starter model scope: what should be missing, incomplete, or configurable
  • Solution model scope: complete expected behavior
  • Validation requirements: simulation output, signal behavior, parameter values, model structure, or manual rubric
  • Output directory

Default to a Course Designer learning activity type of Simulink Exercise.

Step 2: Product and Output Checks

Use detect_matlab_toolboxes when available to confirm MATLAB, Simulink, and required toolbox access. If a needed toolbox is missing, stop before creating a misleading model and report the blocked requirement.

Create or use this output folder:

text
simulink-activities/module-NN-activity-MM-[slug]/

All generated file names must be stable, lowercase, and Course Designer import friendly.

Step 3: Create Solution Model

Use references/model-generation-workflow.md.

Create the complete solution model first. The solution model is the instructor reference and the source used to derive the starter model.

Required actions:

  1. Create or open the model using MATLAB MCP calls.
  2. Use model_edit for blocks, connections, parameters, model configuration, and subsystem structure.
  3. Use model_read or model_overview to verify topology.
  4. Save the model as:
text
[activity-slug]_solution.slx

Step 4: Create Starter Model

Create the starter model from the validated solution model. Remove, mask, disable, parameterize, or replace only the parts learners are expected to complete.

Required actions:

  1. Copy or save the solution model as:
text
[activity-slug]_starter.slx
  1. Use model_edit to create the intended learner gaps.
  2. Use model_read or model_overview to confirm the starter model still opens and contains the expected scaffold.
  3. Do not leave broken model references, missing files, or unresolved variables unless they are explicitly part of the learner task.

Step 5: Validate Models

Use references/validation-rules.md.

At minimum:

  • Confirm both .slx files exist.
  • Open or inspect both models through MCP calls.
  • Run a simulation smoke test on the solution model when simulation is part of the activity.
  • Confirm the starter model contains the intended learner gaps.
  • Confirm required variables are supplied through a model workspace, data dictionary, or init script included with the activity.
  • Write validation results to validation-report.md.

When behavioral validation is needed, create a Gherkin validation spec and run model_test when the testing workflow is available and the model has at least one Inport; for self-contained stimulus models, use the matlab.unittest fallback in references/validation-rules.md instead.

Step 6: Course Designer Activity Artifacts

Use references/course-designer-artifacts.md.

Write these files in the activity folder:

  • [activity-slug]_starter.slx
  • [activity-slug]_solution.slx
  • activity.md
  • instructor-notes.md
  • validation-report.md
  • course-designer-activity.json
  • Optional init scripts, data files, requirements files, or validation specs

The course-designer-activity.json file is the import-oriented sidecar for future Course Designer API work. It must include course, module, learning activity, model file, product, and validation metadata.

Output Rules

  • The final answer must list the starter model path, solution model path, metadata path, and validation report path.
  • Do not claim the models are ready unless the validation gates passed.
  • If validation is partial, state exactly which checks were deferred.
  • Keep starter and solution models separate; do not overwrite one with the other.
  • Preserve the Course Designer hierarchy: course -> module -> learning activity.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Simulink Create Course Activity AI skill do?

Create MATLAB Course Designer Simulink Exercise learning activities with starter and solution Simulink model files. Use when the user asks to create a Simulink activity, Simulink Exercise, starter model, solution model, model-based learning activity, or Course Designer-ready Simulink artifact. Uses MATLAB MCP Server tool calls and Simulink Agentic Toolkit guidance to create, inspect, edit, simulate, and validate model files.

Why use Simulink Create Course Activity on TypingMind?

Because you install it once and use it with any model. Simulink Create Course Activity is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Simulink Create Course Activity in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/matlab/agent-skills-playground/tree/main/demos/course-generation/skills/simulink-create-course-activity. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Simulink Create Course Activity?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Simulink Create Course Activity?

As many as you like. As long as a model supports skills, you can use Simulink Create Course Activity with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Simulink Create Course Activity AI skill free?

It is published on GitHub by matlab. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇