Install
openclaw skills install @nitmi/baudUse the baud CLI to diagnose and automate serial, UART, COM-port, USB-to-TTL, and firmware-console workflows. Trigger when Codex needs to enumerate serial ports, capture boot logs, diagnose silent or one-way communication, send device commands, run guarded YAML hardware tests, or interpret baud JSON, JSONL, logs, and exit codes. Prefer this skill over ad hoc pyserial scripts.
openclaw skills install @nitmi/baudUse baud as the serial execution layer. Preserve evidence, minimize transmission, and gate physical actions behind verified device state.
baud --version before opening a port.uv tool install baud-cli; use uv run --directory <baud-cli-repo> baud only when the source checkout is known. Do not silently replace it with an ad hoc pyserial script.AGENTS.md, firmware documentation, and existing serial workflows to learn the baud rate, line ending, safe query commands, reset behavior, and physical risks.Follow this escalation order:
baud list --json to enumerate ports and USB metadata.baud monitor --port <port> --duration <seconds> --json to observe boot output without transmitting.baud probe --port <port> --commands <safe queries> --endings crlf lf --json only after confirming the probe commands are harmless for the device.baud send for one bounded query with explicit expectations.baud run <workflow.yaml> --json for multi-step configuration, observation, or hardware action.Use --json for a bounded command whose final result drives the next decision. Use --jsonl when event ordering or streamed evidence matters. Keep automatic log artifacts enabled for real hardware work.
dangerous: true in workflows. Require successful earlier verification steps with requires.Read references/safety.md before transmitting to an unfamiliar device, controlling physical motion, changing DTR/RTS, or diagnosing resets and one-way communication.
Prefer an existing repository workflow under locations such as debug/serial/ or examples/. Inspect it before execution and verify that its commands match the connected firmware.
When authoring a workflow:
id..log and .jsonl paths in the result.Read references/workflows.md when creating or modifying YAML, selecting assertions, or interpreting workflow results and exit codes.
Use the structured result before reading the human log:
ok, exit_code, reason, and failed_step.text, bytes_received, and assertion details.silent from device_tx_only_or_command_loop_not_running and responsive probe diagnoses.Summarize the exact command, port identity, observed evidence, safety decision, and next diagnostic step. Do not claim hardware success from process exit alone when the workflow lacks a device-state assertion.
Inspect baud <command> --help before falling back. Use a temporary serial script only when baud cannot express a required diagnostic and the fallback is within the user's authorized hardware scope. Keep the fallback read-only first, preserve raw bytes, always close the port, and record the missing capability as a candidate baud-cli enhancement.