Skills

Roadrunner Core

Foundation skill for all RoadRunner workflows: MATLAB path setup, connection...

Install

npx skills add matlab/matlab-agentic-toolkit --skill roadrunner-core -g -a claude-code -y
Category
Engineering
Updated
8d ago
License
See repository
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Foundation skill for all RoadRunner workflows: MATLAB path setup, connection, project/scene/scenario lifecycle, world settings, handle management, status, and close. Use when connecting to RoadRunner, managing projects/scenes/scenarios, setting world origin, checking status, closing RoadRunner, or when any downstream RoadRunner skill needs initialization.

RoadRunner Core

Foundation skill for all RoadRunner agent workflows. Manages the RoadRunner connection, project/scene/scenario lifecycle, and handle management from MATLAB. Produces the rrApp handle used by all downstream RoadRunner skills.

Execution: all MATLAB code runs via evaluate_matlab_code MCP tool. Never matlab -batch.

When to Use

  • Connecting to or launching RoadRunner from MATLAB
  • Creating, opening, or saving projects, scenes, or scenarios
  • Setting world origin or scene extents
  • Checking RoadRunner status
  • Closing RoadRunner safely
  • Any downstream RoadRunner skill needs rrApp initialization

When NOT to Use

  • RoadRunner is not installed, this skill requires a working RoadRunner installation; it cannot install the product
  • MATLAB version below R2022a, the roadrunner class and related APIs are not available in earlier releases
  • rrApp already exists and is valid, re-running rrCoreInitialize is safe (it's idempotent) but unnecessary; prefer checking exist('rrApp','var') first to avoid the overhead
  • User has not provided installation or project paths when first-time setup is needed, ask the user first, do not guess paths
  • RoadRunner is intentionally closed, do not reconnect or relaunch without explicit user permission

1. How the Agent Uses This Skill

First-time setup (once per machine, two-tier resolution)

rrCoreInitialize handles setup automatically using a two-tier approach:

TierConditionWhat happens
1Settings valid + roadrunner class on pathSetup skipped, already configured
2Agent has installFolder and projectPath variablesProgrammatic setup: addpath, savepath, writes MATLAB settings. No GUI.
Read the whole SKILL.md on GitHub

More in Engineering