Install
$ agentstack add skill-wzyn20051216-matlab-agent-skills-matlab-orchestrator ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
MATLAB Orchestrator
Use this skill as the entry point for MATLAB R2026a work. The goal is to turn a loose engineering request into a closed-loop workflow: select the right specialist skill, run MATLAB when possible, save artifacts, and verify the result before reporting back.
Execution Requirement On This Machine
On this machine, MATLAB and Simulink work should default to the official MATLAB MCP auto workflow, not a fresh matlab -batch session. Treat the visible MATLAB desktop as the primary and expected execution path for engineering tasks, especially Simulink modeling, iterative control tuning, and repeated read-modify-simulate loops.
Use this priority order:
- Official MATLAB MCP in
automode, reusing an existing shared MATLAB session when present. - Official MATLAB MCP in
existing/newmode only if the user explicitly requests those modes. matlab -batchonly if the user explicitly asks for batch, CI, or headless execution.
First pass
- Identify the task family.
- Check whether an official MATLAB MCP auto configuration is available first.
- If the task requires MATLAB work on this machine, stay on MCP unless the user explicitly requests a headless/batch path.
- Inspect installed toolboxes with
verbefore choosing toolbox-specific APIs. - Prefer official MathWorks documentation and installed examples over memory.
- Treat forum posts and blogs as hints only; verify every API and parameter locally.
Local Simulink Visualization Preference
The user prefers to see Simulink work happen live, not only receive final files. For Simulink modeling, simulation, control tuning, or code generation tasks:
- Start by opening a visible MATLAB/Simulink session and the relevant
.slxmodel withload_system/open_system. - If creating a new model, create and save the model early, then open it before continuing with automated block edits.
- Use
open_system(modelName),set_param(modelName,"ZoomFactor","FitSystem"), scopes, figures, and live plots so the user can watch the process. - Prefer a visible demonstration step before or alongside batch validation. Batch logs and exported artifacts are still required for acceptance, but they should not replace the visible model/plot experience.
- When an already-open MATLAB window is present, try to execute
open_systemin that visible session or bring the Simulink model window to the front. Confirm the expected model window title in the final report.
MCP-Specific Guidance
When an official MATLAB MCP auto path is available:
- Treat the visible MATLAB desktop session as the primary control plane.
- Prefer MCP-driven model edits, simulation commands, workspace inspection, and iterative tuning in that same session.
- Do not silently switch to batch mode just because batch would be easier.
- In the final report, explicitly say that the task ran through MCP, and note any remaining blocker if a required MCP action could not be completed.
Routing
Use these specialist skills:
matlab-runner: execution wrapper, logs, local validation, reproducible artifacts.matlab-data-analysis: tables, timetables, statistics, fitting, visualization, reports.matlab-simulink-modeling:.slxmodels, simulation, signal logging, parameter sweeps.matlab-codegen-deploy: MATLAB Coder, Embedded Coder, GPU Coder, HDL Coder, deployment.matlab-control-optimization: control design, system identification, MPC, optimization.matlab-robotics-autonomy: ROS, robotics, navigation, UAV, sensor fusion, trajectories.matlab-signal-vision-ai: signal processing, image processing, computer vision, deep learning.matlab-testing-ci: unit tests, Simulink Test, GitHub Actions, reproducible CI.
If multiple domains apply, start with matlab-runner, then load the narrowest domain skill for the core work, and finish with matlab-testing-ci when the task is meant to be reusable.
Closed-loop Definition
A MATLAB task is complete only when it has:
- A runnable command or script.
- Logs captured from MATLAB.
- Artifacts saved in a predictable folder.
- A numerical, visual, or structural acceptance check.
- A short explanation of what was verified and what remains unverified.
Default Artifact Layout
Use this layout for generated work unless the project already has a convention:
artifacts/
logs/
figures/
data/
models/
reports/
validation/
For paper reproduction, add:
repro/
source/
scripts/
figures/
results/
manifest.json
Source Discipline
Use sources in this order:
- Local MATLAB
help,doc,ver,which,exist,license. - MathWorks official documentation and release notes.
- MathWorks GitHub repositories and MATLAB Actions.
- Peer-reviewed paper, official dataset, or author repository.
- GitHub issues, MathWorks Answers, Zhihu, blogs, and forums as untrusted heuristics.
Never cite a forum workaround as fact until a local MATLAB command confirms it.
Reporting
Keep the final answer concise and practical:
- Which specialist path was used.
- Which command ran.
- Where artifacts were saved.
- What passed, failed, or was skipped.
- Any license, toolbox, hardware, or dataset limitations.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: wzyn20051216
- Source: wzyn20051216/matlab-agent-skills
- License: MIT
- Homepage: https://github.com/wzyn20051216/matlab-agent-skills
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.