can

Community

Scan, monitor and decode CAN/CAN-FD buses

Authorzhinkgit
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Embedded developers and integrators face a recurring gap between code and hardware: discovering available CAN adapters, capturing live traffic, sending test frames, decoding messages with DBC files, and producing structured logs usually requires manual tooling and context switching. This skill consolidates those steps so an AI assistant can operate CAN interfaces end-to-end without repeated human intervention.

Core Features & Use Cases

  • Interface discovery: automatically scan USB-CAN adapters and SocketCAN interfaces and surface candidates for selection.
  • Real-time monitoring: continuous capture with ID filtering, optional CAN-FD support, and optional DBC decoding.
  • Frame sending & replay: send standard/extended/remote/CAN-FD frames once, repeatedly, or periodically and optionally listen for responses.
  • Logging & decoding: record to ASC/BLF/CSV, decode single frames or logs with DBC/ARXML/KCD using cantools.
  • Statistics & analysis: compute per-ID rates, bus load estimates, data-change counts, and export structured JSON results.
  • Use case example: scan for a connected PEAK adapter, start a monitor to decode vehicle.dbc, record to an ASC file, and produce a JSON summary for automated test verification.

Quick Start

Use the can skill to scan available CAN interfaces and start a 10 second monitor on can0 with DBC vehicle.dbc and JSON output.

Dependency Matrix

Required Modules

python-cancantools

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: can
Download link: https://github.com/zhinkgit/embeddedskills/archive/main.zip#can

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.