serial

Scan, monitor, send, and log serial UART/COM port data.

551|66|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/zhinkgit/embeddedskills --skill serial
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: serial
Source: https://github.com/zhinkgit/embeddedskills/tree/main/serial
Command: npx skills add https://github.com/zhinkgit/embeddedskills --skill serial

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyserial, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Embedded development often requires manual interaction with device UART/COM ports to scan ports, observe runtime logs, send AT commands or binary payloads, and collect traces for debugging. This skill removes the repetitive manual steps by providing automated discovery, reliable connections, and structured outputs so developers and AI assistants can quickly inspect and interact with target devices.

Core Features & Use Cases

  • Port discovery and metadata: scan available serial ports with VID/PID and chip mapping to help identify device interfaces.
  • Real-time monitoring: stream decoded text lines with optional timestamps, regex include/exclude filters, and JSON Lines output for downstream processing.
  • Data sending and hex inspection: send text or hex payloads with configurable line endings and repeats, view binary streams as hex dumps for protocol debugging.
  • Persistent project configuration and logging: save confirmed connection parameters to .embeddedskills/config.json and write logs in text/csv/json formats for audit and analysis.
  • Use case: run AT command sequences against a modem, capture responses, and save a timestamped JSONL log for automated parsing.

Quick Start

Use the serial skill to scan ports, open COM3 at 115200, and start monitoring incoming output with timestamps and JSON Lines.

Frequently Asked Questions about serial

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I monitor serial port data and log UART output in real-time?

To monitor serial port data, this skill streams decoded UART text lines with optional timestamps and regex filters. It outputs real-time data as JSON Lines, enabling immediate downstream processing and continuous log capture for embedded debugging workflows.

Can I send AT commands and binary hex payloads to a COM port for firmware testing?

Yes, you can send AT commands and binary hex payloads to a COM port. The skill supports configurable line endings and repeats for text or hex payloads, allowing precise firmware validation and protocol debugging via UART data sending.

Does pyserial support auto-discovery of available serial ports with VID/PID mapping?

Yes, using pyserial, the skill scans available serial ports and provides metadata with VID/PID and chip mapping. This auto-discovery feature helps developers quickly identify and connect to the correct device interfaces for local interaction.

What is the best way to inspect binary serial streams as a hex dump for protocol debugging?

The best way to inspect binary serial streams is using the skill's hex dump capability, which visualizes binary UART data directly. This allows developers to analyze raw byte sequences for effective embedded protocol debugging and validation.

How do I configure and save baud rate, parity, and stopbits settings for a serial project?

You configure baud, bytesize, parity, and stopbits settings during your connection setup. The skill saves these confirmed parameters persistently into a project-level .embeddedskills/config.json file for consistent future embedded debugging sessions.

What formats are supported for logging serial port data during embedded debugging?

Supported formats for logging serial port data include text, CSV, and JSON. The skill writes continuous UART traces in these formats, providing structured outputs for audit, automated parsing, and post-analysis of firmware behavior.