library-selection

library-selection is a skill for Claude Code from wedsamuel1230/arduino-skills. It costs 57 tokens per session (566 once invoked), scanned A, original, MIT.

A process for choosing, replacing, pinning, or reviewing software libraries for Arduino, ESP32, RP2040, C++, or vendor frameworks. It checks whether a library fits the board, framework, APIs, hardware, memory limits, license, and maintenance needs.

In plain words
What is it for?
Use it to compare candidate libraries, verify their source and supported versions, check dependencies and hardware behavior, select a fixed version, and test a minimal example.
Why use it?
A library that compiles may still use the wrong pins, timers, bus settings, memory model, or board assumptions. This process reduces compatibility, security, and maintenance surprises.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the arduino-skills plugin — 33 skills shipped together

Good fit Use it to compare candidate libraries, verify their source and supported versions, check dependencies and hardware behavior, select a fixed version, and test a minimal example.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wedsamuel1230/arduino-skills/library-selection
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 wedsamuel1230/arduino-skills --skill library-selection
Clone the repo
git clone --depth 1 https://github.com/wedsamuel1230/arduino-skills

Made for: Claude Code.

Or install arduino-skills, the plugin that ships this one along with the rest of its 33 skills.

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 library-selection

README.md
[![agentmods](https://agentmods.dev/badge/skills/wedsamuel1230/arduino-skills/library-selection/github.svg)](https://agentmods.dev/skills/wedsamuel1230/arduino-skills/library-selection)
Your own site
<a href="https://agentmods.dev/skills/wedsamuel1230/arduino-skills/library-selection"><img src="https://agentmods.dev/badge/skills/wedsamuel1230/arduino-skills/library-selection/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 library-selection

Your own site · 80×15
<a href="https://agentmods.dev/skills/wedsamuel1230/arduino-skills/library-selection"><img src="https://agentmods.dev/badge/skills/wedsamuel1230/arduino-skills/library-selection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 566 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.00057 $0.00566
Opus 5.5 $0.00023 $0.00226
Sonnet 5.5 $0.00011 $0.00113
Haiku 4.5 $0.00006 $0.00057

Measured 2mo ago against content hash 311397773e43, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

library-selection 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 2mo 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/library-selection/SKILL.md · 57 lines

How it starts

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

Library Selection

Treat a library as part of the firmware and hardware contract. A popular package that compiles for one architecture may still use incompatible pins, timers, memory, bus assumptions, or APIs on another.

Intake

Record exact board/module, architecture, Arduino core or vendor SDK, compiler, toolchain, required API, bus/pin constraints, memory budget, license boundary, update policy, and whether the device is connected or field-updatable.

Process

  1. Find the upstream source, release/tag, license, supported architectures, and framework instructions. Prefer primary repositories and current release notes.
  2. Compare candidate API fit, board variants, transitive dependencies, flash/ SRAM/heap impact, blocking behavior, concurrency, bus/pull-up assumptions, and error/recovery behavior.
  3. Check open issues and maintenance signals without treating stars or install count as compatibility proof.
  4. Select a pinned version, record provenance and rationale, and document unsupported board/framework branches.
  5. Run a minimal compile fixture, then a simulated or target behavior check.

Anti-rationalization

Shortcut Response
"It has many installs." Verify architecture, core version, API, and hardware contract.
"The newest version is best." Read release notes, compatibility, footprint, and regression history.
"The I2C scanner found it." Test library initialization, register reads, timing, and error paths.
"It worked on AVR." Recheck ESP32/S3/Pico architecture, pins, timers, and memory.
"The dependency is only a helper." Include transitive code and license/security review.

Verification

  • Candidate comparison contains source, version, architecture, and license.
  • Minimal compile output names the exact FQBN/environment and dependency resolution.
  • Memory delta and one runtime/simulation behavior result are recorded.
  • Connected devices have a dependency update and secret-handling plan.

Read the full file on GitHub · 57 lines

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. 2mo ago First seen · 57 lines · 57 tokens per session scan A 311397773e43

Subscribe to this mod's changes

library-selection is a skill published in the GitHub repository wedsamuel1230/arduino-skills (24 stars, last pushed 2mo ago), licensed MIT. It adds 57 tokens to every session and 566 once invoked, about $0.0002 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

library-selection compared with skills from other repositories

library-selection next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
library-selectionwedsamuel1230/arduino-skillsSkill242mo agoMITA57Claude Code
zephyr-jsonksachdeva/zephyr-rtos-aiSkill234mo agoApache-2.0A68Claude Code, Codex
c-proagent-skills-hub/agent-skills-hubSkill1281mo agoMITA47Claude Code, Codex
cardputer-buddyanthropics/claude-plugins-officialSkill46kyesterdayApache-2.0A109Claude Code
doca-argpNVIDIA/skillsSkill3.9kyesterdayApache-2.0A277Claude Code, Codex
holoscan-module-lifecycleNVIDIA/skillsSkill3.9kyesterdayApache-2.0A47Claude Code, Codex
embedded-stm32Mindrally/skillsSkill29729d agoApache-2.0A87Claude Code