atmega328p-nano

atmega328p-nano is a skill for Claude Code, Codex from alexex1993/mcu-skills. It costs 190 tokens per session (3,235 once invoked), scanned A, original, MIT.

Board-specific firmware guidance for the Arduino Nano, a 5-volt microcontroller board based on the ATmega328P chip.

In plain words
What is it for?
Use it to configure PlatformIO or Arduino, build peripheral features, flash the board, manage EEPROM and sleep modes, and diagnose failures.
Why use it?
It helps prevent quiet hardware and configuration mistakes involving pins, memory, timers, serial communication, and the selected development setup.

Skill for Claude CodeCodex

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

Good fit Use it to configure PlatformIO or Arduino, build peripheral features, flash the board, manage EEPROM and sleep modes, and diagnose failures.

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

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin atmega328p-nano — /plugin install atmega328p-nano after adding the marketplace above.

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 atmega328p-nano

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexex1993/mcu-skills/atmega328p-nano"><img src="https://agentmods.dev/badge/skills/alexex1993/mcu-skills/atmega328p-nano.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 190 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,235 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
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.00190 $0.03235
Opus 5.5 $0.00076 $0.01294
Sonnet 5.5 $0.00038 $0.00647
Haiku 4.5 $0.00019 $0.00324

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

Security

Grade A, and why

atmega328p-nano 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 6d 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/avr/atmega328p-nano/SKILL.md · 205 lines

How it starts

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

Arduino Nano (ATmega328P)

Board-specific firmware knowledge. The Nano is simple enough that every failure mode is silent — the sketch compiles, uploads, runs, and does something subtly wrong — so read the reference file rather than guessing.

  • reference/board-hardware.md — the complete board reference: corrected pin map (the official manual's own tables contain errors), power tree, clock, memory map, connector/LED inventory plus a development guide (Part II: §8 toolchain, §10 peripheral cookbook, §11 gotchas, §12 flashing, §13 symptom → cause → fix table).
  • reference/recipes.md — copy-paste code: platformio.ini, board.h, non-blocking timing, serial + free RAM, EEPROM with update semantics, ADC and references, interrupts, the timer/PWM map, Servo vs tone(), power-down sleep, PROGMEM tables.
  • template/ — a project that builds clean, in two variants, plus a scaffold script. See template/README.md.

Orientation

MCU ATmega328P, 8-bit AVR @ 16 MHz (crystal — fixed, no PLL), Harvard architecture
Memory 32 KB flash (30,720 B usable — 2 KB bootloader reserve), 2 KB SRAM, 1 KB EEPROM. No DMA, no MPU
LED / button L = D13 (LED_BUILTIN), on = HIGH · RESET button, active-low
ADC 8 × 10-bit, 0–5 V, ~100 µs per analogRead(); A6/A7 are analog-input only
PWM 6 × 8-bit: D3, D11 (~490 Hz, Timer2), D9, D10 (~490 Hz, Timer1), D5, D6 (~980 Hz, Timer0)
UART D0/D1 — shared with the USB-serial chip, not free pins
I2C / SPI A4=SDA, A5=SCL · D10=SS, D11=MOSI, D12=MISO, D13=SCK (+ICSP header)
Power 5 V logic. USB Mini-B, VIN 7–12 V via LDO, +5V pin (bypasses regulator). 3V3 pin 50 mA max
Debug No SWD/JTAG — only the 6-pin ICSP header (pin 1 at the outer edge; some diagrams rotate it 180°)
Toolchain PlatformIO 6.1 + atmelavr 5.3.0 + Arduino AVR core, board = nanoatmega328new (Optiboot) / nanoatmega328 (old bootloader)

Rules that prevent the expensive mistakes

Read the full file on GitHub · 205 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. 6d ago Changed · +2 lines · +190 tokens per session 0c7a1156ef45
  2. 2mo ago First seen · 203 lines · 0 tokens per session scan A 31563dc4a248

Subscribe to this mod's changes

atmega328p-nano is a skill published in the GitHub repository alexex1993/mcu-skills (25 stars, last pushed 7d ago), licensed MIT. It adds 190 tokens to every session and 3,235 once invoked, about $0.0008 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

atmega328p-nano compared with skills from other repositories

atmega328p-nano next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
atmega328p-nanoalexex1993/mcu-skillsSkill257d agoMITA190Claude Code, Codex
iot-developerdaffy0208/ai-dev-standardsSkill3910mo agoMITA18Claude Code, Codex
edge-iotmiles990/claude-software-skillsSkill269mo agoMITB15Claude Code, Codex
ruview-configureruvnet/RuViewSkill103kyesterdayMITA67Claude Code
ruview-applicationsruvnet/RuViewSkill103kyesterdayMITA79Claude Code
provision-noderuvnet/RuViewSkill103kyesterdayMITA52Claude Code
spark-environment-setupwshobson/agentsSkill42kyesterdayMITA76Claude Code