Skip to main content
ClaudeWave
ES, Spanish
Skill190 estrellas del repoactualizado 14d ago

matlab-create-ai-policy

Use when an instructor wants to create, interview for, configure, install, update, or review a course AI-use policy for MATLAB AI tutoring. Produces an AI-POLICY.md file for LMS sharing and local tutoring-session enforcement by assignment guardrails.

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/matlab/agent-skills-playground /tmp/matlab-create-ai-policy && cp -r /tmp/matlab-create-ai-policy/demos/ai-tutoring/skills/matlab-create-ai-policy ~/.claude/skills/matlab-create-ai-policy
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

# MATLAB AI Tutor Course Policy

## Purpose

Interview an instructor to create a course-specific `AI-POLICY.md` file. The
file should be suitable to upload to a learning management system, share with
learners, and install locally for MATLAB AI tutoring sessions so assignment
guardrails can enforce the instructor's rules.

Use this skill before a course pilot, when adopting the tutor for graded work,
or when an instructor wants one policy that applies consistently across
homework, labs, projects, quizzes, exams, and instructor-facing materials.

## Interactive Interview

Run the interview in short rounds. Ask at most three questions at a time and
summarize choices before generating the policy. If the instructor supplies a
syllabus, assignment description, or existing policy, extract answers from it
first and ask only about gaps.

Required policy requirements:

1. Course title, term, instructor, and contact or support path.
2. Course-wide AI-use stance: encouraged, allowed with limits, restricted, or
   prohibited except when explicitly authorized.
3. Rules by activity type: homework, labs, projects, quizzes, exams, take-home
   assessments, and instructor-facing content.
4. Allowed AI tutor help: concept explanations, analogous examples, debugging,
   code review, tests, reflection, transcript logs, and session reports.
5. Restricted AI tutor help: final solutions, full programs, answer keys,
   hidden test bypassing, unauthorized collaboration, and polishing work before
   a meaningful learner attempt.
6. Attribution requirements: whether learners must disclose tutor use, include
   prompts/transcripts, cite AI assistance, or submit session reports.
7. Data and privacy boundaries: what learners should avoid sharing.
8. Local enforcement level for MATLAB AI Tutor guardrails.
9. Effective date and review cadence.

Read [references/policy-interview.md](references/policy-interview.md) for the
interview sequence, enforcement levels, and policy decision matrix.

Read [references/ai-policy-template.md](references/ai-policy-template.md) before
writing `AI-POLICY.md`.

Read [references/policy-examples.md](references/policy-examples.md) when the
instructor asks for examples, wants help choosing policy strictness, or needs
calibrated wording for homework, labs, projects, quizzes, exams, or
instructor-facing solution generation.

## Output Workflow

1. Interview the instructor until required policy requirements are known.
2. Summarize the interpreted policy choices and ask for confirmation when
   anything is ambiguous or high stakes.
3. Generate `AI-POLICY.md` in the current working directory unless the user
   specifies another writable course folder.
4. Use learner-facing language: clear, direct, and suitable for an LMS.
5. Include a "Local MATLAB AI Tutor Enforcement" section that assignment
   guardrails can read.
6. Include a "Policy Summary for Tutor Guardrails" block with compact rules for
   tutoring sessions.
7. Tell the user where the file was written and how to use it with the tutor.

## Local Installation Rules

- The policy filename must be `AI-POLICY.md`.
- The preferred local install location is the course or tutoring session working
  directory.
- When a tutoring session starts, `matlab-apply-assignment-guardrails` should
  look for `AI-POLICY.md` in the current working directory and apply it before
  general guardrail defaults.
- If multiple policies are present, use the nearest policy in the current
  course/session directory and state which file is active.
- If no policy is present, use conservative default guardrails and ask whether
  the task is graded or policy-constrained when unclear.

## Output Constraints

- Do not invent institutional policy, honor-code language, or legal claims.
- If the instructor is unsure, mark the policy item as "Instructor default:
  conservative" and write a clear placeholder for later revision.
- Keep the policy actionable for learners and enforceable by the tutor.
- Do not create separate README files. The policy artifact is `AI-POLICY.md`.

## Examples

This demo includes an example learner-facing policy at
`assets/examples/ai-policy-intro-matlab-coached.md`, relative to the demo folder
that contains `skills/` (not relative to this skill folder). Use it as a
structural example only; replace the course name, activity rules, disclosure
requirements, and local enforcement settings with the instructor's confirmed
policy choices.
agent-skill-authorSkill

Use this skill when the user wants to author, design, scope, or refine an Agent Skill (a SKILL.md file). Trigger phrases include "build a new skill", "design an agent skill", "scope a SKILL.md", "how should I structure this skill", "write a skill for X", "my skill isn't working well", or any request to improve an existing SKILL.md. Walks the user through an empirical, test-first process — probe the agent for real failures, design only for genuine knowledge gaps, iterate against runnable examples, and verify across models.

embedded-ai-deploymentSkill

>

matlab-apply-assignment-guardrailsSkill

Use when a learner asks for help with MATLAB homework, labs, projects, graded assignments, take-home exams, quizzes, or any programming task where academic integrity, course policy, or instructor constraints may limit direct solutions. Use to provide policy-aware hints, conceptual coaching, partial feedback, and assignment-safe MATLAB tutoring.

matlab-coach-debuggingSkill

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.

matlab-coach-programmingSkill

Use when an AI tutor session concerns MATLAB programming concepts, MATLAB syntax, MATLAB errors, MATLAB code style, MATLAB projects, or MATLAB toolbox workflows.

matlab-create-course-activitySkill

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 files with MATLAB MCP Server tool calls. Use when the user asks to create a MATLAB Exercise, MATLAB course activity, Course Designer MATLAB activity, validated MATLAB solution file, or MATLAB Exercise component folder.

matlab-create-hands-on-exercisesSkill

Use when prompting a learner to complete hands-on MATLAB coding exercises, guided practice, debugging drills, code tracing, small MATLAB projects, or MATLAB-script assessment during tutoring. Use when the tutor should create a complete runnable MATLAB script, execute it through MATLAB tools, compare the produced outputs with expected outputs, and evaluate MATLAB programming style.

matlab-create-mcq-practiceSkill

Use when creating, asking, grading, or explaining multiple choice questions for MATLAB programming practice, concept checks, quizzes, or tutoring exercises.