simulink-curating-library-kg

Curates the Simulink library knowledge index with custom block descriptions, categories, and common-block markers.

1.0k|98|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/matlab/simulink-agentic-toolkit --skill simulink-curating-library-kg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simulink-curating-library-kg
Source: https://github.com/matlab/simulink-agentic-toolkit/tree/main/skills-catalog/model-based-design-core/simulink-curating-library-kg
Command: npx skills add https://github.com/matlab/simulink-agentic-toolkit --skill simulink-curating-library-kg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When AI agents build Simulink models from custom libraries, they often pick poor blocks because auto-generated library metadata lacks useful descriptions or has miscategorized blocks. This Skill lets you curate the SATK library knowledge index so the model-building agent selects better blocks from your custom libraries.

Core Features & Use Cases

  • Custom Block Descriptions: Write intent-focused descriptions for low- and medium-quality blocks across all declared libraries, stored in .satk/library-curation.json.
  • Category Management: Define categories with keywords and correct auto-assigned block categories via per-block assignments.
  • Common Block Marking: Flag frequently used blocks so they always appear in the knowledge graph's common.md.
  • Use Case: After declaring a motor control library, run this Skill to describe all 275 low/medium-quality blocks, mark the Speed Controller as common, and regenerate the knowledge graph so the agent prefers your curated blocks when building models.

Quick Start

Ask the agent to curate the library knowledge index by marking common blocks and improving block descriptions for the declared Simulink libraries.

Frequently Asked Questions about simulink-curating-library-kg

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make the Simulink agent prefer certain blocks from my custom library?

Mark blocks as commonly used by adding them to the commonBlocks field in the curation data, then save via library.LibraryCuration.save and regenerate the knowledge graph. Common blocks always appear in common.md regardless of quality score.

How do I improve block descriptions for Simulink library blocks?

Write intent-focused custom descriptions explaining when to use each block and what modeling problem it solves, stored in the customDescriptions containers.Map. Descriptions are mandatory for all low and medium metadataQuality blocks across all declared libraries.

Can I correct auto-assigned block categories in the library knowledge graph?

Yes, use the categoryAssignments containers.Map to map individual block names to category names. You can also define the categories themselves with names, descriptions, and three to five keywords for matching.

What MATLAB version and products are required for library curation?

The Skill requires MATLAB R2023a or later with Simulink, plus the evaluate_matlab_code tool from the MATLAB MCP Server. Libraries must first be declared in satk-libraries.json or .satk/reuse-libraries.json.

When should I not use the library curation skill?

Do not use it for blocking or deprecating blocks (use configuring-block-policy), for actively building models (use building-simulink-models), or for declaring which libraries exist, which happens in the Library Setup gate of building-simulink-models.