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
- 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.
- 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.
- A course folder contains
AI-POLICY.md→ the tutor names the active policy and scopes its help accordingly. - 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)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the 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.
- Open a terminal.
- Clone the repository:
git clone https://github.com/matlab/agent-skills-playground.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r agent-skills-playground/demos/ai-tutoring/skills/matlab-apply-assignment-guardrails ~/.claude/skills/ - Also copy the companion skills (
matlab-tutor-learners,matlab-coach-programming,matlab-create-ai-policy) from the samedemos/ai-tutoring/skills/folder for full behavior. - Verify that
references/guardrail-patterns.mdcame along with the skill folder. - Restart Claude Code and test with a prompt like "Help me with my MATLAB homework".
- (Optional) Drop your course's
AI-POLICY.mdinto the working directory so the local policy takes precedence.
View source on GitHub ↗License: NOASSERTION