openbaud

openbaud is a skill for Claude Code, Codex from Leonezz/openbaud. It costs 49 tokens per session (3,257 once invoked), scanned A, a copy of openbaud, MIT.

A set of tools for exploring and controlling serial or USB hardware, such as devices connected through a serial port. It records verified device knowledge, commands, workflows, captures, notes, and an audit trail of writes.

In plain words
What is it for?
Use it to identify connected devices, read datasheets, reverse-engineer or implement communication protocols, capture serial traffic, and create reusable commands and workflows.
Why use it?
It helps turn one-off hardware experiments into documented, reusable procedures. This makes protocol work easier to continue and provides a record of commands sent to the device.

Skill for Claude CodeCodex

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 skills/leonezz/openbaud/scaffold
Any agent
npx skills add Leonezz/openbaud --skill scaffold
Clone the repo
git clone --depth 1 https://github.com/Leonezz/openbaud

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openbaud

README.md
[![agentmods](https://agentmods.dev/badge/skills/leonezz/openbaud/scaffold.svg)](https://agentmods.dev/skills/leonezz/openbaud/scaffold)
Your own site
<a href="https://agentmods.dev/skills/leonezz/openbaud/scaffold"><img src="https://agentmods.dev/badge/skills/leonezz/openbaud/scaffold.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,257 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00049 $0.03257
Opus 5 $0.00024 $0.01629
Sonnet 5 $0.00010 $0.00651
Haiku 4.5 $0.00005 $0.00326

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

Security

Grade A, and why

openbaud 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 4d 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.

Origin

This is a copy

100% identical to openbaud — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

crates/openbaud/src/scaffold/SKILL.md · 245 lines

How it starts

The opening of the file, as written. The whole thing — 245 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Working with serial devices through openbaud

openbaud gives you audited serial-port access (MCP tools) plus a knowledge format in this workspace. Your goal when touching a device is never just to make one interaction work — it is to sediment verified knowledge so the next session (or the next person) starts where you finished.

Workspace layout

  • devices/<name>/profile.yaml — transport parameters + default framing + optional selector
  • devices/<name>/commands/*.yaml — named, typed, executable commands
  • devices/<name>/workflows/*.yaml — fixed command sequences with a finally block
  • devices/<name>/notes.md — quirks, datasheet errata, open questions
  • captures/*.obcap — lossless wire captures (JSONL: ts_ms, dir, hex)
  • .openbaud/audit.jsonl — every write you performed, append-only
  • .openbaud/out/ — full copies of oversized tool results (see full_result below)

Exploration workflow

  1. Identify: list_ports — USB VID/PID and product strings often identify the adapter or device. Check devices/ first: knowledge may already exist.
  2. Read the datasheet before sending anything. Extract candidate commands, frame structure, checksum algorithm, baud rate. Record page references.
  3. Hypothesize → verify in small steps: open the port, use request with an explicit match rule. Start a capture (capture_start) before longer experiments so evidence is preserved. capture_start/capture_stop return the capture's workspace-relative path (captures/<file>) — pass it verbatim to capture_frames, session_timeline, or replay:<path>.
  4. Record as you go in devices/<name>/notes.md: what you sent, what came back, what it means, what surprised you.
  5. Sediment: once a behavior is confirmed, write it as a command YAML (see below). Then re-verify through run_command — the declarative spec must reproduce the hand-built result.
  6. Mark provenance: add provenance.datasheet (page reference) and, after verifying against the live device, provenance.verified with the capture path and what you observed. Never mark verified without a real device interaction backing it.

Read the full file on GitHub · 245 lines

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. 4d ago First seen · 245 lines · 49 tokens per session scan A dd6bcf0c45e3

Subscribe to this mod's changes

openbaud is a skill published in the GitHub repository Leonezz/openbaud (4 stars, last pushed 4d ago), licensed MIT. It adds 49 tokens to every session and 3,257 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to openbaud, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

hardware-iot-bus

Low-level I2C and SPI bus peripheral control for embedded Linux boards (Orange Pi, Raspberry Pi, RISC-V).

AbdullahMalik17/malikclaw · 31 tokens

boardrepo

Read and review real PCB projects on BoardRepo. Search published hardware designs, open a board's schematic connectivity, bill of materials and files, run KiCad's DRC and ERC, and check a design against a fabrication house's limits. Use whenever the user names a BoardRepo board or URL, asks to find a published board…

flintt-dev/boardrepo-plugin · 156 tokens

ek-omniprobe-ai

通过 EK-OmniProbe 本机 TCP/NDJSON 桥接读取串口文本与标准样本、分析日志和波形,并安全调节设备参数。用户要求观察串口数据、分析诊断输出、传感器或控制波形、评估调参效果、建议 PID 等参数、自动或半自动调参时使用。.

EmbeddedKitOrg/EK-OmniProbe · 83 tokens

esp32-arch-review

Review ESP32 FastLED firmware architecture for RTOS safety, DMA correctness, LED driver patterns, memory management, and peripheral safety. Use before merging significant driver changes, new platform ports, or when auditing existing ESP32 FastLED code.

FastLED/FastLED · 53 tokens

esp32-log-triage

Parse and classify ESP32 serial log output to identify FastLED-related errors, RMT/I2S/SPI driver faults, timing violations, RTOS issues, and crash signatures. Use when debugging unexpected device behavior, boot failures, or LED output problems on ESP32.

FastLED/FastLED · 61 tokens

ci-fix

Scan all CI builds and tests, find failures, fetch error logs, and fix the code. Prioritizes unit tests, example tests, then uno, attiny85, esp32s3, esp32c6, teensy41. Use when CI is red and you need to diagnose and repair build/test failures.

FastLED/FastLED · 0 tokens