Skip to content
Back to skills

Resolve Polyspace Root

ASecurity

Return the Polyspace installation root path (`<polyspace_root>`). Use when a skill or CLI fallback needs the Polyspace root directory and the MCP server is not available.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 17, 2026
tools

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 17, 2026

npx -y skills add zrwangems/dsh-zrwang-plugin --skill resolve-polyspace-root --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Resolve Polyspace Root?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Resolve Polyspace Root
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zrwangems-resolve-polyspace-root/badge)](https://www.skillsdirectory.com/skills/zrwangems-resolve-polyspace-root)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: resolve-polyspace-root
description: >
  Return the Polyspace installation root path (`<polyspace_root>`). Use when a
  skill or CLI fallback needs the Polyspace root directory and the MCP server
  is not available.
metadata:
  author: MathWorks
  version: "2.1"
---

# Resolve Polyspace Root

Return the Polyspace installation root (`<polyspace_root>`) that `polyspace-agentic-toolkit-setup` stored. This skill only reads the stored value — it does not discover the root itself.

## When to Use

- Before invoking a Polyspace binary in CLI-fallback mode
- When any skill needs `<polyspace_root>` and the MCP server is not available

## When NOT to Use

- Installing or configuring the MCP server, or (re)detecting / changing the Polyspace installation — invoke `polyspace-agentic-toolkit-setup`

## Workflow

Read the toolkit state file that `polyspace-agentic-toolkit-setup` wrote:

| Platform | State file |
|----------|-----------|
| Linux/macOS | `~/.config/polyspace-agentic-toolkit/config.json` |
| Windows | `%APPDATA%\polyspace-agentic-toolkit\config.json` |

Use its `polyspaceRoot` field as `<polyspace_root>`; binaries are at `<polyspace_root>/polyspace/bin/`.

If the state file does not exist, or `polyspaceRoot` is empty or missing, the toolkit has not been set up — invoke `polyspace-agentic-toolkit-setup` to resolve and store the root, then read the state file again.

----

Copyright 2026 The MathWorks, Inc.

----

Files in this skill

  • SKILL.md1.4 KB
  • manifest.yaml252 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.