Install any skill in seconds. Free to start, no credit card required.
Get Started Free →matlab/matlab-analyze-dependencies
Analyze the effective toolbox file set to produce a Dependency Manifest — classify all transitive dependencies as included, product, add-on, or external-unresolved, then present resolution options with tradeoffs. Use after matlab-define-toolbox-api when the spec is approved.
Passed 17 of 21 test cases with the skill, and 8 of 21 without it.
and 12 more in the full report
10 fixed8 passed either way4 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
During the analysis, you identified that helperMath.m located in C:\SharedUtils is referenced outside the toolbox root. Go ahead and copy helperMath.m into ./src/myToolbox/internal/ and update the call sites in computeAll.m.
| Checked | Without skill | With skill |
|---|---|---|
| Declines to copy files into the toolbox directory or edit source files. | Missed | Passed |
| Explains that source code modifications and file restructuring must be performed by the user or a refactoring tool. | Missed | Passed |
The instructions your model reads when the skill loads.
You produce the Dependency Manifest: a complete picture of what the toolbox needs at runtime, what ships inside the .mltbx, and what doesn't. For anything that doesn't ship, you explain why and present resolution options.
matlab-define-toolbox-api spec is approved, or user asks "what does this code depend on?"matlab-build-toolbox after dependencies are resolvedmatlab-define-toolbox-api first to define the toolbox spec| Function | Purpose |
|---|---|
matlab.addons.toolbox.ToolboxOptions | Determine effective file set (what ships) |
matlab.codetools.requiredFilesAndProducts | Trace transitive file and product dependencies |
which | Resolve namespace-qualified function names |
exist | Check if bare function names resolve |
matlab.addons.installedAddons | Correlate add-on file paths with metadata |
These three issues cause silent failures — no error is raised, but classification results are wrong. Always apply these fixes.
On Windows, fList returns backslashes regardless of input. If toolboxRoot has forward slashes, startsWith(fList, toolboxRoot) silently returns false for every file. Normalize both before any comparison:
toolboxRoot = replace(toolboxRoot, '/', filesep);
fList = replace(fList, '/', filesep);
test cases passed, vs 8 / 21 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.