Skip to content

嵌入式 CAN and CAN-FD debugging tool covering scan, monitor, send, log, decode, and bus statistics.

CCM score
52 of 100
skills.sh installs
830
GitHub stars
815
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers interface discovery, live bus monitoring, test frame transmission, and logging to ASC, BLF, or CSV files
  • Decodes captured frames with DBC, ARXML, KCD, SYM, or CDD databases, and reports bus load and ID frame rates
  • Enforces explicit interface and channel selection: multiple candidates return a list for the user to choose, and nothing is transmitted without stated intent
  • Designed for embedded engineers debugging USB-CAN, PCAN, Vector, or slcan hardware with python-can

Install

$ npx -y skills add zhinkgit/embeddedskills --skill can -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

CAN — 嵌入式 CAN / CAN-FD 调试工具

统一封装接口发现、实时监控、报文发送、日志记录、数据库文件解码和统计分析能力。

运行依赖

Windows、Linux,Python 3.10+。总线操作需要 python-can 与接口驱动;DBC 解码需要 cantools。

配置

环境级配置 (skill/config.json)

仅保留 slcan 相关的环境级配置:

{
  "slcan_serial_port": "",
  "slcan_serial_baudrate": 115200
}
字段说明默认值
slcan_serial_portslcan 场景的串口""
slcan_serial_baudrateslcan 场景的串口速率115200

工程级配置 (.embeddedskills/config.json)

工作区下的 .embeddedskills/config.json 存放工程级 CAN 配置:

{
  "can": {
    "interface": "",
    "channel": "",
    "bitrate": 500000,
    "data_bitrate": 2000000,
    "log_dir": ".embeddedskills/logs/can"
  }
}
字段说明默认值
interfaceCAN 后端,如 pcan / vector / slcan""
channel通道名,如 PCAN_USBBUS1""
bitrate仲裁域比特率500000
data_bitrateCAN-FD 数据域比特率2000000
log_dir日志输出目录.embeddedskills/logs/can

参数解析优先级

  1. CLI 参数 (--interface, --channel, --bitrate 等) - 最高优先级
  2. 工程级配置 (.embeddedskills/config.json 中的 can 部分)
  3. 状态文件 (.embeddedskills/state/can.json 中的历史记录)
  4. 默认值 - 最低优先级

自动扫描行为

Details

Repository
github.com/zhinkgit/embeddedskills
Categories
CLI & Terminal, Data Science & Analytics, Debugging
First seen
Jun 3, 2026

Questions

Which category is the can skill in, and how does it rank?

The can skill is in the CLI & Terminal category on Claude Marketplaces, where it ranks in the top 100. It covers embedded CAN and CAN-FD debugging, including scanning interfaces, monitoring frames, sending test frames, logging, DBC decoding and bus statistics.

How do I install the can skill for an embedded CAN project?

Run npx -y skills add zhinkgit/embeddedskills --skill can -y inside your project. After that the agent can scan CAN interfaces, monitor bus traffic and decode DBC files for you.

What does the can skill need to run?

It needs Python 3.10 or later on Windows or Linux. Bus operations also need python-can and an interface driver, and DBC decoding needs cantools.

Can the can skill decode CAN logs with a DBC file?

Yes, the decode subcommand reads database files and can decode frames or log files. It also supports ASC and BLF log files and CAN ID filtering during monitoring.

More from zhinkgit/embeddedskills

All 9

Similar to Can

More CLI & Terminal