Agent skill

Simulink Collect Metrics

by matlab in matlab/simulink-agentic-toolkit

Collect and assess quality metrics for Simulink models using the metric.Engine API.

Custom licenceAuto-check passedDocuments & Office

Install Simulink Collect Metrics

skills CLI
$ npx skills add matlab/simulink-agentic-toolkit --skill simulink-collect-metrics -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install matlab/simulink-agentic-toolkit simulink-collect-metrics --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/matlab/simulink-agentic-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills-catalog/verification-validation-and-test/simulink-collect-metrics .claude/skills/simulink-collect-metrics && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
simulink-collect-metrics
GitHub stars
1.2k
Token cost
~4.4k tokens
SKILL.md length
1,556 words
Files
6 (incl. scripts, references)
Skills in repo
43
Repo updated
First seen
Licence
Custom licence

At a glance

Collect and assess quality metrics for Simulink models using the metric.Engine API.

  • Works in 8 steps: Create Engine → Attach Progress Monitor (Optional) → Update Artifacts → …
  • Evaluating model design quality (maintainability
  • SKILL.md covers When to Use, When NOT to Use, Workflow and Key Functions, plus 4 more sections
  • Reaches mathworks.com

What it does

Simulink Collect Metrics is an agent skill from matlab/simulink-agentic-toolkit. Collect and assess quality metrics for Simulink models using the metric.Engine API. Use when evaluating model design quality (maintainability, complexity, architecture) or testing completeness (unit testing, SIL, PIL, coverage, pass rates) after edits or test runs. Covers metric discovery, collection, report generation, and diagnostics. Triggers on: "collect metrics", "quality metrics", "metric.Engine", "testing metrics", "maintainability metrics", "SIL metrics", "PIL metrics", "what metrics are available"…

Its SKILL.md is about 4.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `manifest.yaml`, `references/documentation-links.md` and `references/metric-groups.md`).

It sits in Documents & Office, covering Design review and critique and Unit testing. The repository describes itself as: The Simulink Agentic Toolkit gives your AI agent both the tools and the expertise to work effectively with Simulink and Model-Based Design.

When your agent uses it

  • Evaluating model design quality (maintainability
  • Testing completeness (unit testing
  • Pass rates) after edits
  • : collect metrics

Example prompts

  • “collect metrics”
  • “quality metrics”
  • “metric.Engine”
  • “/simulink-collect-metrics”

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Create Engine
  2. Attach Progress Monitor (Optional)
  3. Update Artifacts
  4. Discover Metric IDs
  5. Execute Collection
  6. Retrieve Results
  7. Inspect and Present Results
  8. Generate Report

What it can do on your machine

Read from SKILL.md and the folder at commit c58e6ae. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • mathworks.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Simulink Collect Metrics loads about 4.4k tokens when it runs, and up to ~6.1k if it reads all its reference files. Until then it costs about 157 tokens; SKILL.md has 1,556 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~157
When it runs · the whole SKILL.md, loaded when a task matches
~4.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,556 words (~4,400 tokens).

“Assess the quality and completeness of model edits and testing work using metric.Engine. This skill teaches the canonical workflow for discovering, collecting, and interpreting quality metrics across releases.”

— opening of SKILL.md by matlab, Custom licence
name
simulink-collect-metrics
license
https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md
metadata.author
MathWorks
metadata.version
1.0.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (scripts, references) in skills-catalog/verification-validation-and-test/simulink-collect-metrics of matlab/simulink-agentic-toolkit.

  • SKILL.md
  • manifest.yaml
  • references/documentation-links.md
  • references/metric-groups.md
  • references/release-notes.md
  • scripts/AgentProgressMonitor.p

Open the folder on GitHubat commit c58e6ae

Compare with similar skills

Simulink Collect Metrics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Simulink Collect Metrics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Simulink Collect Metrics this skillmatlab/simulink-agentic-toolkit1.2k—~4.4kAutomated safety check: PassCustom licence
Kicadaklofas/kicad-happy1.4k1 repos~20kAutomated safety check: PassMIT
HTML Summarytestdouble/han281—~2.9kAutomated safety check: PassMIT
Choruz CI Test ReliabilityinclusionAI/Choruz1k—~1.8kAutomated safety check: PassApache-2.0
Creative EyeLeoYeAI/openclaw-master-skills2.2k—~6kAutomated safety check: PassMIT
Rust SQL Testshencangsheng/easydb_app590—~1.2kAutomated safety check: PassMIT

Similar skills

  • Kicad

    aklofas/kicad-happy

    Analyze KiCad projects and PDF schematics: schematics, PCB layouts, Gerbers, footprints, symbols, netlists, and design rules.

    1.4k GitHub starsUsed in 1 repo~20k tokens
    Documents & OfficeAuto-check passed
  • HTML Summary

    testdouble/han

    Convert a stakeholder summary markdown file into a single self-contained HTML executive report — bottom line and decision asks up front, supporting detail later — styled with a Test Double-derived…

    281 GitHub stars~2.9k tokensUpdated 9 days ago
    Documents & OfficeAuto-check passed
  • Choruz CI Test Reliability

    inclusionAI/Choruz

    Design, review, and diagnose Choruz tests and fixtures that can fail nondeterministically under CI concurrency: parallel Playwright workers sharing one PostgreSQL and one API, vitest workers, cargo…

    1k GitHub stars~1.8k tokensUpdated 3 days ago
    Testing & QAAuto-check passed
  • Creative Eye

    LeoYeAI/openclaw-master-skills

    Give AI agents creative judgment and design taste. An agent skill from LeoYeAI/openclaw-master-skills.

    2.2k GitHub stars~6k tokensUpdated 2 mo ago
    Media & CreativeAuto-check passed
  • Rust SQL Test

    shencangsheng/easydb_app

    Enforces unit test requirements for the Rust data-processing modules in src-tauri/src/sql/ (generator.rs, parse.rs) and src-tauri/src/reader/ (excel.rs and other readers).

    590 GitHub stars~1.2k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Media Processor

    avibebuilder/claude-prime

    Specialized visual and multimedia processing tools. An agent skill from avibebuilder/claude-prime.

    120 GitHub stars~1.2k tokensUpdated 4 mo ago
    Documents & OfficeAuto-check: notes

More from matlab/simulink-agentic-toolkit

All 43 skills in this repo
  • Resolve Design Errors

    matlab/simulink-agentic-toolkit

    A skill your agent uses when asked to run Design Error Detection (quick defect scan), find design errors in a Simulink model, perform root cause analysis on DED findings, fix division-by-zero…

    1.2k GitHub stars~2.1k tokensUpdated 2 days ago
    Auto-check passed
  • Simscape Write Ssc

    matlab/simulink-agentic-toolkit

    A skill your agent uses when writing or editing Simscape Language (.ssc) source files — components, domains, or functions.

    1.2k GitHub stars~2.1k tokensUpdated 2 days ago
    Auto-check passed
  • Simulink Optimizing Embedded Code

    matlab/simulink-agentic-toolkit

    Optimizes Simulink models for Embedded Coder generated code.

    1.2k GitHub stars~4.5k tokensUpdated 2 days ago
    Auto-check passed
  • Checking Model Compliance

    matlab/simulink-agentic-toolkit

    A skill your agent uses when the user asks to check Simulink model compliance against a standard (MISRA, MAB, JMAAB, ISO, DO, IEC, EN, CERT C/CWE, AUTOSAR, Simulink Code Inspector (SLCI)), wants to…

    1.2k GitHub stars~3k tokensUpdated 2 days ago
    Auto-check passed
  • Fix Sldv Incompatibility

    matlab/simulink-agentic-toolkit

    A skill your agent uses when a Simulink model is incompatible with Simulink Design Verifier (sldvcompat returns false, or an SLDV analysis errors out on an unsupported construct) and needs to be…

    1.2k GitHub stars~3.8k tokensUpdated 2 days ago
    Auto-check passed
  • Simulink Explain Missing Coverage

    matlab/simulink-agentic-toolkit

    A skill your agent uses when the user asks to summarize, or asks why Simulink Coverage objectives are missing, unsatisfied, or uncovered on a coverage result they already have — why specific…

    1.2k GitHub stars~3.2k tokensUpdated 2 days ago
    Auto-check passed

Questions about Simulink Collect Metrics

What does Simulink Collect Metrics do?

Collect and assess quality metrics for Simulink models using the metric.Engine API. Simulink Collect Metrics is an agent skill from matlab/simulink-agentic-toolkit.Engine API.

When should I use Simulink Collect Metrics?

Simulink Collect Metrics fits situations like: evaluating model design quality (maintainability; testing completeness (unit testing; pass rates) after edits; : collect metrics.

How do I install Simulink Collect Metrics in Claude Code?

Run `npx skills add matlab/simulink-agentic-toolkit --skill simulink-collect-metrics -a claude-code`. Or copy the skill folder (skills-catalog/verification-validation-and-test/simulink-collect-metrics in matlab/simulink-agentic-toolkit) into .claude/skills/simulink-collect-metrics in your project. Claude Code loads it when a task matches its description.

How do I install Simulink Collect Metrics in Codex?

Run `npx skills add matlab/simulink-agentic-toolkit --skill simulink-collect-metrics -a codex`. Or copy the skill folder (skills-catalog/verification-validation-and-test/simulink-collect-metrics in matlab/simulink-agentic-toolkit) into .agents/skills/simulink-collect-metrics in your project. Codex loads it when a task matches its description.

Can I use Simulink Collect Metrics in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add matlab/simulink-agentic-toolkit --skill simulink-collect-metrics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/simulink-collect-metrics, .gemini/skills/simulink-collect-metrics, .github/skills/simulink-collect-metrics and .opencode/skills/simulink-collect-metrics in your project.

What does Simulink Collect Metrics need to run?

SKILL.md names no scripts, command-line tools or credentials: Simulink Collect Metrics is instructions for the agent only.

Does Simulink Collect Metrics access the network?

SKILL.md names 1 domain. In commands or code: mathworks.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Simulink Collect Metrics safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Simulink Collect Metrics use?

Simulink Collect Metrics has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Simulink Collect Metrics use?

About 4.4k tokens (SKILL.md is roughly 18k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.7k tokens, read only when the agent opens those files.

What are the alternatives to Simulink Collect Metrics?

Skills that share tags, products or a category with Simulink Collect Metrics: Kicad (aklofas/kicad-happy, 1.4k stars), HTML Summary (testdouble/han, 281 stars), Choruz CI Test Reliability (inclusionAI/Choruz, 1k stars) and Creative Eye (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Simulink Collect Metrics?

matlab (a GitHub organization) maintains it in matlab/simulink-agentic-toolkit, which has 1,212 GitHub stars. The repository holds 43 skills in this directory. The repository was last updated on October 7, 2026.

Source: matlab/simulink-agentic-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.