AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Esp32 Pin Audit

skill-agodianel-esp32-claude-workbench-esp32-pin-audit · by agodianel

Audit ESP32 GPIO usage for conflicts, reserved pin violations, and documentation drift.

No reviews yet
0 installs
21 views
0.0% view→install

Install

$ agentstack add skill-agodianel-esp32-claude-workbench-esp32-pin-audit

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-agodianel-esp32-claude-workbench-esp32-pin-audit)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
5mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Esp32 Pin Audit? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

ESP32 Pin Audit

Systematically audit GPIO pin usage across the project to detect conflicts, reserved pin misuse, and undocumented assignments.

When to Use

  • Before adding new peripheral code.
  • During architecture review.
  • When debugging mysterious hardware behavior.
  • Before release.

Steps

1. Collect All Pin Declarations

Search the project for pin definitions:

# Macro definitions
grep -rn "#define.*GPIO\|#define.*PIN\|#define.*SDA\|#define.*SCL\|#define.*MOSI\|#define.*MISO\|#define.*CS\|#define.*CLK" --include="*.h" --include="*.c"

# GPIO_NUM usage
grep -rn "GPIO_NUM_" --include="*.c" --include="*.h"

# Kconfig GPIO options
grep -rn "CONFIG_.*GPIO\|CONFIG_.*PIN" sdkconfig.defaults sdkconfig 2>/dev/null

2. Check Reserved Pins

Flag violations against these reserved pins:

| GPIO | Restriction | Reason | |------|-------------|--------| | 0 | Boot strapping | Must be HIGH for normal boot, LOW for download | | 1 | UART0 TX | Default serial output | | 2 | Boot strapping | Must be LOW during flash | | 3 | UART0 RX | Default serial input | | 6–11 | FORBIDDEN | Connected to internal SPI flash | | 12 | Boot strapping | MTDI — affects flash voltage | | 15 | Boot strapping | MTDO — affects debug output | | 34–39 | Input-only | No output capability, no pull-up/pull-down |

3. Detect Conflicts

Build a pin allocation table and check for:

  • Double assignment: Same GPIO used by two different peripherals.
  • Bus conflicts: I2C and SPI sharing the same pins.
  • ADC/DAC conflicts: ADC2 channels unusable when Wi-Fi is active.
  • Strapping conflicts: Boot pins used without awareness.

4. Verify Pull-Up/Pull-Down Configuration

For I2C lines:

  • External pull-ups are required. Internal pull-ups are too weak for reliable I2C.
  • Flag if only internal pull-ups are configured for I2C.

For inputs with no external circuitry:

  • Verify pull-up or pull-down is configured to avoid floating pins.

5. Check Documentation

Compare actual code pin usage against:

  • Pin map comments in source files.
  • README or documentation references.
  • Schematic references if available.

Flag any drift between documented and actual usage.

6. Generate Audit Report

# Pin Audit Report

## Pin Allocation Table
| GPIO | Function | Component | Direction | Pull | Notes |
|------|----------|-----------|-----------|------|-------|

## Violations
- [ ] [Description of violation]

## Conflicts
- [ ] [Description of conflict]

## Warnings
- [ ] [Potential issues to investigate]

## Documentation Drift
- [ ] [Documented vs. actual usage]

ADC2 Wi-Fi Warning

Critical: ADC2 channels (GPIO 0, 2, 4, 12, 13, 14, 15, 25, 26, 27) cannot be used while Wi-Fi is active. Always flag ADC2 usage in Wi-Fi-enabled projects.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.