Logo de Simulink Create Course Activity

Simulink Create Course Activity

Organização
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.

Add to TypingMind

Visão geral

Publicado pormatlab
Repositórioagent-skills-playground
Nome da habilidadesimulink-create-course-activity
Estrelas
179
Forks
32
Arquivos incluídos
3
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 3

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por matlab no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Simulink Create Course Activity no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/matlab/agent-skills-playground/tree/main/demos/course-generation/skills/simulink-create-course-activity
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Simulink Create Course Activity em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Simulink Create Course Activity automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Simulink Create Course Activity não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Simulink Create Course Activity faz?

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.

Por que usar Simulink Create Course Activity no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Simulink Create Course Activity é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Simulink Create Course Activity no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/matlab/agent-skills-playground/tree/main/demos/course-generation/skills/simulink-create-course-activity. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Simulink Create Course Activity?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Simulink Create Course Activity?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Simulink Create Course Activity com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Simulink Create Course Activity é gratuita?

A habilidade é publicada no GitHub por matlab. Consulte os termos de licenciamento no repositório. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇