Agent skill

Simulink Single Precision Conversion

by matlab in matlab/simulink-agentic-toolkit

Converts a double-precision Simulink system or subsystem to single precision using DataTypeWorkflow.Single (Fixed-Point Designer).

Custom licenceAuto-check passed

Install Simulink Single Precision Conversion

skills CLI
$ npx skills add matlab/simulink-agentic-toolkit --skill simulink-single-precision-conversion -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install matlab/simulink-agentic-toolkit simulink-single-precision-conversion --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/matlab/simulink-agentic-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills-catalog/code-generation/simulink-single-precision-conversion .claude/skills/simulink-single-precision-conversion && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
simulink-single-precision-conversion
GitHub stars
1.2k
Token cost
~2.1k tokens
SKILL.md length
867 words
Files
4 (incl. references)
Skills in repo
36
Repo updated
First seen
Licence
Custom licence

At a glance

Converts a double-precision Simulink system or subsystem to single precision using DataTypeWorkflow.Single (Fixed-Point Designer).

  • Works in 6 steps: Open with open_system(modelName), not… → Never call save_system on your own —… → The compatibility check runs inside… → …
  • Converting Simulink systems to single precision
  • SKILL.md covers When to Use, When NOT to Use, Public API and Report Structure, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Simulink Single Precision Conversion is an agent skill from matlab/simulink-agentic-toolkit. Converts a double-precision Simulink system or subsystem to single precision using DataTypeWorkflow.Single (Fixed-Point Designer). The single conversion replaces all user-specified double-precision data types, as well as output data types that compile to double precision, with single-precision data types. Use this skill when converting Simulink systems to single precision, reducing memory usage of a Simulink system, optimizing for embedded targets. Do NOT use for standalone MATLAB .m code single conversion.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `manifest.yaml`, `references/edge-cases.md` and `references/reporting-format.md`).

The repository describes itself as: The Simulink Agentic Toolkit gives your AI agent both the tools and the expertise to work effectively with Simulink and Model-Based Design.

When your agent uses it

  • Converting Simulink systems to single precision
  • Reducing memory usage of a Simulink system
  • Optimizing for embedded targets
  • Standalone MATLAB .m code single conversion

Example prompts

  • “Use the simulink-single-precision-conversion skill to convert a double-precision Simulink system or subsystem to single precision using…”
  • “/simulink-single-precision-conversion”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Open with open_system(modelName), not load_system — the user must see the diagram before/after.
  2. Never call save_system on your own — saving destroys the double-precision baseline and blocks meaningful re-runs. Leave the model dirty…
  3. The compatibility check runs inside convertToSingle; read its results from report.CheckInfo (it is not a separate call).
  4. Get the user's explicit consent before converting. If the model path, subsystem, or scope is ambiguous, ask — do not guess. When the user…
  5. Always inspect report.VerifyInfo.StowawayDblBlks afterward — remaining stowaway doubles mean the conversion is incomplete. Fix them at the…
  6. Assign the report to a local variable (report = ...;) — don't pollute the base workspace or echo the raw struct.

What it can do on your machine

Read from SKILL.md and the folder at commit 455dded. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are matlab).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Simulink Single Precision Conversion loads about 2.1k tokens when it runs, and up to ~5k if it reads all its reference files. Until then it costs about 137 tokens; SKILL.md has 867 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~137
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 867 words (~2,099 tokens).

name
simulink-single-precision-conversion
license
https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md
metadata.author
MathWorks
metadata.version
1.8

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (references) in skills-catalog/code-generation/simulink-single-precision-conversion of matlab/simulink-agentic-toolkit.

  • SKILL.md
  • manifest.yaml
  • references/edge-cases.md
  • references/reporting-format.md

Open the folder on GitHubat commit 455dded

Compare with similar skills

Simulink Single Precision Conversion next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Simulink Single Precision Conversion compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Simulink Single Precision Conversion this skillmatlab/simulink-agentic-toolkit1.2k—~2.1kAutomated safety check: PassCustom licence
Frontend Slideszarazhangrui/frontend-slides30k16 repos~7kAutomated safety check: PassMIT
Algorithmic Art with p5.jsanthropics/skills180k37 repos~4.9kAutomated safety check: PassApache-2.0
Canvas Designanthropics/skills180k51 repos~3kAutomated safety check: PassApache-2.0
Impeccablebestofjs/bestofjs3.1k27 repos~2.6kAutomated safety check: PassMIT
Brand and Design Toolkitnextlevelbuilder/ui-ux-pro-max-skill134k1 repos~3.5kAutomated safety check: PassMIT

Similar skills

  • Frontend Slides

    zarazhangrui/frontend-slides

    Builds animated HTML slide decks that run in the browser with no dependencies, or converts PowerPoint files to the web, starting from visual style previews.

    30k GitHub starsUsed in 16 repos~7k tokens
    Documents & OfficeAuto-check passed
  • Official

    Creates original generative art in two steps: a written algorithmic philosophy, then a p5.js sketch with seeded randomness and an interactive viewer for exploring parameters.

    180k GitHub starsUsed in 37 repos~4.9k tokens
    Media & CreativeAuto-check passed
  • Canvas Design

    anthropics/skills

    Official

    Creates original posters and static art as PNG or PDF by first writing a short design philosophy, then expressing it visually on a canvas.

    180k GitHub starsUsed in 51 repos~3k tokens
    Media & CreativeAuto-check passed
  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 27 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Brand and Design Toolkit

    nextlevelbuilder/ui-ux-pro-max-skill

    Bundles design tasks behind one skill: brand identity, tokens, UI styling, logos, corporate identity mockups, slides, banners, icons and social images.

    134k GitHub starsUsed in 1 repo~3.5k tokens
    Media & CreativeAuto-check passed
  • HyperFrames Animation

    heygen-com/hyperframes

    Collects motion rules, scene blueprints, transitions and runtime adapters for HyperFrames video compositions, with GSAP as the default animation runtime.

    58k GitHub starsUsed in 3 repos~2.1k tokens
    Media & CreativeAuto-check passed

More from matlab/simulink-agentic-toolkit

All 36 skills in this repo
  • Resolve Design Errors

    matlab/simulink-agentic-toolkit

    A skill your agent uses when asked to run Design Error Detection (quick defect scan), find design errors in a Simulink model, perform root cause analysis on DED findings, fix division-by-zero…

    1.2k GitHub stars~2.1k tokensUpdated 7 days ago
    Auto-check passed
  • Simscape Write Ssc

    matlab/simulink-agentic-toolkit

    A skill your agent uses when writing or editing Simscape Language (.ssc) source files — components, domains, or functions.

    1.2k GitHub stars~2.1k tokensUpdated 7 days ago
    Auto-check passed
  • Simulink Optimizing Embedded Code

    matlab/simulink-agentic-toolkit

    Optimizes Simulink models for Embedded Coder generated code.

    1.2k GitHub stars~4.5k tokensUpdated 7 days ago
    Auto-check passed
  • Checking Model Compliance

    matlab/simulink-agentic-toolkit

    A skill your agent uses when the user asks to check Simulink model compliance against a standard (MISRA, MAB, JMAAB, ISO, DO, IEC, EN, CERT C/CWE, AUTOSAR, Simulink Code Inspector (SLCI)), wants to…

    1.2k GitHub stars~3k tokensUpdated 7 days ago
    Auto-check passed
  • Fix Sldv Incompatibility

    matlab/simulink-agentic-toolkit

    A skill your agent uses when a Simulink model is incompatible with Simulink Design Verifier (sldvcompat returns false, or an SLDV analysis errors out on an unsupported construct) and needs to be…

    1.2k GitHub stars~3.8k tokensUpdated 7 days ago
    Auto-check passed
  • Simulink Explain Missing Coverage

    matlab/simulink-agentic-toolkit

    A skill your agent uses when the user asks to summarize, or asks why Simulink Coverage objectives are missing, unsatisfied, or uncovered on a coverage result they already have — why specific…

    1.2k GitHub stars~3.2k tokensUpdated 7 days ago
    Auto-check passed

Questions about Simulink Single Precision Conversion

What does Simulink Single Precision Conversion do?

Converts a double-precision Simulink system or subsystem to single precision using DataTypeWorkflow.Single (Fixed-Point Designer). Simulink Single Precision Conversion is an agent skill from matlab/simulink-agentic-toolkit.Single (Fixed-Point Designer).

When should I use Simulink Single Precision Conversion?

Simulink Single Precision Conversion fits situations like: converting Simulink systems to single precision; reducing memory usage of a Simulink system; optimizing for embedded targets; standalone MATLAB .m code single conversion.

How do I install Simulink Single Precision Conversion in Claude Code?

Run `npx skills add matlab/simulink-agentic-toolkit --skill simulink-single-precision-conversion -a claude-code`. Or copy the skill folder (skills-catalog/code-generation/simulink-single-precision-conversion in matlab/simulink-agentic-toolkit) into .claude/skills/simulink-single-precision-conversion in your project. Claude Code loads it when a task matches its description.

How do I install Simulink Single Precision Conversion in Codex?

Run `npx skills add matlab/simulink-agentic-toolkit --skill simulink-single-precision-conversion -a codex`. Or copy the skill folder (skills-catalog/code-generation/simulink-single-precision-conversion in matlab/simulink-agentic-toolkit) into .agents/skills/simulink-single-precision-conversion in your project. Codex loads it when a task matches its description.

Can I use Simulink Single Precision Conversion in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add matlab/simulink-agentic-toolkit --skill simulink-single-precision-conversion -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/simulink-single-precision-conversion, .gemini/skills/simulink-single-precision-conversion, .github/skills/simulink-single-precision-conversion and .opencode/skills/simulink-single-precision-conversion in your project.

What does Simulink Single Precision Conversion need to run?

SKILL.md names no scripts, command-line tools or credentials: Simulink Single Precision Conversion is instructions for the agent only.

Does Simulink Single Precision Conversion access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Simulink Single Precision Conversion safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Simulink Single Precision Conversion use?

Simulink Single Precision Conversion has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Simulink Single Precision Conversion use?

About 2.1k tokens (SKILL.md is roughly 8.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.9k tokens, read only when the agent opens those files.

What are the alternatives to Simulink Single Precision Conversion?

Skills that share tags, products or a category with Simulink Single Precision Conversion: Frontend Slides (zarazhangrui/frontend-slides, 30k stars), Algorithmic Art with p5.js (anthropics/skills, 180k stars), Canvas Design (anthropics/skills, 180k stars) and Impeccable (bestofjs/bestofjs, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Simulink Single Precision Conversion?

matlab (a GitHub organization) maintains it in matlab/simulink-agentic-toolkit, which has 1,195 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on September 30, 2026.

Source: matlab/simulink-agentic-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.