Authoring VPhone Patch Sets
Lakr233/vphone-cli
Explains how to declare a firmware patch in a vphone patch set, add a new set, or write a preset, including naming, gating and the checks that catch undeclared patches.
Embedded firmware and device drivers — BSP development, peripheral driver implementation (UART, SPI, I2C, GPIO, DMA, Timer), RTOS integration (FreeRTOS, Zephyr), and system validation.
$ npx skills add hdl-tools/digital-chip-design-agents --skill embedded-firmware -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install hdl-tools/digital-chip-design-agents embedded-firmware --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/firmware/skills/embedded-firmware .claude/skills/embedded-firmware && rm -rf skills-srcUse ~/.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/
Install the "embedded-firmware" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/firmware/skills/embedded-firmware into .claude/skills/embedded-firmware/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "embedded-firmware", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/firmware/skills/embedded-firmwareType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add hdl-tools/digital-chip-design-agents --skill embedded-firmware -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install hdl-tools/digital-chip-design-agents embedded-firmware --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/firmware/skills/embedded-firmware .agents/skills/embedded-firmware && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "embedded-firmware" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/firmware/skills/embedded-firmware into .agents/skills/embedded-firmware/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "embedded-firmware", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add hdl-tools/digital-chip-design-agents --skill embedded-firmware -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install hdl-tools/digital-chip-design-agents embedded-firmware --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/firmware/skills/embedded-firmware .cursor/skills/embedded-firmware && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "embedded-firmware" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/firmware/skills/embedded-firmware into .cursor/skills/embedded-firmware/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "embedded-firmware", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/hdl-tools/digital-chip-design-agents.git --path plugins/firmware/skills/embedded-firmware--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add hdl-tools/digital-chip-design-agents --skill embedded-firmware -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install hdl-tools/digital-chip-design-agents embedded-firmware --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/firmware/skills/embedded-firmware .gemini/skills/embedded-firmware && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "embedded-firmware" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/firmware/skills/embedded-firmware into .gemini/skills/embedded-firmware/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "embedded-firmware", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install hdl-tools/digital-chip-design-agents embedded-firmwareInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add hdl-tools/digital-chip-design-agents --skill embedded-firmware -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/firmware/skills/embedded-firmware .github/skills/embedded-firmware && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "embedded-firmware" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/firmware/skills/embedded-firmware into .github/skills/embedded-firmware/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "embedded-firmware", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add hdl-tools/digital-chip-design-agents --skill embedded-firmware -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install hdl-tools/digital-chip-design-agents embedded-firmware --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/firmware/skills/embedded-firmware .opencode/skills/embedded-firmware && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "embedded-firmware" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/firmware/skills/embedded-firmware into .opencode/skills/embedded-firmware/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "embedded-firmware", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
embedded-firmwareEmbedded firmware and device drivers — BSP development, peripheral driver implementation (UART, SPI, I2C, GPIO, DMA, Timer), RTOS integration (FreeRTOS, Zephyr), and system validation.
Embedded Firmware is an agent skill from hdl-tools/digital-chip-design-agents. Embedded firmware and device drivers — BSP development, peripheral driver implementation (UART, SPI, I2C, GPIO, DMA, Timer), RTOS integration (FreeRTOS, Zephyr), and system validation. Use when writing chip bring-up firmware, implementing HAL drivers, porting an RTOS, or validating firmware on hardware.
Its SKILL.md is about 2.6k 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. The repository describes itself as: Digital HDL Design Full-stack Agents. The licence is MIT.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 38736b1. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteBashFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are c and markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Embedded Firmware loads about 2.6k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 1,210 words of instructions outside code blocks.
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.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Read, Write, BashAutomated 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.
The full file from hdl-tools/digital-chip-design-agents at commit 38736b1, republished under its MIT licence (© hdl-tools). 1,210 words, ~2,604 tokens.
.claude/skills/embedded-firmware/SKILL.md (or your agent's skills folder).When this skill is loaded and a user presents a firmware or BSP task, do not
execute stages directly. Immediately spawn the
digital-chip-design-agents:firmware-orchestrator agent and pass the full user
request and any available context to it. The orchestrator enforces the stage
sequence, loop-back rules, and sign-off criteria defined below.
Use the domain rules in this file only when the orchestrator reads this skill mid-flow for stage-specific guidance, or when the user asks a targeted reference question rather than requesting a full flow execution.
Before executing or advising on any stage, read the following files if they exist:
memory/firmware/knowledge.md — known failure patterns, successful tool flags, PDK/tool quirks.
Incorporate its guidance into every stage decision. If absent, proceed without it.memory/firmware/run_state.md — current run identity (run_id, design_name, tool,
last_stage). Use this to resume correctly after interruption. If absent, a new run
is starting; the orchestrator will create this file before the first stage.This pre-run read applies whether this skill is loaded by a user or called by the orchestrator mid-flow. It ensures the fix database is consulted before any diagnosis step.
Guide BSP creation, peripheral driver development, RTOS integration, and system-level firmware validation. The firmware layer is the first software to run on real silicon — correctness here enables all subsequent SW development.
arm-none-eabi-gcc, riscv64-unknown-elf-gcc) — bare-metal firmware compilationopenocd) — open-source on-chip debugger; supports JTAG/SWD for bring-uparm-none-eabi-gdb) — source-level debugging over OpenOCDqemu-system-arm, qemu-system-riscv64) — firmware validation before hardware is availableJLinkGDBServer, dialect segger) — high-speed JTAG/SWD probe from SEGGERt32marm, dialect lauterbach) — hardware trace and debug for bring-uparmds, dialect arm) — Eclipse-based IDE with Arm compiler and debuggercrt0.S/startup.c) must in order:__stack_top (from linker script).data LMA → VMA.bssSystemInit()main()SystemInit() order: power stable → PLLs → clock mux → peripheralsmemory_map.h: ALL peripheral base addresses and register offsets — no magic numbersvolatile pointer dereferencemain() within expected startup time.data initialised; .bss zeroed (verify with memory read)| Issue | Fix |
|---|---|
| PLL not locking | Check reference clock source; verify input frequency range |
Hang before main() | Toggle debug LED at each init step to isolate |
| Stack overflow at boot | Increase STACK_SIZE in linker script |
.data not initialised | Verify crt0 LMA→VMA copy range; check AT clause |
startup.S and system_init.cmemory_map.h (complete register definitions)status_t PERIPH_Init(PERIPH_Type *base, const periph_config_t *config);
status_t PERIPH_WriteBlocking(PERIPH_Type *base, const uint8_t *data, size_t len);
status_t PERIPH_TransferNonBlocking(PERIPH_Type *base, periph_handle_t *h, periph_xfer_t *x);
void PERIPH_HandleIRQ(PERIPH_Type *base, periph_handle_t *handle);memory_map.h — no inline hex addressesstatus_t — never void for operationssuspend()/resume() hooks for low-power modes| Peripheral | Key Tests |
|---|---|
| UART | Baud rate, parity, TX/RX loopback, DMA |
| SPI | All 4 modes, master/slave loopback, DMA |
| I2C | 7/10-bit addressing, repeated start, DMA |
| GPIO | Input/output, pull resistors, edge interrupt |
| Timer | Periodic, one-shot, PWM, input capture |
| DMA | Channel config, completion callback, scatter-gather |
| Watchdog | Init, refresh (kick), triggered reset |
portmacro.h for target architectureheap_4.c (best-fit with coalescence)uxTaskGetStackHighWaterMark(); add 20% marginconfigCHECK_FOR_STACK_OVERFLOW: set to 2 during developmentFromISR FreeRTOS API from within ISRFreeRTOSConfig.h configured for target| Level | Tests | Environment |
|---|---|---|
| Unit | Peripheral loopback | Bare-metal on HW |
| Integration | Multi-peripheral DMA chains | RTOS on HW |
| System | Full application scenario | RTOS on HW |
| Stress | 24-hour high-throughput | Overnight on HW |
After each stage completes (regardless of whether an orchestrator session is active),
write or overwrite one JSON record in memory/firmware/experiences.jsonl keyed by
run_id. This ensures data is persisted even if the flow is interrupted or called
without full orchestrator context.
Use run_id = firmware_<YYYYMMDD>_<HHMMSS> (set once at flow start; reuse on each
stage update). Set signoff_achieved: false until the final sign-off stage completes.
Write memory/firmware/run_state.md as the first action before launching any tool:
run_id: firmware_<YYYYMMDD>_<HHMMSS>
design_name: <design>
tool: <primary tool>
start_time: <ISO-8601>
last_stage: <first stage name>Update last_stage after each stage completes. This file lets wakeup-loop prompts
and resumed sessions identify the correct run without relying on in-memory state.
Create the file and parent directories if they do not exist.
If mcp__plugin_ecc_memory__add_observations is available in this session, emit each
applied fix as an observation to entity chip-design-firmware-fixes after writing to
experiences.jsonl. Skip silently if the tool is absent — JSONL is the canonical record.
© hdl-tools, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/firmware/skills/embedded-firmware of hdl-tools/digital-chip-design-agents.
Open the folder on GitHubat commit 38736b1
Embedded Firmware 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Embedded Firmware this skillhdl-tools/digital-chip-design-agents | 213 | — | ~2.6k | Automated safety check: Notes | MIT | |
| Authoring VPhone Patch SetsLakr233/vphone-cli | 15k | — | ~4.6k | Automated safety check: Pass | MIT | |
| Sipeed I2C and SPI Hardware Controlsipeed/picoclaw | 30k | — | ~578 | Automated safety check: Pass | MIT | |
| RuView Hardware Setupruvnet/RuView | 97k | — | ~1.8k | Automated safety check: Notes | MIT | |
| Esp32 Firmware Engineeralxv2016/folloup-sticky | 116 | 1 repos | ~3.8k | Automated safety check: Pass | GPL-3.0 | |
| ExecuTorch Binary Size Reductionpytorch/executorch | 5.1k | — | ~793 | Automated safety check: Pass | Custom licence |
Lakr233/vphone-cli
Explains how to declare a firmware patch in a vphone patch set, add a new set, or write a preset, including naming, gating and the checks that catch undeclared patches.
sipeed/picoclaw
Reads and controls I2C and SPI peripherals on Sipeed boards such as LicheeRV Nano, MaixCAM and NanoKVM through the i2c and spi tools.
ruvnet/RuView
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.
alxv2016/folloup-sticky
ESP32 firmware engineering for ESP-IDF projects. An agent skill from alxv2016/folloup-sticky.
pytorch/executorch
Measures and shrinks the ExecuTorch runtime binary by building a size test, analyzing it with bloaty and landing each reduction as its own pull request.
ruvnet/RuView
Sets up and runs 60 GHz and 24 GHz mmWave radar sensing on ESP32 boards in RuView, alone or fused with WiFi CSI.
hdl-tools/digital-chip-design-agents
Microarchitecture exploration, PPA estimation, risk assessment, and architecture sign-off for digital chip design.
hdl-tools/digital-chip-design-agents
Compiler toolchain development for custom processor ISAs — LLVM/GCC backend, assembler, linker scripts, runtime libraries, and regression validation.
hdl-tools/digital-chip-design-agents
Design for Test — scan architecture planning, scan insertion, ATPG pattern generation, MBIST for embedded memories, and JTAG boundary scan.
hdl-tools/digital-chip-design-agents
Formal property verification (FPV) and logical equivalence checking (LEC).
hdl-tools/digital-chip-design-agents
FPGA prototyping — ASIC-to-FPGA RTL adaptation, multi-FPGA partitioning, synthesis and timing closure on FPGA, hardware bring-up, and software validation on the prototype.
hdl-tools/digital-chip-design-agents
UVM-based functional verification — testbench architecture, test planning, directed and constrained-random stimulus, functional and code coverage closure, formal assist, and regression sign-off.
Categories
Embedded firmware and device drivers — BSP development, peripheral driver implementation (UART, SPI, I2C, GPIO, DMA, Timer), RTOS integration (FreeRTOS, Zephyr), and system validation. Embedded Firmware is an agent skill from hdl-tools/digital-chip-design-agents. Embedded firmware and device drivers — BSP development, peripheral driver implementation (UART, SPI, I2C, GPIO, DMA, Timer), RTOS integration (FreeRTOS, Zephyr), and system validation.
Embedded Firmware fits situations like: writing chip bring-up firmware; implementing HAL drivers; porting an RTOS; validating firmware on hardware.
Run `npx skills add hdl-tools/digital-chip-design-agents --skill embedded-firmware -a claude-code`. Or copy the skill folder (plugins/firmware/skills/embedded-firmware in hdl-tools/digital-chip-design-agents) into .claude/skills/embedded-firmware in your project. Claude Code loads it when a task matches its description.
Run `npx skills add hdl-tools/digital-chip-design-agents --skill embedded-firmware -a codex`. Or copy the skill folder (plugins/firmware/skills/embedded-firmware in hdl-tools/digital-chip-design-agents) into .agents/skills/embedded-firmware in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hdl-tools/digital-chip-design-agents --skill embedded-firmware -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/embedded-firmware, .gemini/skills/embedded-firmware, .github/skills/embedded-firmware and .opencode/skills/embedded-firmware in your project.
SKILL.md names no scripts, command-line tools or credentials: Embedded Firmware is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Bash.
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.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Embedded Firmware is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Embedded Firmware: Authoring VPhone Patch Sets (Lakr233/vphone-cli, 15k stars), Sipeed I2C and SPI Hardware Control (sipeed/picoclaw, 30k stars), RuView Hardware Setup (ruvnet/RuView, 97k stars) and Esp32 Firmware Engineer (alxv2016/folloup-sticky, 116 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
hdl-tools (a GitHub organization) maintains it in hdl-tools/digital-chip-design-agents, which has 213 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 3, 2026.
Source: hdl-tools/digital-chip-design-agents on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.