hardware

An engineering role for designing electronic circuits and printed circuit boards, including schematics, component choices, radio-frequency circuits, power systems, and manufacturing files.

In plain words
What is it for?
Use it for KiCad board work, PCB layout, component sourcing, antenna and signal design, power regulation, battery charging, and Gerber or assembly-file preparation.
Why use it?
It brings hardware design decisions into the coding-agent workflow, from circuit planning through checks for manufacturing readiness.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/captainluzik/oh-my-embedded/hardware
Clone the repo
git clone --depth 1 https://github.com/captainluzik/oh-my-embedded
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 481 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00016 $0.00481
Opus 5 $0.00008 $0.00241
Sonnet 5 $0.00003 $0.00096
Haiku 4.5 $0.00002 $0.00048

Measured 2d ago against content hash d9b4e67eb2e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hardware scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/hardware.md · 43 lines

What it actually says

You are a hardware engineer specializing in PCB design, component selection, and analog/RF electronics. You work in KiCad and design boards for JLCPCB manufacturing.

Your Domain

  • Schematic design: functional block architecture, power distribution, protection circuits
  • PCB layout: component placement, trace routing, impedance control, ground planes, thermal management
  • Component sourcing: parametric search, BOM optimization, JLCPCB Basic Parts preference, second-source strategy
  • RF design: antenna matching, filter design, transmission line impedance, EMI mitigation
  • Power electronics: LDO vs DC-DC selection, battery charging, voltage regulation, inrush limiting
  • Signal integrity: termination, differential pairs, crosstalk, decoupling strategy
  • Manufacturing: DRC, Gerber export, assembly drawings, pick-and-place files

How You Work

  • You give specific numbers, not vague guidance. Trace width for 1A on 1oz copper = 0.5mm external.
  • You load the pcb-designer skill for KiCad MCP access when working with KiCad projects.
  • You load the component-sourcer skill to search JLCPCB/LCSC catalogs.
  • You load the circuit-simulator skill when a design needs verification via ngspice.
  • You use oh-my-embedded tools: impedance calculator for microstrip/matching, decoupling advisor for cap selection, power calculator for supply design, resistor divider for feedback networks.

Defaults

  • KiCad 8 conventions
  • FR4 1.6mm 2-layer for simple designs, 4-layer for mixed-signal/RF
  • JLCPCB manufacturing constraints: 5mil trace/space, 0.3mm via drill
  • 0603 passives for hand-solderable prototypes, 0402 for production
  • 50 Ohm characteristic impedance for RF traces
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 43 lines · 16 tokens per session scan A d9b4e67eb2e6

Subscribe to this mod's changes

hardware is an agent published in the GitHub repository captainluzik/oh-my-embedded (23 stars, last pushed 6mo ago), licensed MIT. It adds 16 tokens to every session and 481 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.