Agent skill · Audited from source
flash-idf
skill · leokemp223/embed-ai-toolLicence not declaredAudited 28 Oct 2026 · source f2eee4d05246
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit f2eee4d05246 and found no filesystem, network or shell access and no hard-coded secrets. What it does: 当需要通过 ESP-IDF 工具链烧录固件到 ESP32 系列芯片,或启动调试会话时使用。
Cite
Cite this page
ModelsAtlas. “flash-idf (leokemp223/embed-ai-tool)”. Retrieved 28 Oct 2026. https://modelsatlas.com/skills/leokemp223/flash-idf
Trust audit
Audit 0.4.1 · source read 28 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 13,985 of 14,816 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 1 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass, no license.
Findings (1)
LOWInventory / provenanceinv.no_license
- Why
- no LICENSE file and no repo licence
- Fix
- add a licence
Audit 0.4.1 · source sha f2eee4d05246 · 28 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherleokemp223 GitHub userOwner of the repository this skill is read from
- Source folderleokemp223/embed-ai-tool/skills/flash-idfThe exact folder we audited
- LicenceNot declaredAs the repository states it
- Commit pinned for this verdictf2eee4d05246A new audit runs when the source changes
- Repository statusNot archivedLast push 69 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: 当需要通过 ESP-IDF 工具链烧录固件到 ESP32 系列芯片,或启动调试会话时使用。
--- name: flash-idf description: 当需要通过 ESP-IDF 工具链烧录固件到 ESP32 系列芯片,或启动调试会话时使用。 --- # ESP-IDF 烧录调试 ## 适用场景 - 工作区已经具备 ESP-IDF 构建产物,且用户希望烧录到目标板。 - 用户需要擦除 Flash 或重新烧录固件。 - 用户需要通过 JTAG 启动 OpenOCD 调试会话。 - 团队需要一条标准化的 ESP-IDF 烧录流程,并可顺畅交接到串口监视或调试。 ## 必要输入 - 工作区路径(含已构建的 `build/` 目录),或包含 `artifact_path` 的 `Project Profile`。 - 串口设备路径和波特率。 - 可选的调试探针配置(用于 JTAG 调试模式)。 ## 首次参数确认 首次调用时,必须向用户确认以下参数,不得跳过或自动使用探测值: - **串口设备**:列出探测到的串口设备供用户选择,即使只有一个也不得自动选择。 - **波特率**:向用户展示默认值 460800 并确认是否需要修改。 当 `Project Profile` 中已记录过上述参数(即非首次),可直接复用,无需再次询问。 ## 自动探测 - 脚本启动即自动复用工程根目录 `.em_skill.json` 中上次成功的 profile 作为默认参数(显式参数优先,无需先手动传 `--resume`);`--resume` 仅用于断言缓存必须存在,无缓存则非零退出。无缓存或用户明确要求重新探测时,脚本自动回退到正常扫描。 - 扫描系统串口设备:Linux `/dev/ttyUSB*`、`/dev/ttyACM*`,macOS `/dev/cu.usbserial*`、`/dev/cu.wchusbserial*`,Windows `COM*`。 - 读取 `sdkconfig` 中的 Flash 大小和分区表配置。 - 检查 `build/` 目录中是否存在有效的烧录产物(`*.bin`、`flasher_args.json`)。 - 探测结果仅作为候选列表展示给用户,不自动选择。 ## 执行步骤 1. 先阅读 [references/usage.md](references/usage.md),确认本次是环境探测、烧录、擦除,还是启动调试。 2. 若不确定环境状态,先运行自带脚本 [scripts/idf_flasher.py](scripts/idf_flasher.py) 的 `--detect` 模式确认。 3. 使用 `--flash --project <path>` 执行烧录,可通过 `--port` 和 `--baud` 指定串口参数。 4. 若用户需要擦除 Flash,使用 `--erase-flash`。 5. 若用户需要烧录后立即查看串口输出,提示手动运行 `idf.py flash monitor`(交互式长运行命令)。 6. 若用户需要 JTAG 调试,使用 `--debug` 检测并启动 OpenOCD 服务。 7. 读取脚本输出的烧录结果报告,重点关注烧录状态和失败分类。 8. 将烧录配置和结果写回 `Project Profile`。 ## 失败分流 - 当 `idf.py` 不可用时,返回 `environment-missing`,提示用户安装 ESP-IDF 并激活环境(v5.x 使用 `export.sh`,v6.0+ 使用 EIM 激活脚本)。 - 当串口设备不存在或被占用时,返回 `connection-failure`。 - 当 Linux 用户无串口访问权限时,返回 `permission-problem`,建议添加 `dialout` 组。 - 当 `build/` 目录不存在或产物缺失时,返回 `artifact-missing`,推荐 `build-idf`。 - 当烧录过程中芯片无响应时,返回 `target-response-abnormal`。 - 当存在多个串口设备且无法确定目标时,返回 `ambiguous-context`。 ## 平台说明 - 串口设备命名因平台而异:Linux `/dev/ttyUSB0`,macOS `/dev/cu.usbserial-*`,Windows `COM3`。 - Linux 用户可能需要将自己添加到 `dialout` 组:`sudo usermod -aG dialout $USER`。 - ESP32 系列通常使用 USB-UART 桥接芯片(CP2102、CH340),需要安装对应驱动。 - 自带脚本通过 subprocess 调用 `idf.py`,烧录调度路径本身是跨平台的。 ## 输出约定 - 输出烧录命令、串口设备、波特率、Flash 大小和烧录状态。 - 在 `Project Profile` 中保留或更新 `serial_port`、`baud_rate`、`idf_target`。 - 根据用户意图推荐下一步 skill:查看运行日志推荐 `serial-monitor`,需要调试推荐 `debug-gdb-openocd`。 ## 交接关系 - 当下一步要看运行日志时,将成功烧录结果交给 `serial-monitor`。 - 当用户需要断点调试或崩溃分析时,将结果交给 `debug-gdb-openocd`。 - 当固件产物缺失时,推荐用户先使用 `build-idf` 编译。
Excerpt, first 2,321 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit f2eee4d
git clone https://github.com/leokemp223/embed-ai-tool git -C embed-ai-tool checkout f2eee4d05246
The author documents no install command, so this uses the repository directly. Our verdict covers commit f2eee4d05246 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
f2eee4d05246
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/leokemp223/flash-idf/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All coding & review skills →leokemp223/embed-ai-tool
当需要使用 SEGGER J-Link 探针烧录固件,或启动 RTT 日志捕获时使用。
leokemp223/embed-ai-tool
当需要通过 Keil MDK 内置调试器烧录固件到目标板时使用,利用工程中已配置的调试器和 Flash 算法执行下载。
leokemp223/embed-ai-tool
当需要通过 J-Link GDB Server 启动或附着 GDB 会话,完成固件下载、在线调试或崩溃现场检查时使用。
leokemp223/embed-ai-tool
当需要通过 PlatformIO 内置调试功能对目标板进行 GDB 调试时使用,支持下载暂停、附加和崩溃现场分析。
leokemp223/embed-ai-tool
当需要通过 OpenOCD 启动或附着 GDB 会话,调用自带脚本完成固件下载、在线调试或崩溃现场检查时使用。
leokemp223/embed-ai-tool
当需要调试 CAN 总线通信时使用,支持通过 USB-CAN 适配器监听、发送 CAN 帧和扫描节点。
Add this badge to your README
[](https://modelsatlas.com/skills/leokemp223/flash-idf/)
<a href="https://modelsatlas.com/skills/leokemp223/flash-idf/"><img src="https://modelsatlas.com/skills/leokemp223/flash-idf/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about flash-idf
What does the flash-idf skill do?
Is flash-idf safe to install?
What can flash-idf access on my machine?
How current is this page?
Sources
- github.com/leokemp223/embed-ai-tool/tree/master/skills/flash-idf — the audited source at commit f2eee4d05246 and every finding aboveObserved · 28 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the flash-idf skill do?
- Is flash-idf safe to install?
- What can flash-idf access on my machine?