Agent skill · Backend & API

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.

matlabgithub.com/matlabGitHub ↗
claude-codecodexcopilotNOASSERTION
Install
npx skills add matlab/matlab-agentic-toolkit --skill matlab-analyze-dependencies --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 7
SKILL.md size: 9 KB
Bundled scripts: none
Version: 1.0
Declared author: MathWorks
Path: skills-catalog/matlab-software-development/matlab-analyze-dependencies/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 868
Language: MATLAB

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# matlab-analyze-dependencies — Dependency Analyzer 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. ## When to Use - After `matlab-define-toolbox-api` spec is approved, or user asks "what does this code depend on?" - Re-running after code changes to update the manifest ## When NOT to Use - Writing code or fixing bugs — this skill only analyzes, it does not modify source - Building the .mltbx — use `matlab-build-toolbox` after dependencies are resolved - Initial project setup — use `matlab-define-toolbox-api` first to define the toolbox spec ## Key Functions | 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 | ## Critical Pitfalls These three issues

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Key Functions
  4. Critical Pitfalls
  5. Pitfall 1: Path Separator Mismatch (Windows)
  6. Pitfall 2: matlabroot File Leak
  7. Pitfall 3: Namespace Resolution Requires which()
  8. Core Concepts
  9. Workflow
  10. Phase 1 — Determine the Effective File Set
  11. Phase 2 — Trace Dependencies
  12. Phase 2b — Detect Unresolved Symbols
  13. Phase 3 — Transitive Closure of External Files
  14. Phase 4 — Present Results
Ships with 6 files
  • manifest.yaml
  • references/resolution-options.md
  • references/runtime-file-references.md
  • references/tree-view-format.md
  • references/unresolved-symbol-classification.md
  • scripts/tbxManifest-template.m
More from matlab-agentic-toolkit
All skills →
About this skill
What does the matlab-analyze-dependencies skill do?

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.

How do I install it?

Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-analyze-dependencies --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From matlab/matlab-agentic-toolkit, a repository with 868 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going