Protocol Analysis
Protocol analysis skill for serial bus debugging. Use when decoding I2C/SPI/UART with logic analyzer concepts, sigrok/PulseView, or Python capture scripts. Activates on queries about logic analyzer, sigrok, PulseView, decode I2C SPI UART, or bus protocol capture.
Install
npx skills add mohitmishra786/low-level-dev-skills --skill protocol-analysisgit clone --depth 1 https://github.com/mohitmishra786/low-level-dev-skills.git /tmp/low-level-dev-skills
mkdir -p ~/.claude/skills
cp -r /tmp/low-level-dev-skills/skills/qemu/protocol-analysis ~/.claude/skills/protocol-analysisPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Protocol Analysis (I2C / SPI / UART) ## Purpose Guide agents through software-side serial bus analysis: logic analyzer workflow, sigrok/PulseView decoding, correlating captures with firmware drivers, and Python-based parsing — bridging `skills/baremetal/spi-i2c-baremetal` and hardware bring-up. ## When to Use - Sensor not responding — verify clock and data on bus - Compare kernel driver transactions vs datasheet - Document expected transaction format for CI/regression - Teaching protocol layers without expensive lab gear (sim + decode) ## Workflow ### 1. Capture stack ``` Physical probe → logic analyzer hardware (or GPIO bit-bang) ├── sigrok-cli / PulseView GUI ├── Protocol decoder (i2c, spi, uart) └── Export VCD/CSV for scripts ``` Open-source: [sigrok](https://sigrok.org/) with cheap FX2LA boards. ### 2. PulseView quick start ```bash # List devices pulseview # CLI capture (device-dependent) sigrok-cli --driver fx2lafw --config samplerate=1MHz \ --channels 0=SDA,1=SCL \ --samples 1m \ --protocols i2c ``` ### 3. I2C decode expectations | Phase | Lines | |-------|-------| | START | SDA fall while SCL high | | Address + R/W | 7 bits + ACK | | Data bytes | ACK per byte | | STOP | SDA rise while SCL high | NACK at address → wrong `0x48` or device held in reset. ### 4. SPI decode Check mode (CPOL/CPHA), bit order (MSB first typical), CS polarity, and word size. Compare to `spi_setup()` in `skills/kernel-dev/bus-drivers-i2c-spi`. ### 5. UART decode
Details
- Skill name
protocol-analysis- Repository
- mohitmishra786/low-level-dev-skills
- Path
skills/qemu/protocol-analysis/SKILL.md- License
- MIT
- Repo updated
- 14 November 2026
FAQ
What does the Protocol Analysis skill do?
Protocol analysis skill for serial bus debugging. Use when decoding I2C/SPI/UART with logic analyzer concepts, sigrok/PulseView, or Python capture scripts. Activates on queries about logic analyzer, sigrok, PulseView, decode I2C SPI UART, or bus protocol capture.
How do I install the Protocol Analysis skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add mohitmishra786/low-level-dev-skills --skill protocol-analysis. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Protocol Analysis popular?
It lives in mohitmishra786/low-level-dev-skills, which has 293 GitHub stars and 36 forks.
Related skills
Abi and Calling Conventions
293mohitmishra786/low-level-dev-skills
ABI and calling conventions skill for cross-language boundaries. Use when explaining System V AMD64, ARM AAPCS, RISC-V psABI, stack frames, variadic calls, or FFI register rules. Activates on queries about calling convention, ABI, System V AMD64, AAPCS, stack frame, variadic function, or FFI registers.
Adc Dac Baremetal
293mohitmishra786/low-level-dev-skills
Bare-metal ADC and DAC skill. Use when configuring analog sampling, DMA-driven ADC, calibration, or DAC output on MCUs. Activates on queries about ADC bare-metal, sampling time, DMA ADC, or DAC channel setup.
Af Xdp
293mohitmishra786/low-level-dev-skills
AF_XDP skill for high-performance XDP sockets. Use when creating AF_XDP sockets, configuring UMEM and XSK rings, XDP_REDIRECT programs, copy vs zero-copy mode, or comparing with DPDK. Activates on queries about AF_XDP, xsk_umem, XDP_REDIRECT, libbpf xsk, or zero-copy XDP.
Qemu for Kernel Development
293mohitmishra786/low-level-dev-skills
QEMU kernel development skill for driver and kernel testing. Use when booting custom kernels in QEMU, Buildroot/Yocto rootfs, virtio devices, or NFS root for driver iteration. Activates on queries about QEMU kernel dev, Buildroot QEMU, virtio block, kernel module test QEMU, or -append root=
Openocd Jtag
293mohitmishra786/low-level-dev-skills
OpenOCD skill for embedded hardware debugging. Use when configuring OpenOCD for JTAG or SWD targets, flashing firmware, connecting GDB to bare-metal targets, setting hardware watchpoints, or using J-Link with OpenOCD. Activates on queries about OpenOCD, JTAG, SWD, GDB remote target, flash programming, hardware breakpoints, J-Link, or connecting GDB to an MCU.
Qemu Kvm
293mohitmishra786/low-level-dev-skills
QEMU/KVM skill for virtualization and kernel development. Use when running qemu-system-x86_64 with KVM, configuring virtio devices, VFIO passthrough, QMP monitor, libvirt, or booting custom kernels. Activates on queries about QEMU, KVM, virtio, VFIO, virsh, virt-install, or -kernel -append.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.