A full-featured CAN/CAN-FD debugging tool that wraps interface discovery, real-time monitoring, frame transmission, logging, and DBC decoding into a single workflow. It auto-scans USB-CAN adapters (PCAN, Vector, slcan), writes working configs to your project so you don't re-specify channels every time, and handles both arbitration and data bitrates for FD frames. The send command goes straight through once configured, no confirmation prompts, which is efficient but means you should double-check your IDs first. Output is structured JSON or JSON Lines for streaming, and it prioritizes CLI args over project config over defaults, so you can override on the fly. If you're doing embedded CAN work and tired of switching between vendor tools, this consolidates the repetitive stuff.

skills.sh installs
751
GitHub stars
791
last updated
Aug 21, 2026

Install

$ npx -y skills add zhinkgit/embeddedskills --skill can --agent claude-code

Installs into .claude/skills of the current project.

Files

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

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

配置

环境级配置 (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.json 中的历史记录)
  4. 默认值 - 最低优先级

自动扫描行为

Sponsors

Details

Repository
github.com/zhinkgit/embeddedskills
Category
AI & Agent Building
First seen
Jun 3, 2026

More from zhinkgit/embeddedskills

All 9
1cap-go avatarcapgo-release-managementcap-go/capgo-skillsGuides the agent through Capgo OTA release workflows including bundle uploads, compatibility checks, channels, cleanup, and encryption key setup. Use when manag749skills.sh installs
2cap-go avatarcapgo-release-workflowscap-go/capgo-skillsGuides the agent through setting up Capgo-centered release workflows for Capacitor apps. Use when the user needs a unified path for live updates, native builds,749skills.sh installs
3cap-go avatarsqlite-to-fast-sqlcap-go/capgo-skillsGuides the agent through migrating SQLite and SQL-style Capacitor plugins to @capgo/capacitor-fast-sql. Use when replacing bridge-based SQL plugins, adding encr749skills.sh installs
4mindrally avatarfigma-integrationmindrally/skillsGuidelines for integrating Figma designs with development workflows using MCP servers and best practices745skills.sh installs
5cap-go avatarcapacitor-app-upgrade-v7-to-v8cap-go/capgo-skillsGuides the agent through upgrading a Capacitor app from v7 to v8. Use when the project is on Capacitor 7 and needs the v8 migration path. Do not use for other m744skills.sh installs
6ruvnet avatarsafety-scanruvnet/rufloScan inputs for prompt injection, unsafe content, and adversarial attacks using AIDefence. Use when processing untrusted input (user submissions, API payloads, 744skills.sh installs