
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- Repository
- matlab/matlab-agentic-toolkit1.2k
- 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
rrAppinitialization
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
roadrunnerclass and related APIs are not available in earlier releases rrAppalready exists and is valid, re-runningrrCoreInitializeis safe (it's idempotent) but unnecessary; prefer checkingexist('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:
| Tier | Condition | What happens |
|---|---|---|
| 1 | Settings valid + roadrunner class on path | Setup skipped, already configured |
| 2 | Agent has installFolder and projectPath variables | Programmatic setup: addpath, savepath, writes MATLAB settings. No GUI. |
