arduino-cli

Provides commands and workflows for Arduino CLI. Use when the user wants to create, compile, or upload Arduino sketches, manage boards (list, attach), install/search/list cores (platforms) and libraries, or configure Arduino CLI. Triggers on phrases like "arduino-cli", "compile sketch", "upload arduino", "install arduino core", or "arduino library".

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "arduino-cli" with this command: npx skills add 547895019/arduino-cli

Arduino CLI Skill

This skill provides guidance for using the arduino-cli to manage Arduino projects, boards, cores, and libraries from the command line.

Quick Reference

1. Configuration & Setup

Initialize the configuration file (usually in ~/.arduino15/arduino-cli.yaml):

arduino-cli config init

Update the local cache of available platforms and libraries (do this first!):

arduino-cli core update-index

2. Board Management

List connected boards to find the port and FQBN (Fully Qualified Board Name):

arduino-cli board list

List all supported boards and their FQBN strings:

arduino-cli board listall <search_term>

3. Core (Platform) Management

Search for a core:

arduino-cli core search <keyword>

Install a core using its ID (e.g., arduino:samd):

arduino-cli core install <core_id>

List installed cores:

arduino-cli core list

4. Sketch Workflow

Create a new sketch:

arduino-cli sketch new <SketchName>

Compile a sketch (requires the board's FQBN):

arduino-cli compile --fqbn <FQBN> <SketchName>

Example: arduino-cli compile --fqbn arduino:samd:mkr1000 MyFirstSketch

Upload a sketch to a connected board:

arduino-cli upload -p <port> --fqbn <FQBN> <SketchName>

Example: arduino-cli upload -p /dev/ttyACM0 --fqbn arduino:samd:mkr1000 MyFirstSketch

5. Library Management

Search for a library:

arduino-cli lib search <keyword>

Install a library:

arduino-cli lib install "<Library Name>"

Adding 3rd Party Cores (e.g., ESP8266)

To install 3rd party cores, pass the --additional-urls flag to your core commands:

arduino-cli core update-index --additional-urls https://arduino.esp8266.com/stable/package_esp8266com_index.json
arduino-cli core install esp8266:esp8266 --additional-urls https://arduino.esp8266.com/stable/package_esp8266com_index.json

(Alternatively, these URLs can be added to the board_manager.additional_urls array in arduino-cli.yaml)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Spicy Ai Video

Turn a 60-second talking head clip into 1080p high-energy edited videos just by typing what you need. Whether it's turning bland footage into visually intens...

Registry SourceRecently Updated
Coding

Video Maker Fast

Get polished MP4 videos ready to post, without touching a single slider. Upload your video clips (MP4, MOV, AVI, WebM, up to 500MB), say something like "trim...

Registry SourceRecently Updated
Coding

Generation Generator

generate text prompts or clips into AI generated videos with this skill. Works with MP4, MOV, PNG, JPG files up to 500MB. marketers, content creators, social...

Registry SourceRecently Updated
Coding

Editor On Android

Get edited MP4 clips ready to post, without touching a single slider. Upload your video clips (MP4, MOV, AVI, WebM, up to 500MB), say something like "trim th...

Registry SourceRecently Updated