Agent skill

Compile

by LennartHennigs in LennartHennigs/Button2

Compile Button2 examples across Arduino platforms using arduino-cli and PlatformIO.

MITAuto-check passedDevelopment

Install Compile

skills CLI
$ npx skills add LennartHennigs/Button2 --skill compile -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LennartHennigs/Button2 compile --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LennartHennigs/Button2.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/compile .claude/skills/compile && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
compile
GitHub stars
565
Token cost
~221 tokens
SKILL.md length
93 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Compile Button2 examples across Arduino platforms using arduino-cli and PlatformIO.

  • Tasks that involve Embedded systems
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Compile is an agent skill from LennartHennigs/Button2. Compile Button2 examples across Arduino platforms using arduino-cli and PlatformIO. Pass a platform name (esp8266, esp32, nano, all) or leave blank to compile all.

Its SKILL.md is about 220 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Embedded systems. It works with ESP32. The repository describes itself as: Arduino/ESP button library that provides callback functions to track single, double, triple and long clicks. It also takes care of debouncing. The licence is MIT.

When your agent uses it

  • Tasks that involve Embedded systems

Example prompts

  • “/compile”

What it can do on your machine

Read from SKILL.md and the folder at commit 2f8ba6a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Compile loads about 221 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 93 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~221

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LennartHennigs/Button2 at commit 2f8ba6a, republished under its MIT licence (© LennartHennigs). 93 words, ~221 tokens.

Download SKILL.mdSave it as .claude/skills/compile/SKILL.md (or your agent's skills folder).
name
compile
description
Compile Button2 examples across Arduino platforms using arduino-cli and PlatformIO. Pass a platform name (esp8266, esp32, nano, all) or leave blank to compile all.

Compile Button2 examples to verify they build cleanly across target platforms.

Parse $ARGUMENTS:

  • If a specific platform is named (esp8266, esp32, nano), run pio run -e <matching env> for that platform
  • If "examples" or nothing is given, run ./test/compile_examples.sh to compile all examples across all platforms
  • If a specific example name is given, find the matching .ino file under examples/ and compile it with arduino-cli compile for all three cores (esp8266:esp8266:d1_mini, esp32:esp32:m5stack_core2, arduino:avr:nano)

Report any compiler errors clearly, quoting the relevant error lines. If compilation is clean, confirm which platforms and examples passed.

© LennartHennigs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/compile of LennartHennigs/Button2.

Open the folder on GitHubat commit 2f8ba6a

Compare with similar skills

Compile next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Compile compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Compile this skillLennartHennigs/Button2565—~221Automated safety check: PassMIT
RuView Hardware Setupruvnet/RuView97k—~1.8kAutomated safety check: NotesMIT
Esp32 Firmware Engineeralxv2016/folloup-sticky1161 repos~3.8kAutomated safety check: PassGPL-3.0
RuView mmWave Radar Setupruvnet/RuView97k—~907Automated safety check: NotesMIT
Embedded DebugFastLED/FastLED7.5k—~1.4kAutomated safety check: PassMIT
Auto EmbeddedDunCanYounG-1/MICU-auto-embedded253—~1.6kAutomated safety check: PassCC-BY-NC-4.0

Similar skills

  • Brings a RuView CSI sensing node online by building ESP32-S3 or ESP32-C6 firmware, flashing the board, provisioning WiFi and checking the serial output.

    97k GitHub stars~1.8k tokensUpdated today
    DevelopmentAuto-check: notes
  • Esp32 Firmware Engineer

    alxv2016/folloup-sticky

    ESP32 firmware engineering for ESP-IDF projects. An agent skill from alxv2016/folloup-sticky.

    116 GitHub starsUsed in 1 repo~3.8k tokens
    DevelopmentAuto-check passed
  • Sets up and runs 60 GHz and 24 GHz mmWave radar sensing on ESP32 boards in RuView, alone or fused with WiFi CSI.

    97k GitHub stars~907 tokensUpdated today
    DevelopmentAuto-check: notes
  • Embedded Debug

    FastLED/FastLED

    Firmware crash analysis, stack trace decoder, and register dump interpreter for ESP32/ARM/AVR platforms.

    7.5k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Auto Embedded

    DunCanYounG-1/MICU-auto-embedded

    全平台嵌入式 AI 开发框架(对标 Trellis):把 RIPER-5 五阶段协议 + 四文件记忆 + 分层架构门禁 + Scout/Builder/Verifier 多 Agent + 24 个工具调用技能(build/flash/debug/serial/can/modbus/visa/static/memory/rtos/scons),做成『装进工程、项目级 hook…

    253 GitHub stars~1.6k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Embedded Cpp14 Misra

    BlueAndi/Pixelix

    A skill your agent uses when writing, reviewing, or refactoring C/C++ firmware code in this repository (src/, lib/, test/) — creating or editing .h/.hpp/.cpp files, applying MISRA-oriented and…

    443 GitHub stars~2k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from LennartHennigs/Button2

  • Commit

    LennartHennigs/Button2

    Stage and commit current changes for Button2 — checks for needed CHANGELOG/README/CLAUDE.md updates, creates a branch if on master, writes a commit message, and commits

    565 GitHub stars~562 tokensUpdated 4 mo ago
    Auto-check passed
  • Release

    LennartHennigs/Button2

    Cut a new Button2 release — suggests version bump based on change type, updates version files and CHANGELOG, commits, tags, pushes, creates a GitHub release, and publishes to PlatformIO

    565 GitHub stars~519 tokensUpdated 4 mo ago
    Auto-check passed
  • Readme

    LennartHennigs/Button2

    Audit README.md against the current Button2 API and recent CHANGELOG entries, then apply any needed updates

    565 GitHub stars~372 tokensUpdated 4 mo ago
    Auto-check passed

Works with

Categories

Questions about Compile

What does Compile do?

Compile Button2 examples across Arduino platforms using arduino-cli and PlatformIO. Compile is an agent skill from LennartHennigs/Button2. Compile Button2 examples across Arduino platforms using arduino-cli and PlatformIO.

When should I use Compile?

Compile fits situations like: tasks that involve Embedded systems.

How do I install Compile in Claude Code?

Run `npx skills add LennartHennigs/Button2 --skill compile -a claude-code`. Or copy the skill folder (.claude/skills/compile in LennartHennigs/Button2) into .claude/skills/compile in your project. Claude Code loads it when a task matches its description.

How do I install Compile in Codex?

Run `npx skills add LennartHennigs/Button2 --skill compile -a codex`. Or copy the skill folder (.claude/skills/compile in LennartHennigs/Button2) into .agents/skills/compile in your project. Codex loads it when a task matches its description.

Can I use Compile in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LennartHennigs/Button2 --skill compile -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/compile, .gemini/skills/compile, .github/skills/compile and .opencode/skills/compile in your project.

What does Compile need to run?

SKILL.md names no scripts, command-line tools or credentials: Compile is instructions for the agent only.

Does Compile access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Compile safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Compile use?

Compile is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Compile use?

About 221 tokens (SKILL.md is roughly 884 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Compile?

Skills that share tags, products or a category with Compile: RuView Hardware Setup (ruvnet/RuView, 97k stars), Esp32 Firmware Engineer (alxv2016/folloup-sticky, 116 stars), RuView mmWave Radar Setup (ruvnet/RuView, 97k stars) and Embedded Debug (FastLED/FastLED, 7.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Compile?

LennartHennigs (a GitHub user) maintains it in LennartHennigs/Button2, which has 565 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on June 6, 2026.

Source: LennartHennigs/Button2 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.