Debug and integration skills
EmbedScope includes two Codex skills. embedscope-debug collects observations from a device that already has an Agent. embedscope-integrate adds the Agent to firmware and connects the platform capabilities.
Install the skills
From the EmbedScope source root:
The installer uses $CODEX_HOME/skills, or ~/.codex/skills when CODEX_HOME is unset. Choose another installation directory with:
Both destinations are checked before copying. Identical installed content is retained. A same-name directory with different content stops installation and reports the preserved path. Compare those changes before updating. Client discovery is described in the Codex skills documentation.
Provide an installed escope executable or the EmbedScope checkout location. Quick start covers source installation.
Diagnose an integrated device
Invoke the debug skill with the endpoint and a concrete observation:
For serial hardware, include port, baud, and DTR policy:
The workflow starts with device/build/boot/session and capabilities, then collects the relevant observations. Results identify the data source, reproduction, files, missing evidence, and log loss. Synthetic reference results remain distinct from physical-device observations. A diagnosis request does not by itself authorize a firmware update or device reset.
Add the Agent to firmware
Invoke the integration skill in the firmware project:
Include target architecture, executor or RTOS, transport, logger, LVGL provider, and display/input paths when known. The workflow builds a minimal connection, adds capabilities incrementally, and checks partial TX, UI scheduling, capture lifetime, and reset behavior.
For C/C++, specify the target C and Rust toolchains. That path uses the aligned C context and target staticlib/runtime setup. See Rust integration, C/C++ integration, and LVGL integration for the underlying contracts.
Maintain a local installation
The versioned sources are skills/embedscope-debug and skills/embedscope-integrate in EmbedScope. Each contains SKILL.md, agent metadata, and references. Reinstall after reviewing updates; the installer preserves differing local directories.