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.
npx skills add wzyn20051216/matlab-agent-skills --skill matlab-codegen-deploygit clone --depth 1 https://github.com/wzyn20051216/matlab-agent-skillsWrote 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.
[](https://agentmods.dev/skills/wzyn20051216/matlab-agent-skills/matlab-codegen-deploy)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
- Identify target: MEX, C/C++, embedded C, CUDA, HDL, PLC, or packaged app.
- Verify required products with
verandlicense. - Isolate the algorithm into a codegen-friendly function.
- Define input types with
coder.typeofor representative test vectors. - Generate the smallest artifact first, usually MEX.
- Compare generated result against MATLAB golden output.
- 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:
- For MATLAB Coder, run
codegenand then compare generated/MEX output against MATLAB golden output when compiler support exists. - For Simulink Coder, update/compile the model first, run simulation, then call
slbuildonly after simulation passes. - 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.
- Verify generated
.c,.h, project, library,elf/axf/hex/bin, or fallback artifacts exist and are nonempty. - 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.
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.
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.
- 4d ago Changed · +24 lines · -4 tokens per session f06c60f01e6b
- 1mo ago First seen · 95 lines · 79 tokens per session scan A 54ee7c64fb34
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.
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…
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…
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".
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"…
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…
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…