Agent skill · Audited from source
debug-jlink
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 observed network access and no hard-coded secrets. What it does: 当需要通过 J-Link GDB Server 启动或附着 GDB 会话,完成固件下载、在线调试或崩溃现场检查时使用。
Cite
Cite this page
ModelsAtlas. “debug-jlink (leokemp223/embed-ai-tool)”. Retrieved 28 Oct 2026. https://modelsatlas.com/skills/leokemp223/debug-jlink
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
- NetworkDeclared1 observation
- 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/debug-jlinkThe 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 68 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: 当需要通过 J-Link GDB Server 启动或附着 GDB 会话,完成固件下载、在线调试或崩溃现场检查时使用。
--- name: debug-jlink description: 当需要通过 J-Link GDB Server 启动或附着 GDB 会话,完成固件下载、在线调试或崩溃现场检查时使用。 --- # J-Link GDB 调试 ## 适用场景 - 用户希望通过 SEGGER J-Link 探针调试 Cortex-M 类目标。 - 工作区中已有 `ELF` 和 J-Link 探针。 - 烧录或串口监视流程表明,需要进一步查看断点、停核控制、寄存器或回溯信息。 - 需要使用 SWO 输出捕获功能。 - 需要在调试前确认 JLinkGDBServer 和 GDB 环境是否就绪。 ## 必要输入 - 一份带符号的 `ELF`,或包含 `artifact_path` 的 `Project Profile`。 - `--device` 参数指定目标芯片型号(J-Link GDB Server 要求必须指定)。 - 可选调试模式:`download-and-halt`、`attach-only`、`crash-context`。 - 可选的 GDB 可执行文件路径。 ## 自动探测 - 默认模式为 `download-and-halt`;只有用户显式要求附着调试或崩溃现场检查时才切换。 - GDB 由脚本自动探测,优先级为:显式用户输入、`Project Profile`、`arm-none-eabi-gdb`、`gdb-multiarch`。 - JLinkGDBServer 按配置文件、PATH、常见安装路径顺序查找。 - 做符号级调试必须有 `ELF`。若只有 `HEX` 或 `BIN`,应阻塞并要求提供匹配 `ELF`。 ## 执行步骤 1. 先阅读 [references/usage.md](references/usage.md),确认本次是环境探测,还是执行调试会话。 2. 若不确定环境是否就绪,先运行自带脚本 [scripts/jlink_debugger.py](scripts/jlink_debugger.py) 的 `--detect` 模式确认。 3. 根据用户意图选择调试模式:`download-and-halt`(默认)、`attach-only` 或 `crash-context`。 4. 使用 `--elf` + `--device` 启动调试,可选 `--interface` 和 `--port`。 5. 需要 SWO 输出时,使用 `--swo` 参数。 6. 读取脚本输出的调试结果,重点关注寄存器状态、回溯帧和 Fault 寄存器。 ## 失败分流 - 当缺少 `JLinkGDBServerCLExe` 或兼容 GDB 时,返回 `environment-missing`。 - 当没有可用的 `ELF` 时,返回 `artifact-missing`。 - 当 JLinkGDBServer 无法连接目标板时,返回 `connection-failure`。 - 当设备名不被 J-Link 识别或配置不一致时,返回 `project-config-error`。 - 当会话可以建立,但无法停核、加载或得到可信回溯时,返回 `target-response-abnormal`。 - 当 `--device` 缺失且无法从工作区推断时,返回 `ambiguous-context`。 ## 平台说明 - JLinkGDBServer 在 Linux/macOS 下为 `JLinkGDBServerCLExe`,Windows 下为 `JLinkGDBServerCL.exe`。 - 默认 GDB 端口为 2331(J-Link 默认),可通过 `--port` 修改。 - 自带脚本使用 Python 标准库和 subprocess,跨平台兼容。 - SWO 功能为 J-Link 独有,可捕获 ITM printf 输出。 ## 输出约定 - 输出调试模式、JLinkGDBServer 命令、GDB 可执行文件、`ELF` 路径和关键观察结论。 - 在 `Project Profile` 中保留 `artifact_path`、`artifact_kind`、`gdb_executable`、`jlink_device`。 - 当复位后或继续运行后下一步是观察运行行为时,推荐 `serial-monitor`。 ## 交接关系 - 当目标恢复运行后,需要继续观察运行期日志时,将成功会话交给 `serial-monitor`。 - 当用户需要 RTOS 线程感知调试时,将会话交给 `rtos-debug`。
Excerpt, first 1,963 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/debug-jlink/)
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
当需要通过 ESP-IDF 工具链烧录固件到 ESP32 系列芯片,或启动调试会话时使用。
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/debug-jlink/)
<a href="https://modelsatlas.com/skills/leokemp223/debug-jlink/"><img src="https://modelsatlas.com/skills/leokemp223/debug-jlink/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about debug-jlink
What does the debug-jlink skill do?
Is debug-jlink safe to install?
What can debug-jlink access on my machine?
How current is this page?
Sources
- github.com/leokemp223/embed-ai-tool/tree/master/skills/debug-jli — 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 debug-jlink skill do?
- Is debug-jlink safe to install?
- What can debug-jlink access on my machine?