Agent skill

Build Cmake

by LeoKemp223 in LeoKemp223/embed-ai-tool

当需要配置或构建基于 CMake 的嵌入式固件工程,调用自带脚本执行构建并定位固件产物时使用. An agent skill from LeoKemp223/embed-ai-tool.

No licenceAuto-check passedDevelopment

Install Build Cmake

skills CLI
$ npx skills add LeoKemp223/embed-ai-tool --skill build-cmake -a claude-code

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

GitHub CLI
$ gh skill install LeoKemp223/embed-ai-tool build-cmake --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/LeoKemp223/embed-ai-tool.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/build-cmake .claude/skills/build-cmake && 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
build-cmake
GitHub stars
991
Token cost
~546 tokens
SKILL.md length
133 words
Files
4 (incl. scripts, references)
Skills in repo
25
Repo updated
First seen
Licence
None found

At a glance

当需要配置或构建基于 CMake 的嵌入式固件工程,调用自带脚本执行构建并定位固件产物时使用. An agent skill from LeoKemp223/embed-ai-tool.

  • Works in 7 steps: 先阅读… → 直接运行目标动作即可——脚本启动时会自动复用工程根目录… → 若无缓存或用户要求重新探测,脚本自动回退到… → …
  • Development work in your project
  • SKILL.md covers 适用场景, 必要输入, 自动探测 and 执行步骤, plus 4 more sections
  • Runs Python scripts from its folder

What it does

Build Cmake is an agent skill from LeoKemp223/embed-ai-tool. 当需要配置或构建基于 CMake 的嵌入式固件工程,调用自带脚本执行构建并定位固件产物时使用。

Its SKILL.md is about 550 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/usage.md` and `scripts/cmake_builder.py`).

It sits in Development. It works with C++. The repository describes itself as: 面向 AI 编程助手的嵌入式开发技能集,为大模型提供 MCU 固件开发全流程能力。涵盖多工具链构建(Keil / IAR / CMake / PlatformIO)、烧录、GDB 调试、串口监视、Modbus / CAN / VISA 协议调试、外设驱动适配及流水线编排,支持 Linux、macOS、Windows 三平台。

When your agent uses it

  • Development work in your project

Example prompts

  • “/build-cmake”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. 先阅读 references/usage.md,确认本次是执行构建、环境探测、列出预设,还是仅扫描产物。
  2. 直接运行目标动作即可——脚本启动时会自动复用工程根目录 .em_skill.json 中上次成功构建的源码目录、构建目录、预设、目标和产物信息(显式参数优先)。仅当需要断言缓存必须存在时才加 --resume --profile default。
  3. 若无缓存或用户要求重新探测,脚本自动回退到 --detect、--list-presets 或手动参数探索。
  4. 若存在 CMakePresets.json,使用 --list-presets 列出预设,再用 --preset 构建。
  5. 若无预设,使用 --source、--build-dir、--generator、--build-type、--toolchain 手动配置构建。
  6. 读取脚本输出的构建结果和产物扫描报告,重点关注首选产物(ELF > HEX > BIN)和失败分类。
  7. 成功构建后脚本会自动更新工程根目录 .em_skill.json 的 skill_profiles.build-cmake.default;将构建目录、产物路径、产物类型和生成器信息同步到 Project Profile,并在需要时交给下游 skill。

What it can do on your machine

Read from SKILL.md and the folder at commit 9218f23. 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

    Ships 1 file in scripts/ (Python), which the agent can run.

    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

Build Cmake loads about 546 tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 15 tokens; SKILL.md has 133 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~15
When it runs · the whole SKILL.md, loaded when a task matches
~546
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2k

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); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 133 words (~546 tokens).

name
build-cmake

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (scripts, references) in skills/build-cmake of LeoKemp223/embed-ai-tool.

  • SKILL.md
  • agents/openai.yaml
  • references/usage.md
  • scripts/cmake_builder.py

Open the folder on GitHubat commit 9218f23

Compare with similar skills

Build Cmake 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.

Build Cmake compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Build Cmake this skillLeoKemp223/embed-ai-tool991—~546Automated safety check: PassNone
Qt C++ Code Reviewx-tools-author/x-tools1.1k2 repos~4.3kAutomated safety check: PassBSD-3-Clause
YugabyteDB ASH Instrumentationyugabyte/yugabyte-db11k—~4.5kAutomated safety check: PassCustom licence
pybind11 Release Preparationpybind/pybind1118k—~1.7kAutomated safety check: PassCustom licence
Qt Cpp ReviewSerial-Studio/Serial-Studio7.2k—~4.3kAutomated safety check: PassCustom licence
Paddle Eager GraphPaddlePaddle/Paddle24k—~562Automated safety check: PassApache-2.0

Similar skills

  • Qt C++ Code Review

    x-tools-author/x-tools

    Read-only review of Qt6 C++ code that combines a deterministic lint script with six parallel analysis agents and reports only high-confidence issues.

    1.1k GitHub starsUsed in 2 repos~4.3k tokens
    DevelopmentAuto-check passed
  • YugabyteDB ASH Instrumentation

    yugabyte/yugabyte-db

    Procedure for adding or changing YugabyteDB Active Session History wait states in TServer and DocDB C++ code, including the macro to use for sync and async paths.

    11k GitHub stars~4.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Opens the pybind11 release-preparation pull request: picking the release base, bumping the version in common.h and integrating the changelog, following docs/release.rst.

    18k GitHub stars~1.7k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Qt Cpp Review

    Serial-Studio/Serial-Studio

    Qt6/C++ deep code review for Serial Studio. An agent skill from Serial-Studio/Serial-Studio.

    7.2k GitHub stars~4.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Paddle Eager Graph

    PaddlePaddle/Paddle

    A skill your agent uses when navigating Paddle eager-mode (dynamic graph) source code, tracing forward/backward execution, debugging autograd issues, understanding PyLayer, or investigating…

    24k GitHub stars~562 tokensUpdated today
    DevelopmentAuto-check passed
  • Esp32 Firmware Engineer

    alxv2016/folloup-sticky

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

    117 GitHub starsUsed in 1 repo~3.8k tokens
    DevelopmentAuto-check passed

More from LeoKemp223/embed-ai-tool

All 25 skills in this repo
  • Build Keil

    LeoKemp223/embed-ai-tool

    当需要通过 Keil MDK 命令行编译嵌入式工程,调用自带脚本解析工程文件、执行构建并定位固件产物时使用. An agent skill from LeoKemp223/embed-ai-tool.

    991 GitHub stars~619 tokensUpdated 1 mo ago
    Auto-check passed
  • Flash Keil

    LeoKemp223/embed-ai-tool

    当需要通过 Keil MDK 内置调试器烧录固件到目标板时使用,利用工程中已配置的调试器和 Flash 算法执行下载. An agent skill from LeoKemp223/embed-ai-tool.

    991 GitHub stars~459 tokensUpdated 1 mo ago
    Auto-check passed
  • Logic Analyzer

    LeoKemp223/embed-ai-tool

    当需要用 Saleae 逻辑分析仪在线采集数字波形并解码 I2C/SPI/UART/CAN 时使用,通过 Logic 2 自动化服务驱动硬件采集、添加协议解码器并导出数据。

    991 GitHub stars~993 tokensUpdated 1 mo ago
    Auto-check passed
  • Workflow

    LeoKemp223/embed-ai-tool

    当需要串联多个 skill 完成编译+烧录+监控或编译+烧录+调试等流水线任务时使用. An agent skill from LeoKemp223/embed-ai-tool.

    991 GitHub stars~422 tokensUpdated 1 mo ago
    Auto-check passed
  • Can Debug

    LeoKemp223/embed-ai-tool

    当需要调试 CAN 总线通信时使用,支持通过 USB-CAN 适配器监听、发送 CAN 帧和扫描节点. An agent skill from LeoKemp223/embed-ai-tool.

    991 GitHub stars~330 tokensUpdated 1 mo ago
    Auto-check passed
  • Debug Platformio

    LeoKemp223/embed-ai-tool

    当需要通过 PlatformIO 内置调试功能对目标板进行 GDB 调试时使用,支持下载暂停、附加和崩溃现场分析. An agent skill from LeoKemp223/embed-ai-tool.

    991 GitHub stars~324 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Build Cmake

What does Build Cmake do?

当需要配置或构建基于 CMake 的嵌入式固件工程,调用自带脚本执行构建并定位固件产物时使用. An agent skill from LeoKemp223/embed-ai-tool. Build Cmake is an agent skill from LeoKemp223/embed-ai-tool.

When should I use Build Cmake?

Build Cmake fits situations like: development work in your project.

How do I install Build Cmake in Claude Code?

Run `npx skills add LeoKemp223/embed-ai-tool --skill build-cmake -a claude-code`. Or copy the skill folder (skills/build-cmake in LeoKemp223/embed-ai-tool) into .claude/skills/build-cmake in your project. Claude Code loads it when a task matches its description.

How do I install Build Cmake in Codex?

Run `npx skills add LeoKemp223/embed-ai-tool --skill build-cmake -a codex`. Or copy the skill folder (skills/build-cmake in LeoKemp223/embed-ai-tool) into .agents/skills/build-cmake in your project. Codex loads it when a task matches its description.

Can I use Build Cmake 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 LeoKemp223/embed-ai-tool --skill build-cmake -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/build-cmake, .gemini/skills/build-cmake, .github/skills/build-cmake and .opencode/skills/build-cmake in your project.

What does Build Cmake need to run?

Going by SKILL.md and its folder, Build Cmake needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Build Cmake 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 Build Cmake 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Build Cmake use?

No licence was found for Build Cmake or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Build Cmake use?

About 546 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.5k tokens, read only when the agent opens those files.

What are the alternatives to Build Cmake?

Skills that share tags, products or a category with Build Cmake: Qt C++ Code Review (x-tools-author/x-tools, 1.1k stars), YugabyteDB ASH Instrumentation (yugabyte/yugabyte-db, 11k stars), pybind11 Release Preparation (pybind/pybind11, 18k stars) and Qt Cpp Review (Serial-Studio/Serial-Studio, 7.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Build Cmake?

LeoKemp223 (a GitHub user) maintains it in LeoKemp223/embed-ai-tool, which has 991 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on August 20, 2026.

Source: LeoKemp223/embed-ai-tool on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.