rp2040-pico

rp2040-pico is a skill for Claude Code, Codex from alexex1993/mcu-skills. It costs 0 tokens per session (3,908 once invoked), scanned A, original, MIT.

Board-specific firmware guidance for the Raspberry Pi Pico, a small programmable board based on the RP2040 microcontroller.

In plain words
What is it for?
Use it to configure PlatformIO or arduino-pico, build USB, ADC, PWM, I2C, serial, interrupt, and sleep features, and flash or recover the board.
Why use it?
It helps avoid errors involving the selected Arduino core, serial ports, power-related pins, and the board's peripheral mappings.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it to configure PlatformIO or arduino-pico, build USB, ADC, PWM, I2C, serial, interrupt, and sleep features, and flash or recover the board.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexex1993/mcu-skills/rp2040-pico"><img src="https://agentmods.dev/badge/skills/alexex1993/mcu-skills/rp2040-pico.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,908 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00000 $0.03908
Opus 5 $0.00000 $0.01954
Sonnet 5 $0.00000 $0.00782
Haiku 4.5 $0.00000 $0.00391

Measured 12d ago against content hash 5d15f9e4109d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

rp2040-pico 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (template/variants/new-project.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/rp2/rp2040-pico/SKILL.md · 222 lines

How it starts

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

Raspberry Pi Pico (RP2040)

Board-specific firmware knowledge. The Pico's failure modes are quiet: a wrong platformio.ini line silently links a different Arduino core, Serial goes to a port that does not exist yet, and an ADC pin doubles as a power rail — so read the reference files rather than guessing.

  • reference/board-hardware.md — the complete board reference: 40-pin map with alt functions, the four hidden GPIOs, power tree, clocks, memory map, relevant errata plus a development guide (Part II: §7 toolchain and the core-choice table, §8 peripheral cookbook, §9 flashing, §10 symptom → cause → fix table).
  • reference/recipes.md — copy-paste code: platformio.ini, board.h excerpts, USB CDC + Serial1, ADC with the VSYS ×3 math, PWM and the slice rule, Wire1 remapping, EEPROM with commit(), interrupts, core 1, BOOTSEL tricks.
  • template/ — a project that builds clean, in two variants, plus a scaffold script. See template/README.md.

Orientation

MCU RP2040 — 2× ARM Cortex-M0+ @ 133 MHz (arduino-pico default; SDK default 125 MHz), 40 nm QFN-56
Memory 264 KB SRAM (6 banks), no internal flash — 2 MB W25Q16JV QSPI, XIP from 0x10000000 + 16 KB cache. Max sketch 2,093,056 B (last 4 KB = emulated EEPROM)
LED / button LED = GPIO25, active-HIGH, not on the header · BOOTSEL button, sampled at power-up only
USB micro-B, FS device/host; Serial = USB CDC; 1200-baud touch reboots into BOOTSEL; enumerates as VID:PID 2E8A:000A ("Raspberry Pi" / "Pico") once the sketch is running
ADC 12-bit 500 ksps: A0=GPIO26, A1=27, A2=28, A3=GPIO29 = VSYS/3 (internal) + channel 4 = die temp; analogRead is 10-bit by default; ENOB 8.7 bits
PWM every GPIO, 16 ch (8 slices × 2); analogWrite default 8-bit @ 1 kHz; GPIO 2n & 2n+1 share one slice
Bus defaults Wire = 4/5 · Wire1 = 26/27 (= A0/A1!) · SPI = 17/18/19/16 · Serial1 = 0/1 · Serial2 = 8/9
Power VBUS 5 V → diode → VSYS 1.8-5.5 V → RT6150 buck-boost → 3.3 V; 3V3 pin out < 300 mA; 3V3_EN low = board "dead"
Debug 3-pin SWD header (SWCLK/GND/SWDIO); boot ROM is mask ROM — unbrickable
Toolchain PlatformIO + raspberrypi 1.19.0 + arduino-pico 5.6.0 (board_build.core = earlephilhower)

Read the full file on GitHub · 222 lines

Files

What ships with it

10 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. 12d ago First seen · 222 lines · 0 tokens per session scan A 5d15f9e4109d

Subscribe to this mod's changes

rp2040-pico is a skill published in the GitHub repository alexex1993/mcu-skills (17 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,908 tokens. 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

iot-developer

Expert in IoT development, microcontrollers, sensors, and MQTT protocols.

daffy0208/ai-dev-standards · 18 tokens

edge-iot

Edge computing, IoT protocols, and embedded systems integration.

miles990/claude-software-skills · 15 tokens

ruview-configure

Configure RuView — ESP32 sdkconfig variants, NVS provisioning, WiFi channel / MAC filter overrides (ADR-060), edge intelligence modules (ADR-041), sensing-server flags, multi-node mesh, and Cognitum Seed integration. Use when adjusting how a deployed RuView system behaves without changing code.

ruvnet/RuView · 67 tokens

ruview-applications

Run RuView sensing applications — presence/occupancy, breathing & heart rate, activity & fall detection, 17-keypoint pose estimation (WiFlow), sleep monitoring & apnea screening, environment mapping, Mass Casualty Assessment (MAT), and the 3D point-cloud fusion demo. Use when someone wants to actually do something…

ruvnet/RuView · 79 tokens

ruview-mmwave

Set up and run RuView mmWave / FMCW radar sensing — ESP32-C6 + Seeed MR60BHA2 (60 GHz, heart rate / breathing rate / presence) and HLK-LD2410 (24 GHz, presence + distance), plus mmWave↔WiFi-CSI sensor fusion (48-byte fused vitals, MR60BHA2/LD2410 auto-detect, v0.5.0+). Use when the deployment includes a…

ruvnet/RuView · 116 tokens

provision-node

Build, flash, and provision an ESP32-S3/C6 CSI node for RuView — firmware variant choice, ESP-IDF Windows-subprocess flow, NVS/WiFi/channel/MAC-filter overrides.

ruvnet/RuView · 46 tokens