Agent skill

Matlab Coach Debugging

by matlab in matlab/agent-skills-playground

A skill your agent uses when tutoring a learner through MATLAB debugging, error interpretation, failed tests, incorrect outputs, array-shape problems, indexing mistakes, function argument issues, or…

Custom licenceAuto-check passedDevelopment

Install Matlab Coach Debugging

skills CLI
$ npx skills add matlab/agent-skills-playground --skill matlab-coach-debugging -a claude-code

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

GitHub CLI
$ gh skill install matlab/agent-skills-playground matlab-coach-debugging --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/agent-skills-playground.git skills-src && mkdir -p .claude/skills && cp -r skills-src/demos/ai-tutoring/skills/matlab-coach-debugging .claude/skills/matlab-coach-debugging && 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-coach-debugging
GitHub stars
181
Token cost
~1.1k tokens
SKILL.md length
529 words
Files
2 (incl. references)
Skills in repo
29
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses when tutoring a learner through MATLAB debugging, error interpretation, failed tests, incorrect outputs, array-shape problems, indexing mistakes, function argument issues, or…

  • Works in 8 steps: State expectation: Ask what the learner… → Capture evidence: Get the exact error… → Localize: Identify the file, line,… → …
  • Tutoring a learner through MATLAB debugging
  • SKILL.md covers Purpose, Debugging Loop, Coaching Rules and MATLAB Bug Patterns, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Matlab Coach Debugging is an agent skill from matlab/agent-skills-playground. Use when tutoring a learner through MATLAB debugging, error interpretation, failed tests, incorrect outputs, array-shape problems, indexing mistakes, function argument issues, or code repair practice. Use for guided debugging sessions, debugging drills, teach-the-agent critique, and evidence-based MATLAB troubleshooting.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/debugging-patterns.md`).

It sits in Development, covering Debugging and Tutoring and explanations. The repository describes itself as: A sandbox for prototyping and demonstrating Agent Skills for MATLAB and Simulink work.

When your agent uses it

  • Tutoring a learner through MATLAB debugging
  • Error interpretation
  • Incorrect outputs
  • Array-shape problems

Example prompts

  • “/matlab-coach-debugging”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. State expectation: Ask what the learner expected the code to do.
  2. Capture evidence: Get the exact error text or observed wrong output.
  3. Localize: Identify the file, line, expression, and variable involved.
  4. Inspect state: Ask for or run size, class, whos, and representative
  5. Reduce: Build a minimal reproduction with the smallest input that still
  6. Hypothesize: Ask the learner to explain the likely cause before fixing.
  7. Test repair: Apply one change and verify with a normal case and edge case.
  8. Transfer: Ask how the same bug pattern would appear in nearby code.

What it can do on your machine

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

    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 Coach Debugging loads about 1.1k tokens when it runs, and up to ~1.6k if it reads all its reference files. Until then it costs about 86 tokens; SKILL.md has 529 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~86
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.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 529 words (~1,059 tokens).

“Coach learners through MATLAB debugging as evidence gathering. Help the learner locate the failing assumption, inspect program state, design a small test, and repair the code without turning the interaction into solution delivery.”

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

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in demos/ai-tutoring/skills/matlab-coach-debugging of matlab/agent-skills-playground.

  • SKILL.md
  • references/debugging-patterns.md

Open the folder on GitHubat commit 7b14a77

Compare with similar skills

Matlab Coach Debugging 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 Coach Debugging compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Matlab Coach Debugging this skillmatlab/agent-skills-playground181—~1.1kAutomated safety check: PassCustom licence
Copilot Code Coachtimothywarner/chatgptclass143—~1.9kAutomated safety check: PassCustom licence
Memstack Development Mentorcwinvestments/memstack423—~1.6kAutomated safety check: PassMIT
Code MentorLeoYeAI/openclaw-master-skills2.2k—~6.3kAutomated safety check: PassMIT
Interviewgenkovich/sdd171—~3.8kAutomated safety check: PassMIT
Repo TutorMathews-Tom/armory327—~3.1kAutomated safety check: PassMIT

Similar skills

  • Copilot Code Coach

    timothywarner/chatgptclass

    Socratic coding tutor powered by GitHub Copilot. An agent skill from timothywarner/chatgptclass.

    143 GitHub stars~1.9k tokensUpdated 18 days ago
    DevelopmentAuto-check passed
  • Memstack Development Mentor

    cwinvestments/memstack

    A skill your agent uses when the user says 'teach me', 'explain as you go', 'mentor mode', 'walk me through', 'help me learn', 'explain why', 'learning mode', or wants real-time plain language…

    423 GitHub stars~1.6k tokensUpdated 11 days ago
    DevelopmentAuto-check passed
  • Code Mentor

    LeoYeAI/openclaw-master-skills

    Comprehensive AI programming tutor for all levels. An agent skill from LeoYeAI/openclaw-master-skills.

    2.2k GitHub stars~6.3k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Interview

    genkovich/sdd

    Use BEFORE roadmap or specify to get the idea OUT OF YOUR HEAD and onto disk — a Socratic interview that surfaces hidden assumptions, names tradeoffs, exposes imprecisions and proposes fresh angles…

    171 GitHub stars~3.8k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Repo Tutor

    Mathews-Tom/armory

    A skill your agent uses when a user supplies a local repository path or remote Git URL and asks to "teach me this repo", "explain this codebase simply", "show how this system works", "help me use…

    327 GitHub stars~3.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Trellis Session Insight

    mindfold-ai/Trellis

    Reach into past AI conversation history through the trellis mem CLI.

    15k GitHub starsUsed in 4 repos~1.7k tokens
    DevelopmentAuto-check passed

More from matlab/agent-skills-playground

All 29 skills in this repo
  • Embedded AI Deployment

    matlab/agent-skills-playground

    Deploy AI models to embedded hardware using MathWorks tools (MATLAB, Simulink, Embedded Coder).

    181 GitHub starsUsed in 1 repo~3.4k tokens
    Auto-check passed
  • Matlab Uihtml Design

    matlab/agent-skills-playground

    Generate beautiful, distinctive HTML/CSS/JS control panels for MATLAB uihtml components.

    181 GitHub stars~5k tokensUpdated 27 days ago
    Auto-check passed
  • Matlab Coach Programming

    matlab/agent-skills-playground

    A skill your agent uses when an AI tutor session concerns MATLAB programming concepts, MATLAB syntax, MATLAB errors, MATLAB code style, MATLAB projects, or MATLAB toolbox workflows.

    181 GitHub stars~1.1k tokensUpdated 27 days ago
    Auto-check passed
  • Matlab Create AI Policy

    matlab/agent-skills-playground

    A skill your agent uses when an instructor wants to create, interview for, configure, install, update, or review a course AI-use policy for MATLAB AI tutoring.

    181 GitHub stars~1.2k tokensUpdated 27 days ago
    Auto-check passed
  • Matlab Create Course Activity

    matlab/agent-skills-playground

    Create MATLAB Course Designer MATLAB Exercise learning activities by wrapping the existing matlab-generate-grader-assessments skill, then validating generated solution.m, template.m, and tests.m…

    181 GitHub stars~2.3k tokensUpdated 27 days ago
    Auto-check passed
  • Matlab Create Mcq Practice

    matlab/agent-skills-playground

    A skill your agent uses when creating, asking, grading, or explaining multiple choice questions for MATLAB programming practice, concept checks, quizzes, or tutoring exercises.

    181 GitHub stars~869 tokensUpdated 27 days ago
    Auto-check passed

Questions about Matlab Coach Debugging

What does Matlab Coach Debugging do?

A skill your agent uses when tutoring a learner through MATLAB debugging, error interpretation, failed tests, incorrect outputs, array-shape problems, indexing mistakes, function argument issues, or…. Matlab Coach Debugging is an agent skill from matlab/agent-skills-playground. Use when tutoring a learner through MATLAB debugging, error interpretation, failed tests, incorrect outputs, array-shape problems, indexing mistakes, function argument issues, or code repair practice.

When should I use Matlab Coach Debugging?

Matlab Coach Debugging fits situations like: tutoring a learner through MATLAB debugging; error interpretation; incorrect outputs; array-shape problems.

How do I install Matlab Coach Debugging in Claude Code?

Run `npx skills add matlab/agent-skills-playground --skill matlab-coach-debugging -a claude-code`. Or copy the skill folder (demos/ai-tutoring/skills/matlab-coach-debugging in matlab/agent-skills-playground) into .claude/skills/matlab-coach-debugging in your project. Claude Code loads it when a task matches its description.

How do I install Matlab Coach Debugging in Codex?

Run `npx skills add matlab/agent-skills-playground --skill matlab-coach-debugging -a codex`. Or copy the skill folder (demos/ai-tutoring/skills/matlab-coach-debugging in matlab/agent-skills-playground) into .agents/skills/matlab-coach-debugging in your project. Codex loads it when a task matches its description.

Can I use Matlab Coach Debugging 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/agent-skills-playground --skill matlab-coach-debugging -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-coach-debugging, .gemini/skills/matlab-coach-debugging, .github/skills/matlab-coach-debugging and .opencode/skills/matlab-coach-debugging in your project.

What does Matlab Coach Debugging need to run?

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

Does Matlab Coach Debugging 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 Coach Debugging 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 Coach Debugging use?

Matlab Coach Debugging 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 Coach Debugging use?

About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 571 tokens, read only when the agent opens those files.

What are the alternatives to Matlab Coach Debugging?

Skills that share tags, products or a category with Matlab Coach Debugging: Copilot Code Coach (timothywarner/chatgptclass, 143 stars), Memstack Development Mentor (cwinvestments/memstack, 423 stars), Code Mentor (LeoYeAI/openclaw-master-skills, 2.2k stars) and Interview (genkovich/sdd, 171 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Matlab Coach Debugging?

matlab (a GitHub organization) maintains it in matlab/agent-skills-playground, which has 181 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on September 10, 2026.

Source: matlab/agent-skills-playground on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.