Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

MATLAB Assignment Guardrails Tutor

Turns Claude into a policy-aware MATLAB tutor that coaches with a hint ladder instead of handing over graded homework solutions.

EducationBeginner★ 181⑂ 32AI score 8/10Last updated: Sep 10, 2026

What it does

  • Triggers whenever a learner asks for help with MATLAB homework, labs, projects, quizzes, or take-home exams.
  • Looks for a local AI-POLICY.md (course AI policy) and applies it first; if none exists, it states that defaults apply and asks whether the work is graded.
  • Uses a five-level escalation ladder: ①concept explanation → ②diagnostic questions about variable size/class/value → ③smaller analogous example → ④one next line or edit → ⑤full review of the student's own draft.
  • Declines to write complete submissions, fill in all starter-code blanks, or polish untouched code, and redirects to a learning-safe alternative instead.
  • Handles deadline pressure gracefully: refuses once, briefly, then keeps teaching via concepts and analogues.

Who it's for

  • MATLAB instructors and TAs who want students to use AI without breaking academic integrity rules.
  • Students who want to actually understand the material rather than receive an answer.
  • Training program operators who need controllable limits on AI tutoring assistance.

Examples

  1. A student says "finish this for-loop for my homework" → the tutor asks for the current attempt and error message first, then starts at the concept hint.
  2. The whole task is a one-liner → the tutor works the analogue in numbers or pseudocode so the final MATLAB line stays the student's to write.
  3. A course folder contains AI-POLICY.md → the tutor names the active policy and scopes its help accordingly.
  4. The student brings a finished draft → the tutor switches to Level 5 review for bugs, style, and test suggestions.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/matlab/agent-skills-playground/HEAD/demos/ai-tutoring/skills/matlab-apply-assignment-guardrails/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the demos/ai-tutoring/skills/matlab-apply-assignment-guardrails folder from the GitHub repo matlab/agent-skills-playground into my ~/.claude/skills/matlab-apply-assignment-guardrails/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/matlab/agent-skills-playground.git && mkdir -p ~/.claude/skills && cp -r agent-skills-playground/demos/ai-tutoring/skills/matlab-apply-assignment-guardrails ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repository: git clone https://github.com/matlab/agent-skills-playground.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r agent-skills-playground/demos/ai-tutoring/skills/matlab-apply-assignment-guardrails ~/.claude/skills/
  5. Also copy the companion skills (matlab-tutor-learners, matlab-coach-programming, matlab-create-ai-policy) from the same demos/ai-tutoring/skills/ folder for full behavior.
  6. Verify that references/guardrail-patterns.md came along with the skill folder.
  7. Restart Claude Code and test with a prompt like "Help me with my MATLAB homework".
  8. (Optional) Drop your course's AI-POLICY.md into the working directory so the local policy takes precedence.
View source on GitHub ↗License: NOASSERTION