electronic-mcp-server: Skill for Claude Code

.github/skills/error-message-explainer/SKILL.md

error-message-explainer is a skill for Claude Code, Codex from wedsamuel1230/electronic-mcp-server. It costs 66 tokens per session (2,556 once invoked), scanned A, a copy of error-message-explainer, MIT.

A beginner-focused guide that explains compiler, upload, and library errors for Arduino, ESP32, and RP2040 microcontroller projects. It translates error messages into plain English and suggests likely fixes, including examples.

In plain words
What is it for?
Use it when diagnosing compilation failures, upload problems, missing libraries, undefined names, type mismatches, or board-specific errors.
Why use it?
Microcontroller toolchains often produce terse errors that are difficult to interpret. The guide helps identify what went wrong, why it happened, and what to check next.

Skill for Claude CodeCodex

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

This is wedsamuel1230/electronic-mcp-server's own configuration. It tells Claude Code and Codex how to work on electronic-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything electronic-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to wedsamuel1230/electronic-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/wedsamuel1230/electronic-mcp-server/main/.github/skills/error-message-explainer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/wedsamuel1230/electronic-mcp-server

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 error-message-explainer

README.md
[![agentmods](https://agentmods.dev/badge/skills/wedsamuel1230/electronic-mcp-server/error-message-explainer.svg)](https://agentmods.dev/skills/wedsamuel1230/electronic-mcp-server/error-message-explainer)
Your own site
<a href="https://agentmods.dev/skills/wedsamuel1230/electronic-mcp-server/error-message-explainer"><img src="https://agentmods.dev/badge/skills/wedsamuel1230/electronic-mcp-server/error-message-explainer.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,556 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 86% copy Near-identical to another mod 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.00066 $0.02556
Opus 5 $0.00033 $0.01278
Sonnet 5 $0.00013 $0.00511
Haiku 4.5 $0.00007 $0.00256

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

Security

Grade A, and why

error-message-explainer 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 (scripts/parse_errors.py), 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.

Origin

This is a copy

86% identical to error-message-explainer — 30 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/skills/error-message-explainer/SKILL.md · 422 lines

How it starts

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

Error Message Explainer

Translates cryptic compiler errors into actionable fixes for Arduino/ESP32/RP2040 projects.

Resources

This skill includes bundled tools:

  • scripts/parse_errors.py - Automated error analysis with 20+ error patterns

Quick Start

Analyze error from file:

uv run scripts/parse_errors.py --file error_log.txt

Analyze single error:

uv run scripts/parse_errors.py --message "error: 'LED' was not declared in this scope"

Interactive mode:

uv run scripts/parse_errors.py --interactive

Pipe from compiler:

arduino-cli compile 2>&1 | uv run scripts/parse_errors.py --stdin

How to Use This Skill

When user pastes an error message:

  1. Identify the error type from patterns below
  2. Explain what it means in simple terms
  3. Show the specific fix with code example
  4. Explain WHY this error happens (educational value)

Common Compilation Errors

1. "'xyz' was not declared in this scope"

error: 'xyz' was not declared in this scope

Meaning: Compiler doesn't recognize the name xyz.

Common Causes & Fixes:

Cause Fix
Typo in variable/function name Check spelling, C++ is case-sensitive!
Variable used before declaration Move declaration before first use
Missing #include Add required library header
Function defined after it's called Add forward declaration or move function up

Example - Typo:

// WRONG
int ledpin = 13;      // lowercase 'p'
digitalWrite(ledPin, HIGH);  // uppercase 'P' - DIFFERENT!

// CORRECT
int ledPin = 13;
digitalWrite(ledPin, HIGH);

Example - Missing Include:

// WRONG - Servo not defined!
Servo myServo;

// CORRECT
#include <Servo.h>
Servo myServo;

2. "expected ';' before..."

error: expected ';' before 'xyz'

Meaning: Missing semicolon on the previous line.

Fix: Add ; at end of the line ABOVE the error.

// WRONG - error points to line 3
int x = 5       // ← missing ; here!
int y = 10;

// CORRECT
int x = 5;
int y = 10;

Read the full file on GitHub · 422 lines

Files

What ships with it

2 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 First seen · 422 lines · 66 tokens per session scan A 5c322368c1b9

Subscribe to this mod's changes

error-message-explainer is a skill published in the GitHub repository wedsamuel1230/electronic-mcp-server (1 stars, last pushed 8mo ago), licensed MIT. It adds 66 tokens to every session and 2,556 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to error-message-explainer, differing in 30 lines, and is treated as a copy.

Related

Other skills, from other repositories

gke-ai-troubleshooting-tpu-dynamic-slices-monitoring

Monitors, troubleshoots, and manages GKE TPU Dynamic Slices custom resources. Use when checking TPU slice lifecycle states, troubleshooting slice provisioning failures, validating single-slice or multi-slice (JobSet) workload manifests, or safely patching stuck finalizers and disabling the slice controller. Don't use…

google/skills · 107 tokens

gke-ai-troubleshooting-tpu-vbar-oom

Diagnoses and prevents vbarcontrolagent segfaults, out-of-memory (OOM) errors, and TPU device initialization failures on TPU v6e nodes in GKE caused by race conditions during TPU device resets or high-frequency metrics polling. Use when troubleshooting vbarcontrolagent crashes, memory cgroup OOMs in serial console…

google/skills · 125 tokens

competition-firmware-layout

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for firmware images, partition tables, boot chains, update packages, extracted filesystems, embedded configs, and device-facing trust boundaries. Use when the user asks to unpack firmware, map partition layout, inspect bootloader or init…

zhaoxuya520/reverse-skill · 110 tokens

doca-flow

Build and debug DOCA Flow applications on supported NVIDIA NICs/DPUs: define match/action pipes, initialize ports and representors, choose forwarding targets, validate pipes before hardware programming, read counters, match the Flow version to the installed DOCA release, and diagnose Flow API errors. Trigger on DOCA…

NVIDIA/skills · 140 tokens

diagnose-driver-install

Diagnose NVIDIA driver installation failures on DeepOps-managed nodes — nvidia-smi errors, "No devices were found", DKMS build failures, or GPU pods crash-looping. Use before reinstalling anything.

NVIDIA/deepops · 47 tokens

catc-troubleshoot

Catalyst Center troubleshooting workflows - device unreachable investigation, client connectivity issues, interface down analysis, site-wide outage triage, wireless roaming problems, integration with pyATS for CLI-level diagnostics. Use when a device is unreachable, a user reports connectivity problems, an interface…

automateyournetwork/netclaw · 74 tokens