# hardware-in-the-loop

hardware-in-the-loop — a Claude Code skill for scaffolding hardware projects with board, CAD, firmware, and digital-twin workflows. It starts on requests to create a hardware repository or simulate firmware in Unreal or Isaac Sim.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 98 repo stars
- Author: Kemerd
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Kemerd/claude-hardware-in-the-loop/tree/HEAD/skills/hardware-in-the-loop/SKILL.md
- Updated: 2026-11-07
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/hardware-in-the-loop

## What it does

The skill walks an agent through project setup, gathering requirements before generating a repository skeleton. The templates cover KiCad board work, parametric CAD in CadQuery, C firmware, and a C/C++ digital twin. Simulation can target Unreal Engine 5.8.4+ or Isaac Sim, and the workflow includes component checks and a PowerShell CI script.

Project choices are recorded in `DECISIONS.md`. The `scaffold.py` script leaves existing files untouched, so retained files need to be compared and merged by hand. Python is needed to generate the skeleton; the chosen simulation tier determines whether Unreal or Isaac files are added.

## Requirements
- Works with: Unreal Engine

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Kemerd/claude-hardware-in-the-loop --skill hardware-in-the-loop -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/hardware-in-the-loop/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/hardware-in-the-loop/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Kemerd/claude-hardware-in-the-loop --skill hardware-in-the-loop -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/hardware-in-the-loop/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Kemerd/claude-hardware-in-the-loop --skill hardware-in-the-loop -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/hardware-in-the-loop/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Kemerd/claude-hardware-in-the-loop skills/hardware-in-the-loop
```

2. **Manually: put the files in place**
- File: `.github/skills/hardware-in-the-loop/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Kemerd/claude-hardware-in-the-loop --skill hardware-in-the-loop -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Kemerd/claude-hardware-in-the-loop --path skills/hardware-in-the-loop
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/hardware-in-the-loop/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Kemerd/claude-hardware-in-the-loop/tree/HEAD/skills/hardware-in-the-loop/SKILL.md

## When to use it
- scaffold a repository for board, enclosure, and firmware work
- test C firmware against a digital twin
- record project decisions and open questions
- set up project checks and a PowerShell CI matrix

## Example prompts
- Create a hardware project skeleton with a KiCad board, CAD model, and firmware.
- Set up a digital twin for testing firmware in Unreal Engine.
- Scaffold a repository for agents working on a board and enclosure.

## Similar
- [asset-audit](https://affpapa.org/en/nevibecode/skills/asset-audit.md) — skill · 702 installs
- [ue-testing-debugging](https://affpapa.org/en/nevibecode/skills/ue-testing-debugging.md) — skill · 1600 installs
- [scenario-unreal-performance](https://affpapa.org/en/nevibecode/skills/scenario-unreal-performance.md) — skill · 475 installs
- [game-build-log-triage](https://affpapa.org/en/nevibecode/skills/game-build-log-triage.md) — skill · 312 installs
- [virtual-production-icvfx](https://affpapa.org/en/nevibecode/skills/virtual-production-icvfx.md) — skill · 131 installs
- [unreal-cpp-gameplay](https://affpapa.org/en/nevibecode/skills/unreal-cpp-gameplay.md) — skill · 10600 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
