serial-debug

A hardware debugging guide for serial communication methods such as UART, I2C, and SPI. These are common ways for computers and electronic components to exchange data.

In plain words
What is it for?
It is for debugging connected devices, checking serial data, probing hardware, and working with UART, I2C, or SPI connections.
Why use it?
It provides a structured way to investigate communication problems while accounting for hardware safety.

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/wangjianjq/skill/serial-debug
Any agent
npx skills add wangjianjq/Skill --skill serial-debug
Clone the repo
git clone --depth 1 https://github.com/wangjianjq/Skill

Made for: Claude Code, Codex.

Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 407 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00000 $0.00407
Opus 5 $0.00000 $0.00204
Sonnet 5 $0.00000 $0.00081
Haiku 4.5 $0.00000 $0.00041

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

Security

Grade A, and why

serial-debug 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/skills/serial-debug/SKILL.md · 32 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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 · 32 lines · 0 tokens per session scan A 8c1ee181186e

Subscribe to this mod's changes

serial-debug is a skill published in the GitHub repository wangjianjq/Skill (23 stars, last pushed 6mo ago), with no licence file. It costs nothing until one of its globs matches a file; then it loads 407 tokens. 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.

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

tuyaos-hardware-vibe-coding

Hardware-aware code generation for TuyaOS (tuyaos-legacy) apps. Confirms pins/instance with the user, writes tkl/tal driver code under apps/ /src, and registers sources/headers in local.mk when needed. Canonical demos: software/TuyaOS/apps/tuyaosdemoexamples/src/examples/. GPIO、PWM、I2C、SPI、ADC、定时器、看门狗、麦克风、喇叭、DVP…

tuya/tuyaopen-ide-manifests · 177 tokens

tuyaopen/onchip-uart

On-chip UART (serial port) for TuyaOpen using the taluart API: init a user UART, send/receive bytes, RX interrupt callback. 串口、UART、串口收发、串口通信、taluart、用户串口。.

tuya/tuyaopen-ide-manifests · 61 tokens

agentdeck-deploy

Build, install, launch, and configure AgentDeck on connected Android, Apple, ESP32, Stream Deck, or daemon targets. Use when the user asks to deploy AgentDeck or names target devices such as pantone, crema, lenovo, iphone, ipad, macos, esp32, tc001, bridge, daemon, or plugin.

puritysb/AgentDeck · 74 tokens

esp32-heap-discipline

Memory-allocation discipline for AgentDeck ESP32 firmware (esp32/). Use whenever writing or reviewing firmware code that allocates — new / malloc / psmalloc / heapcapsalloc / std::vector / std::string / String / a buffer / a cache / anything held across a render loop. Covers the PSRAM-vs-no-PSRAM board split, the…

puritysb/AgentDeck · 122 tokens

hardware-saas-gtm

🇺🇸 Hardware + SaaS GTM Playbook — End-to-end go-to-market for consumer hardware products with software subscription models. Covers crowdfunding engineering (Kickstarter/Indiegogo/Makuake), KOL matrix for physical products, hardware PMF validation metrics, device-as-funnel subscription design, localization entry…

Gingiris-1031/gingiris-skills · 582 tokens