matlab-codegen-deploy

matlab-codegen-deploy is a skill for Claude Code, Codex from wzyn20051216/matlab-agent-skills. It costs 75 tokens per session (1,446 once invoked), scanned A, original, MIT.

A MATLAB workflow for turning algorithms into generated code or deployable files. Depending on the target, the output can be C, C++, CUDA, HDL, or other supported code forms.

In plain words
What is it for?
Use it for MATLAB Coder, Simulink Coder, Embedded Coder, GPU Coder, HDL Coder, fixed-point conversion, MEX files, and embedded deployment checks.
Why use it?
It helps check that an algorithm can be generated, built, and compared with the original MATLAB result before deployment.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for MATLAB Coder, Simulink Coder, Embedded Coder, GPU Coder, HDL Coder, fixed-point conversion, MEX files, and embedded deployment checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wzyn20051216/matlab-agent-skills/matlab-codegen-deploy
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wzyn20051216/matlab-agent-skills --skill matlab-codegen-deploy
Clone the repo
git clone --depth 1 https://github.com/wzyn20051216/matlab-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for matlab-codegen-deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/wzyn20051216/matlab-agent-skills/matlab-codegen-deploy/github.svg)](https://agentmods.dev/skills/wzyn20051216/matlab-agent-skills/matlab-codegen-deploy)
Your own site
<a href="https://agentmods.dev/skills/wzyn20051216/matlab-agent-skills/matlab-codegen-deploy"><img src="https://agentmods.dev/badge/skills/wzyn20051216/matlab-agent-skills/matlab-codegen-deploy/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for matlab-codegen-deploy

Your own site · 80×15
<a href="https://agentmods.dev/skills/wzyn20051216/matlab-agent-skills/matlab-codegen-deploy"><img src="https://agentmods.dev/badge/skills/wzyn20051216/matlab-agent-skills/matlab-codegen-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,446 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.01446
Opus 5.5 $0.00030 $0.00578
Sonnet 5.5 $0.00015 $0.00289
Haiku 4.5 $0.00007 $0.00145

Measured 4d ago against content hash f06c60f01e6b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

matlab-codegen-deploy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/matlab-codegen-deploy/SKILL.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MATLAB Codegen Deploy

Use this skill when MATLAB or Simulink algorithms need to become generated code or deployable artifacts.

Workflow

  1. Identify target: MEX, C/C++, embedded C, CUDA, HDL, PLC, or packaged app.
  2. Verify required products with ver and license.
  3. Isolate the algorithm into a codegen-friendly function.
  4. Define input types with coder.typeof or representative test vectors.
  5. Generate the smallest artifact first, usually MEX.
  6. Compare generated result against MATLAB golden output.
  7. Save generated code, logs, reports, and validation metrics.

Self-Compile and Verify Preference

The user expects generated MATLAB/Simulink work to compile and verify itself after writing. Do not stop at source generation when a build or smoke check is feasible:

  1. For MATLAB Coder, run codegen and then compare generated/MEX output against MATLAB golden output when compiler support exists.
  2. For Simulink Coder, update/compile the model first, run simulation, then call slbuild only after simulation passes.
  3. For embedded targets such as STM32, first try the configured hardware target and toolchain; if it fails, capture the exact missing package/compiler message and generate the closest portable C fallback if possible.
  4. Verify generated .c, .h, project, library, elf/axf/hex/bin, or fallback artifacts exist and are nonempty.
  5. Report clearly which stage passed: model update, simulation, code generation, toolchain build, binary generation, or only portable fallback.

MATLAB Coder Pattern

Use this pattern before larger deployment:

cfg = coder.config("mex");
codegen -config cfg myFunction -args {coder.typeof(0,[100 1],[1 0])}
gold = myFunction(x);
actual = myFunction_mex(x);
assert(norm(gold-actual) < 1e-9)

Embedded Readiness

Check:

  • Fixed-size vs variable-size arrays.
  • Dynamic allocation and recursion.
  • Unsupported functions.
  • Numeric overflow and fixed-point scaling.
  • Stack and heap impact.
  • Timing budget and hardware target assumptions.

Read the full file on GitHub · 119 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed · +24 lines · -4 tokens per session f06c60f01e6b
  2. 1mo ago First seen · 95 lines · 79 tokens per session scan A 54ee7c64fb34

Subscribe to this mod's changes

matlab-codegen-deploy is a skill published in the GitHub repository wzyn20051216/matlab-agent-skills (27 stars, last pushed 5d ago), licensed MIT. It adds 75 tokens to every session and 1,446 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

evidence-audit

Evidence-led audit/fix rounds for any codebase in any language. Finds only defects that a runnable proof reproduces on current code, applies the narrowest in-scope patch, verifies with a second proof, promotes high-risk proofs to permanent regression tests, and reports exact validation results. Use whenever the user…

WrongStack/WrongStack · 152 tokens

mailbox-bridge

Use this skill when external coding agents (Claude Code, Aider, custom scripts) need to participate in the project's shared WrongStack mailbox, or when a user asks to "expose the mailbox", "let Claude Code read the mailbox", "external agent mailbox", "mailbox bridge", or "HTTP mailbox bridge". Starts a loopback HTTP…

WrongStack/WrongStack · 111 tokens

output-standards

Use this skill when defining or enforcing output formatting standards for agent responses in WrongStack. Triggers: user says "next steps format", "output standard", "response format", "final message format", "standardize next steps".

WrongStack/WrongStack · 52 tokens

testing

Use this skill when writing, fixing, reviewing, or planning tests in any project, in whatever runner the project already uses. Also use it to write the failing proof for a suspected bug and to promote that proof into a durable regression test. Triggers: user says "test", "unit test", "integration test", "e2e", "mock"…

WrongStack/WrongStack · 116 tokens

debugging

Use this skill when something is broken and the cause is unknown — a failing test, a crash, an error message, wrong output, a regression, a hang, or behaviour that differs between environments — and it has to be found and fixed at the root. Also use it to build the failing proof for a suspected defect before fixing…

WrongStack/WrongStack · 148 tokens

design-craft

Design or substantially improve user-facing interfaces with a product-specific visual direction, content hierarchy, and rendered critique. Use for new screens, landing pages, redesigns, typography/layout work, or UI that feels generic or AI-generated. For small fixes, preserve the existing design without starting a…

WrongStack/WrongStack · 63 tokens