arduino-cli-skill
Use when users need Arduino CLI commands for board discovery, library installation, compilation, upload, or serial-port troubleshooting on Windows, macOS, or Linux. Use it as the CLI branch of a broader workflow when the project also involves Arduino IDE, PlatformIO, vendor tools, hardware, power, or deployment.
How do I install this agent skill?
npx skills add https://github.com/wedsamuel1230/arduino-skills --skill arduino-cli-skillIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill is a collection of documentation and scripts designed to help users use the Arduino CLI for board management and sketch uploading. It contains standard cross-platform commands and does not exhibit any malicious behavior.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Arduino CLI Skill
Provide cross-platform arduino-cli workflows and command references.
Resources
references/commands.md- board, core, library, compile, and upload commandsreferences/serial-ports.md- OS-specific serial port discoveryrules/common-pitfalls.md- common command mistakes and recovery guidanceexamples/README.md- runnable command sequences../../docs/board-support/uno-r4-family.md- Uno R4 Minima and Uno R4 WiFi support notes
Workflow
- Identify the user's platform and target board.
- Open
references/serial-ports.mdif the task depends on port discovery. - Open
references/commands.mdfor the exact command family you need. - Check
rules/common-pitfalls.mdbefore suggesting upload or compile fixes. - If the target is Uno R4 family and the problem touches WiFi, firmware bridge,
or OTA-related setup, open
../../docs/board-support/uno-r4-family.md. - Prefer
arduino-cliJSON output when the result will be parsed or reused.
Compatibility And Proof Boundary
Record arduino-cli version, the core/index version, FQBN, libraries, host OS,
and port before changing commands. Check library architecture support and board
package compatibility. A successful compile is build proof only; an accepted
upload is upload proof and does not establish hardware or system success. For
IDE, PlatformIO, or vendor-specific commands, route to the appropriate branch
instead of silently translating them.
Quick Start
arduino-cli board list
arduino-cli core list
arduino-cli compile --fqbn arduino:avr:uno path/to/sketch
arduino-cli upload -p /dev/ttyACM0 --fqbn arduino:avr:uno path/to/sketch
Verification
- Confirm the
fqbnmatches the target board. - Confirm the selected serial port exists before upload.
- Prefer command output over remembered defaults when troubleshooting.
See references/commands.md and references/serial-ports.md for detailed examples.
Shared Output Contract
Use the shared Arduino skill contract: state assumptions, required tools and versions, implementation steps, tests/evidence by proof stage, known limitations, and recovery/security notes.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/wedsamuel1230/arduino-skills/arduino-cli-skill">View arduino-cli-skill on skillZs</a>