Agent skill

Matlab Debug Code

by matlab in matlab/matlab-agentic-toolkit

Diagnose MATLAB errors and unexpected behavior. An agent skill from matlab/matlab-agentic-toolkit.

Custom licenceAuto-check passedDevelopment

Install Matlab Debug Code

skills CLI
$ npx skills add matlab/matlab-agentic-toolkit --skill matlab-debug-code -a claude-code

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

GitHub CLI
$ gh skill install matlab/matlab-agentic-toolkit matlab-debug-code --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/matlab-agentic-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills-catalog/matlab-core/matlab-debug-code .claude/skills/matlab-debug-code && 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
matlab-debug-code
GitHub stars
1.1k
Token cost
~3.6k tokens
SKILL.md length
1,791 words
Files
2
Skills in repo
144
Repo updated
First seen
Licence
Custom licence

At a glance

Diagnose MATLAB errors and unexpected behavior. An agent skill from matlab/matlab-agentic-toolkit.

  • Works in 4 steps: Understand the Goal → Gather Information via MATLAB → Investigate Iteratively → …
  • Debugging functions
  • SKILL.md covers When to Use, When NOT to Use, Static Analysis vs Runtime… and Auto-Trigger on MATLAB Errors, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Matlab Debug Code is an agent skill from matlab/matlab-agentic-toolkit. Diagnose MATLAB errors and unexpected behavior. Breakpoints, workspace inspection, try-catch diagnostics, and common error patterns. Use when debugging functions, tracing errors, inspecting variables, or diagnosing runtime failures.

Its SKILL.md is about 3.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `manifest.yaml`).

It sits in Development, covering Debugging and Responsive design. The repository describes itself as: The MATLAB Agentic Toolkit brings proven MATLAB capabilities to AI agents, making engineering and scientific workflows agent-ready.

When your agent uses it

  • Debugging functions
  • Inspecting variables
  • Diagnosing runtime failures

Example prompts

  • “/matlab-debug-code”

Workflow steps

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

  1. Understand the Goal
  2. Gather Information via MATLAB
  3. Investigate Iteratively
  4. Question the Diagnosis

What it can do on your machine

Read from SKILL.md and the folder at commit 3303f05. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are matlab).

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

  • Network

    No URLs in SKILL.md.

    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

Matlab Debug Code loads about 3.6k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 1,791 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~3.6k

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); files beside SKILL.md 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,791 words (~3,640 tokens).

“You have access to a live MATLAB session via MCP tools. Use them to actively investigate code — whether debugging errors, understanding behavior, or answering questions about how MATLAB code works. Don't just guess from code alone.”

— opening of SKILL.md by matlab, Custom licence
name
matlab-debug-code
license
https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md
metadata.author
MathWorks
metadata.version
3.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in skills-catalog/matlab-core/matlab-debug-code of matlab/matlab-agentic-toolkit.

  • SKILL.md
  • manifest.yaml

Open the folder on GitHubat commit 3303f05

Compare with similar skills

Matlab Debug Code 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.

Matlab Debug Code compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Matlab Debug Code this skillmatlab/matlab-agentic-toolkit1.1k—~3.6kAutomated safety check: PassCustom licence
Gearcoleco Debuggingdrhelius/Gearcoleco141—~3.5kAutomated safety check: PassGPL-3.0
MCP Debuggerdebugmcp/mcp-debugger171—~3.8kAutomated safety check: PassMIT
Dbgtheodo-group/debug-that158—~1.9kAutomated safety check: PassMIT
Ue Live DebuggingJasonMa0012/MooaToon749—~2.9kAutomated safety check: NotesCustom licence
Commodore64 Vice Debuggingidolpx/meatloaf128—~4.8kAutomated safety check: PassGPL-3.0

Similar skills

  • Gearcoleco Debugging

    drhelius/Gearcoleco

    Debug and trace ColecoVision and Super Game Module games using the Gearcoleco emulator MCP server.

    141 GitHub stars~3.5k tokensUpdated today
    DevelopmentAuto-check passed
  • MCP Debugger

    debugmcp/mcp-debugger

    A skill your agent uses when investigating a bug, failing test, or unexpected runtime behavior and the mcp-debugger MCP server is available — drives real step-through debuggers (breakpoints, stack…

    171 GitHub stars~3.8k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Dbg

    theodo-group/debug-that

    Debug applications using the dbg CLI debugger. An agent skill from theodo-group/debug-that.

    158 GitHub stars~1.9k tokensUpdated 4 mo ago
    DevelopmentAuto-check passed
  • Ue Live Debugging

    JasonMa0012/MooaToon

    A skill your agent uses when debugging UE C++ crashes, runtime bugs, or unexpected behavior with Rider MCP available.

    749 GitHub stars~2.9k tokensUpdated 19 days ago
    DevelopmentAuto-check: notes
  • Debug Commodore 64 programs running under the VICE emulator through its binary monitor: BASIC, cc65-compiled C, and 6502 assembly.

    128 GitHub stars~4.8k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Tilelang Debug Helper

    tile-ai/tilelang-ascend

    How to add debugging capabilities to TileLang Ascend example operators.

    400 GitHub stars~1.7k tokensUpdated 7 days ago
    DevelopmentAuto-check: notes

More from matlab/matlab-agentic-toolkit

All 144 skills in this repo
  • Matlab Analyze Time Frequency Content

    matlab/matlab-agentic-toolkit

    Perform time-frequency analysis in MATLAB using CWT, STFT, synchrosqueezing, reassignment, wavelet coherence, cross spectrogram, EMD/VMD, multiresolution analysis, and time-frequency filtering.

    1.1k GitHub stars~2.7k tokensUpdated 7 days ago
    Auto-check passed
  • Matlab Design Radar

    matlab/matlab-agentic-toolkit

    Launch and control the MATLAB Radar Designer app programmatically via MCP.

    1.1k GitHub stars~4.8k tokensUpdated 7 days ago
    Auto-check passed
  • Matlab Enhance Camera Image

    matlab/matlab-agentic-toolkit

    Read BEFORE troubleshooting or enhancing camera image quality.

    1.1k GitHub stars~3.8k tokensUpdated 7 days ago
    Auto-check passed
  • Matlab Import External AI Model

    matlab/matlab-agentic-toolkit

    Import PyTorch, ONNX, or Keras 3 / TensorFlow 2.16+ deep learning models into MATLAB as dlnetwork objects.

    1.1k GitHub stars~2.8k tokensUpdated 7 days ago
    Auto-check passed
  • Matlab Modernize Daq

    matlab/matlab-agentic-toolkit

    Port MATLAB Data Acquisition Toolbox code from the discouraged (legacy) session-based interface (daq.createSession, addAnalogInputChannel, startBackground, DataAvailable listeners, queueOutputData…

    1.1k GitHub stars~4.5k tokensUpdated 7 days ago
    Auto-check passed
  • Matlab Optimize GPU Codegen

    matlab/matlab-agentic-toolkit

    Optimize MATLAB design files for GPU Coder to generate faster CUDA code.

    1.1k GitHub stars~4.7k tokensUpdated 7 days ago
    Auto-check passed

Categories

Questions about Matlab Debug Code

What does Matlab Debug Code do?

Diagnose MATLAB errors and unexpected behavior. An agent skill from matlab/matlab-agentic-toolkit. Matlab Debug Code is an agent skill from matlab/matlab-agentic-toolkit. Diagnose MATLAB errors and unexpected behavior.

When should I use Matlab Debug Code?

Matlab Debug Code fits situations like: debugging functions; inspecting variables; diagnosing runtime failures.

How do I install Matlab Debug Code in Claude Code?

Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-debug-code -a claude-code`. Or copy the skill folder (skills-catalog/matlab-core/matlab-debug-code in matlab/matlab-agentic-toolkit) into .claude/skills/matlab-debug-code in your project. Claude Code loads it when a task matches its description.

How do I install Matlab Debug Code in Codex?

Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-debug-code -a codex`. Or copy the skill folder (skills-catalog/matlab-core/matlab-debug-code in matlab/matlab-agentic-toolkit) into .agents/skills/matlab-debug-code in your project. Codex loads it when a task matches its description.

Can I use Matlab Debug Code 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/matlab-agentic-toolkit --skill matlab-debug-code -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/matlab-debug-code, .gemini/skills/matlab-debug-code, .github/skills/matlab-debug-code and .opencode/skills/matlab-debug-code in your project.

What does Matlab Debug Code need to run?

SKILL.md names no scripts, command-line tools or credentials: Matlab Debug Code is instructions for the agent only.

Does Matlab Debug Code access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Matlab Debug Code 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. Review the folder before installing.

What licence does Matlab Debug Code use?

Matlab Debug Code 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 Matlab Debug Code use?

About 3.6k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Matlab Debug Code?

Skills that share tags, products or a category with Matlab Debug Code: Gearcoleco Debugging (drhelius/Gearcoleco, 141 stars), MCP Debugger (debugmcp/mcp-debugger, 171 stars), Dbg (theodo-group/debug-that, 158 stars) and Ue Live Debugging (JasonMa0012/MooaToon, 749 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Matlab Debug Code?

matlab (a GitHub organization) maintains it in matlab/matlab-agentic-toolkit, which has 1,134 GitHub stars. The repository holds 144 skills in this directory. The repository was last updated on September 30, 2026.

Source: matlab/matlab-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.