Agent skill

Matlab Create Custom Arduino Library

by matlab in matlab/matlab-agentic-toolkit

A skill your agent uses when the user wants to use Arduino sensors or peripherals from MATLAB that are not directly supported by the MATLAB Support Package for Arduino Hardware.

Custom licenceAuto-check passedDevelopment

Install Matlab Create Custom Arduino Library

skills CLI
$ npx skills add matlab/matlab-agentic-toolkit --skill matlab-create-custom-arduino-library -a claude-code

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

GitHub CLI
$ gh skill install matlab/matlab-agentic-toolkit matlab-create-custom-arduino-library --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/matlab-agentic-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills-catalog/test-and-measurement/matlab-create-custom-arduino-library .claude/skills/matlab-create-custom-arduino-library && 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
matlab-create-custom-arduino-library
GitHub stars
1.1k
Token cost
~3.4k tokens
SKILL.md length
1,370 words
Files
5 (incl. references)
Skills in repo
151
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses when the user wants to use Arduino sensors or peripherals from MATLAB that are not directly supported by the MATLAB Support Package for Arduino Hardware.

  • Works in 8 steps: Check Native Support (ALWAYS DO FIRST) → Search File Exchange (MathWorks… → Gather Required Inputs → …
  • The user wants to use Arduino sensors
  • SKILL.md covers When to Use, When NOT to Use, Workflow and MATLAB Class Property Rules, plus 5 more sections
  • Reaches github.com

What it does

Matlab Create Custom Arduino Library is an agent skill from matlab/matlab-agentic-toolkit. Use when the user wants to use Arduino sensors or peripherals from MATLAB that are not directly supported by the MATLAB Support Package for Arduino Hardware. Triggers on requests to create, wrap, or expose a custom Arduino library to MATLAB. Also triggers on indirect questions like "How do I read humidity in MATLAB?" or "How do I display text on an LCD from MATLAB?" where the answer requires a custom Arduino add-on library. Covers: custom addon creation, third-party Arduino library integration, LibraryBase class…

Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `manifest.yaml`, `references/bus-conflicts.md` and `references/common-errors.md`).

It sits in Development, covering Embedded systems. It works with C++. The repository describes itself as: The MATLAB Agentic Toolkit brings proven MATLAB capabilities to AI agents, making engineering and scientific workflows agent-ready.

When your agent uses it

  • The user wants to use Arduino sensors
  • Peripherals from MATLAB that are not directly supported by the MATLAB Support Package for Arduino Hardware
  • Requests to create
  • Expose a custom Arduino library to MATLAB

Example prompts

  • “How do I read humidity in MATLAB?”
  • “How do I display text on an LCD from MATLAB?”
  • “/matlab-create-custom-arduino-library”

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Check Native Support (ALWAYS DO FIRST)
  2. Search File Exchange (MathWorks contributions only)
  3. Gather Required Inputs
  4. Install Third-Party Arduino Library
  5. Scaffold the Add-On
  6. Configure the MATLAB Class
  7. Write the C++ Header
  8. Verify

What it can do on your machine

Read from SKILL.md and the folder at commit 69e71df. 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

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    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

Matlab Create Custom Arduino Library loads about 3.4k tokens when it runs, and up to ~6.3k if it reads all its reference files. Until then it costs about 164 tokens; SKILL.md has 1,370 words of instructions outside code blocks.

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

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 1,370 words (~3,388 tokens).

“Help the user interface with Arduino sensors or peripherals from MATLAB by creating a custom arduino library that bridges MATLAB and Arduino C++ code.”

— opening of SKILL.md by matlab, Custom licence
name
matlab-create-custom-arduino-library
license
https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md
metadata.author
MathWorks
metadata.version
1.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (references) in skills-catalog/test-and-measurement/matlab-create-custom-arduino-library of matlab/matlab-agentic-toolkit.

  • SKILL.md
  • manifest.yaml
  • references/bus-conflicts.md
  • references/common-errors.md
  • references/cpp-patterns.md

Open the folder on GitHubat commit 69e71df

Compare with similar skills

Matlab Create Custom Arduino Library 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.

Matlab Create Custom Arduino Library compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Matlab Create Custom Arduino Library this skillmatlab/matlab-agentic-toolkit1.1k—~3.4kAutomated safety check: PassCustom licence
Esp32 Firmware Engineeralxv2016/folloup-sticky1171 repos~3.8kAutomated safety check: PassGPL-3.0
ExecuTorch Binary Size Reductionpytorch/executorch5.1k—~793Automated safety check: PassCustom licence
Auto EmbeddedDunCanYounG-1/MICU-auto-embedded253—~1.6kAutomated safety check: PassCC-BY-NC-4.0
Embedded Cpp14 MisraBlueAndi/Pixelix443—~2kAutomated safety check: PassMIT
Embedded Cpp14 MisraBlueAndi/Pixelix443—~2.2kAutomated safety check: PassMIT

Similar skills

  • Esp32 Firmware Engineer

    alxv2016/folloup-sticky

    ESP32 firmware engineering for ESP-IDF projects. An agent skill from alxv2016/folloup-sticky.

    117 GitHub starsUsed in 1 repo~3.8k tokens
    DevelopmentAuto-check passed
  • Measures and shrinks the ExecuTorch runtime binary by building a size test, analyzing it with bloaty and landing each reduction as its own pull request.

    5.1k GitHub stars~793 tokensUpdated today
    DevelopmentAuto-check passed
  • Auto Embedded

    DunCanYounG-1/MICU-auto-embedded

    全平台嵌入式 AI 开发框架(对标 Trellis):把 RIPER-5 五阶段协议 + 四文件记忆 + 分层架构门禁 + Scout/Builder/Verifier 多 Agent + 24 个工具调用技能(build/flash/debug/serial/can/modbus/visa/static/memory/rtos/scons),做成『装进工程、项目级 hook…

    253 GitHub stars~1.6k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Embedded Cpp14 Misra

    BlueAndi/Pixelix

    A skill your agent uses when writing, reviewing, or refactoring C/C++ firmware code in this repository (src/, lib/, test/) — creating or editing .h/.hpp/.cpp files, applying MISRA-oriented and…

    443 GitHub stars~2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Embedded Cpp14 Misra

    BlueAndi/Pixelix

    Write, review and refactor embedded C/C++14 firmware code in this repository (src/, lib/, test/) with MISRA-oriented rules, defensive programming, Yoda conditions, single-exit/pathfinder control…

    443 GitHub stars~2.2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Repo rules for editing libnx and Nintendo Switch homebrew code in pipensx: read the real headers first and keep shared code building for both Switch and PC.

    221 GitHub stars~1.3k tokensUpdated 8 days ago
    DevelopmentAuto-check passed

More from matlab/matlab-agentic-toolkit

All 151 skills in this repo
  • Matlab Analyze Time Frequency Content

    matlab/matlab-agentic-toolkit

    Perform time-frequency analysis in MATLAB using CWT, STFT, synchrosqueezing, reassignment, wavelet coherence, cross spectrogram, EMD/VMD, multiresolution analysis, and time-frequency filtering.

    1.1k GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed
  • Matlab Design Radar

    matlab/matlab-agentic-toolkit

    Launch and control the MATLAB Radar Designer app programmatically via MCP.

    1.1k GitHub stars~4.8k tokensUpdated yesterday
    Auto-check passed
  • Matlab Engineer Tabular Features

    matlab/matlab-agentic-toolkit

    A skill your agent uses when engineering or selecting the best features for single-response classification or regression in MATLAB, whatever the data's modality — for non-tabular data it routes…

    1.1k GitHub stars~4.8k tokensUpdated yesterday
    Auto-check passed
  • Matlab Enhance Camera Image

    matlab/matlab-agentic-toolkit

    Read BEFORE troubleshooting or enhancing camera image quality.

    1.1k GitHub stars~3.8k tokensUpdated yesterday
    Auto-check passed
  • Matlab Import External AI Model

    matlab/matlab-agentic-toolkit

    Import PyTorch, ONNX, or Keras 3 / TensorFlow 2.16+ deep learning models into MATLAB as dlnetwork objects.

    1.1k GitHub stars~2.8k tokensUpdated yesterday
    Auto-check passed
  • Matlab Modernize Daq

    matlab/matlab-agentic-toolkit

    Port MATLAB Data Acquisition Toolbox code from the discouraged (legacy) session-based interface (daq.createSession, addAnalogInputChannel, startBackground, DataAvailable listeners, queueOutputData…

    1.1k GitHub stars~4.5k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Matlab Create Custom Arduino Library

What does Matlab Create Custom Arduino Library do?

A skill your agent uses when the user wants to use Arduino sensors or peripherals from MATLAB that are not directly supported by the MATLAB Support Package for Arduino Hardware. Matlab Create Custom Arduino Library is an agent skill from matlab/matlab-agentic-toolkit. Use when the user wants to use Arduino sensors or peripherals from MATLAB that are not directly supported by the MATLAB Support Package for Arduino Hardware.

When should I use Matlab Create Custom Arduino Library?

Matlab Create Custom Arduino Library fits situations like: the user wants to use Arduino sensors; peripherals from MATLAB that are not directly supported by the MATLAB Support Package for Arduino Hardware; requests to create; expose a custom Arduino library to MATLAB.

How do I install Matlab Create Custom Arduino Library in Claude Code?

Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-create-custom-arduino-library -a claude-code`. Or copy the skill folder (skills-catalog/test-and-measurement/matlab-create-custom-arduino-library in matlab/matlab-agentic-toolkit) into .claude/skills/matlab-create-custom-arduino-library in your project. Claude Code loads it when a task matches its description.

How do I install Matlab Create Custom Arduino Library in Codex?

Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-create-custom-arduino-library -a codex`. Or copy the skill folder (skills-catalog/test-and-measurement/matlab-create-custom-arduino-library in matlab/matlab-agentic-toolkit) into .agents/skills/matlab-create-custom-arduino-library in your project. Codex loads it when a task matches its description.

Can I use Matlab Create Custom Arduino Library 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/matlab-agentic-toolkit --skill matlab-create-custom-arduino-library -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/matlab-create-custom-arduino-library, .gemini/skills/matlab-create-custom-arduino-library, .github/skills/matlab-create-custom-arduino-library and .opencode/skills/matlab-create-custom-arduino-library in your project.

What does Matlab Create Custom Arduino Library need to run?

SKILL.md names no scripts, command-line tools or credentials: Matlab Create Custom Arduino Library is instructions for the agent only.

Does Matlab Create Custom Arduino Library access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Matlab Create Custom Arduino Library 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 Matlab Create Custom Arduino Library use?

Matlab Create Custom Arduino Library 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 Matlab Create Custom Arduino Library use?

About 3.4k tokens (SKILL.md is roughly 14k 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 Matlab Create Custom Arduino Library?

Skills that share tags, products or a category with Matlab Create Custom Arduino Library: Esp32 Firmware Engineer (alxv2016/folloup-sticky, 117 stars), ExecuTorch Binary Size Reduction (pytorch/executorch, 5.1k stars), Auto Embedded (DunCanYounG-1/MICU-auto-embedded, 253 stars) and Embedded Cpp14 Misra (BlueAndi/Pixelix, 443 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Matlab Create Custom Arduino Library?

matlab (a GitHub organization) maintains it in matlab/matlab-agentic-toolkit, which has 1,147 GitHub stars. The repository holds 151 skills in this directory. The repository was last updated on October 8, 2026.

Source: matlab/matlab-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.