Share MATLAB content by guiding users through uploading to GitHub, MATLAB Drive, or File Exchange, then generating "Open in MATLAB Online" URLs. Covers the full sharing workflow: choosing a platform, uploading content (automated via gh CLI for GitHub, manual for MATLAB Drive and File Exchange), and constructing the correct URL. Use when a user wants to share MATLAB code with others, open local files in MATLAB Online, generate an open-in-MATLAB-Online button or badge, or when an AI agent has generated MATLAB code locally and the user wants to share it or run it in MATLAB Online.
$npx -y skills add matlab/matlab-agentic-toolkit --skill matlab-sharingInstalls into the current project.
Run `npx skills use "https://github.com/matlab/matlab-agentic-toolkit" --skill "matlab/matlab-agentic-toolkit/matlab-sharing"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/matlab/matlab-agentic-toolkit" that are relevant to the current task. Run `npx skills add "https://github.com/matlab/matlab-agentic-toolkit"` and select the relevant skills, then follow their instructions.