lgt8f328p-minievb

lgt8f328p-minievb is a skill for Claude Code, Codex from alexex1993/mcu-skills. It costs 0 tokens per session (5,344 once invoked), scanned A, original, MIT.

A hardware-specific guide for writing firmware for the LGT8F328P MiniEVB, a small Arduino-Nano-style development board built around a different microcontroller. It explains the board’s pins, clock, memory, peripherals, toolchain, and recovery process.

In plain words
What is it for?
Use it to configure projects, control pins and timers, read the 12-bit ADC, use the DAC, flash firmware, and diagnose board-specific problems.
Why use it?
It prevents mistakes caused by assuming the board behaves exactly like an ATmega328P Arduino Nano. Those assumptions can compile successfully while producing different hardware behavior.

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 projects, control pins and timers, read the 12-bit ADC, use the DAC, flash firmware, and diagnose board-specific problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexex1993/mcu-skills/lgt8f328p-minievb
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 lgt8f328p-minievb
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 lgt8f328p-minievb

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexex1993/mcu-skills/lgt8f328p-minievb"><img src="https://agentmods.dev/badge/skills/alexex1993/mcu-skills/lgt8f328p-minievb.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 5,344 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: 2 findings, 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.
  • medium Rogue Agent · line 108
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.05344
Opus 5 $0.00000 $0.02672
Sonnet 5 $0.00000 $0.01069
Haiku 4.5 $0.00000 $0.00534

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

Security

Grade A, and why

lgt8f328p-minievb 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 8d 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/lgt8f328p-minievb/SKILL.md · 259 lines

How it starts

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

LGT8F328P-LQFP32 MiniEVB ("LGTBF32BP")

A board that looks exactly like an Arduino Nano, takes the same sketches, and is not one. The LGT8F328P is a Logic Green LGT8XM core that executes the AVR instruction set inside a chip with a different clock system, a 12-bit ADC, a DAC, four timers, no real EEPROM and no crystal. board.build.mcu is literally atmega328p, so everything compiles and most things silently behave differently. Almost every failure on this board is a Nano assumption that was not true.

Read the reference files rather than reasoning from ATmega328P knowledge.

  • reference/board-hardware.md — the complete board reference: the LQFP32 pin map with the four bonded pads, Arduino pin numbering past D19, timer/PWM map, PMX0/1/2 alternate routing, the HDR high-current table, power tree, clock tree, memory map and the EEPROM emulation, plus a development guide (§8 toolchain and measured build sizes, §9 the clock-prescaler trap, §10 peripheral cookbook, §11 core gotchas, §12 flashing and SWD recovery, §13 symptom → cause → fix table).
  • reference/recipes.md — copy-paste code: platformio.ini, board.h, blink, the 12-bit ADC, measuring the real VCC, the DAC on D4, Timer3 PWM on D1/D2, 80 mA drive, emulated EEPROM, moving the UART to D5/D6, sleep, and disabling SWD.
  • template/ — a project that builds clean, in two variants, plus a scaffold script. See template/README.md.

Confirm the board first

The silkscreen LGTBF32BP is Logic Green's stylisation of LGT8F328P, not a different part. What actually has to be decided is the package, because it picks the core variant:

Package Board PlatformIO board build.variant
LQFP32 Nano-style 30-pin MiniEVB, "purple nano", WAVGAT — this skill LGT8F328P lgt8fx8p
LQFP48 MiniEVB 48-pin breakout lgt8f328p-LQFP48 lgt8fx8p48
SSOP20 "green pseudo Pro Mini" LGT8F328P-SSOP20 lgt8fx8ps20
LQFP32 Wemos TTGO XI lgt8f328p-wemos-TTGO-XI lgt8fx8p-wemos-TTGO-XI

Read the full file on GitHub · 259 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. 8d ago First seen · 259 lines · 0 tokens per session scan A 597a2a082fab

Subscribe to this mod's changes

lgt8f328p-minievb 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 5,344 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-09-04.

Related

Other skills, from other repositories

doca-argp

Use this skill for hands-on DOCA Arg Parser CLI work on a shipped sample or new DOCA-using app — adding / removing / renaming flags; wiring docaargpinit → register params → docaargpstart → docaargpdestroy in order; picking a parameter type from the full public enum (DOCAARGPTYPESTRING, INT, BOOLEAN, DEVICE, DEVICEREP…

NVIDIA/skills · 267 tokens

holoscan-install-wheel

Install Holoscan SDK Python wheel via pip into a venv. Use for Python installs; not for native C++/apt or Conda installs.

NVIDIA/skills · 37 tokens

mspm0-skill

Tool-neutral CLI agent rules for TI MSPM0 development with SysConfig, DriverLib, CCS, Keil/uVision, CMake/GCC/OpenOCD, and supported board references. Use when an agent needs to inspect or modify MSPM0 projects, validate SysConfig output, package examples, or work on NUEDC embedded firmware.

Ibook000/mspm0-skill · 76 tokens

arduino-code-generator

Generate Arduino and embedded C++ snippets for sensors, actuators, buses, state machines, timing, data logging, and hardware abstraction. Use when a user requests implementation code and provide the exact board, framework, toolchain, pins, voltage, memory, and library versions first. Bundled templates target UNO…

wedsamuel1230/arduino-skills · 86 tokens

arduino-project-builder

Build complete Arduino and embedded projects across Arduino IDE, Arduino CLI, PlatformIO, and vendor-specific toolchains. Use when users request an application combining firmware, sensors, actuators, networking, power, or deployment rather than a code snippet. The bundled scaffold targets UNO, ESP32, and Raspberry Pi…

wedsamuel1230/arduino-skills · 78 tokens

keymap-ai

Expert assistant for ZMK and QMK keyboard firmware configs. Use when auditing or improving a zmk-config or QMK keymap, tuning home row mods or hold-taps, adding smart layers (numword, caps word), configuring trackballs, trackpads, trackpoints, encoders and per-layer input processors, generating keymap-drawer diagrams…

johncattrall/keymap-ai · 146 tokens