
finding-simulink-examples
Find, show, open, or identify shipped MathWorks example models that demonstrate a concept, block, or application domain, and return the command to open them.
- Installs
- 0
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/matlab/simulink-agentic-toolkit --skill finding-simulink-examples- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads finding-simulink-examples automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Finding Simulink Examples
Use this skill to find examples and models in the MathWorks Examples database.
Use the invokeModelFinder helper script to search the database of shipped MathWorks example models, then report matching examples.
invokeModelFinder searches a database of every example MathWorks ships across all products. It is a database search, not a scan of the local disk: a hit means the example exists in the MathWorks database and comes with the command to open it, regardless of what is currently open or saved locally. Opening a match requires the owning product to be installed; the returned open_command (e.g. openExample(...)) handles that.
invokeModelFinder is a helper script that ships with this skill in its scripts/ folder. It exists because the customer-facing modelfinder function is interactive — it opens a Selection: menu in the terminal and blocks, so it cannot be driven programmatically. invokeModelFinder is a thin, non-interactive wrapper that returns results directly. Call it with evaluate_matlab_code, setting project_path to the skill's scripts/ folder so MATLAB can resolve the function (never use addpath):
invokeModelFinder('<query>', '<filters_json>', '<max_results>', '<view>')
query— free-text search. Examples:'motor control','PID','battery';'*'lists everything.filters_json— JSON object of optional filters. Fields:match,product,location,block,reference. Use'{}'for no filters. Example:'{"product": "Simscape Electrical", "block": "PID Controller"}'.max_results— max results to return, as a string. Default'20', clamped to100.view— result layout.'Categorized'(default) groups examples with their supporting models and surfaces the example-levelopenExample(...)command — best when the user wants an example to open.'Models'lists the underlying model files individually — use it when the user wants a specific model file rather than the example that contains it. Omit it to get'Categorized'.
It returns a YAML string with each match's name, open_command, and description. Use the open_command to open a result for inspection.
Treat the search behavior as a black box: don't assume how it ranks or combines terms.
Refining your search. If a query returns too many or off-target matches, narrow it rather than scanning a long list — re-run with a more specific query, or add filters_json fields to scope the results (product to a single product, block to a specific block, reference to models that reference a given model). Conversely, if a query returns nothing, loosen it: drop filters or use fewer, more general terms.
Older releases: the
filtersandviewoptions were added in R2025a. Before R2025a the helper ignores both and runs a plain keyword search — still pass all four arguments; the helper degrades gracefully on its own.
When to Use
- The user asks you to find, show, or open a shipped example model
- The user wants you to point them at an example that demonstrates a concept or domain
- You need to identify which shipped example matches a description before doing anything with it
This skill searches shipped MathWorks examples, not the user's own project models. It does not find, list, or open models in the user's working directory or open project.
Using the Result
- Present the matches as a table with three columns:
- Name — the example/model name.
- Open command — the returned
open_command, verbatim, so the user can run it as-is. - Description — a short, concise summary (roughly one sentence) of what the example does; trim the returned
descriptiondown rather than pasting it in full.
- Offer to open a match with its
open_commandif the user wants to view it. - Treat every match as read-only. Inspect it, but never edit, delete, or
save_systemonto a shipped example. If the user wants to change one, save it under a new filename first and work on the copy.
Copyright 2026 The MathWorks, Inc.
FAQ
What does the finding-simulink-examples skill do?
Find, show, open, or identify shipped MathWorks example models that demonstrate a concept, block, or application domain, and return the command to open them.
How do I install finding-simulink-examples?
Run npx skills add https://github.com/matlab/simulink-agentic-toolkit --skill finding-simulink-examples in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/finding-simulink-examples/ (personal) or .claude/skills/finding-simulink-examples/ (project).
Which AI agents can use finding-simulink-examples?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is finding-simulink-examples safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains finding-simulink-examples?
It is published by matlab in matlab/simulink-agentic-toolkit. It has 0 recorded installs.
More from matlab/simulink-agentic-toolkit
building-simulink-models
matlab/simulink-agentic-toolkit
Builds and edits Simulink, System Composer, Stateflow, and Simscape models. Use when modifying model structure, parameters, ports, connections, or Stateflow chart internals.
simulating-simulink-models
matlab/simulink-agentic-toolkit
Configures Simulink simulations non-destructively using SimulationInput objects — parameter overrides without modifying the model, batch sweeps via parsim, custom input signals via Dataset, and simulation data retrieval via logsout. Use when running sim()/parsim() with setVariable, setBlockParameter, setExternalInput, or when performing parameter sweeps and multi-run analysis. Not needed for one-shot simulations without configuration.
testing-simulink-models
matlab/simulink-agentic-toolkit
Tests Simulink models using either ephemeral Gherkin-based tests (modeltest) for quick validation or persistent tests (Simulink Test API) authored from requirements or behavioral specs. Requires Simulink Test.
specifying-plant-models
matlab/simulink-agentic-toolkit
Specify plant models for closed-loop simulation: system specs, architecture, build plans, validation plans. Use when creating, updating, or reviewing plant model specifications, planning plant model architecture, or planning plant model validation.
specifying-mbd-algorithms
matlab/simulink-agentic-toolkit
Specify algorithms for Model-Based Design: system specs, architecture specs, implementation plans, test plans. Use when creating specifications for controllers, signal processing, diagnostics, estimators, or other algorithms authored in Simulink, Stateflow, System Composer, or MATLAB Function blocks.
generate-requirement-drafts
matlab/simulink-agentic-toolkit
Generates draft requirements from Simulink models. Use when drafting or updating requirement artifacts from a model. Prefers Requirements Toolbox (.slreqx) when available; falls back to structured YAML.
Popular ai & agents skills
google-agents-cli-publish
google/agents-cli
This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).
google-agents-cli-eval
google/agents-cli
This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).
skill-creator
anthropics/skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
codex-pet
prime-skills/runcomfy-agent-skills
Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.
full-output-enforcement
leonxlnx/taste-skill
Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
executing-plans
obra/superpowers
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available