Skill / SKILL.md

Cansub Reverse Engineering

CSS-Electronics/can-bus-reverse-engineering-skills

Reverse engineer / decode CAN bus signals: find which CAN ID, byte and bit encode a real-world quantity (vehicle speed, engine RPM, state-of-charge, coolant temp, throttle, door lock, ...) and derive its start-bit, length, endianness, scale and offset into a DBC. A deterministic chain of Python scripts (survey -> correlate -> bitsearch -> build_dbc -> verify) replaces "a human watches the screen to spot correlations". Works three ways: (1) OFFLINE - decode a signal from an EXISTING recorded log the user already has (a CAN + OBD2 log, an MF4/CANedge log, or a webCAN CSV) using a separately decodable reference such as an OBD2 PID (engine RPM, vehicle speed, coolant temp) or a CSS Electronics GPS source (CANmod.gps, or a CANedge's internal GPS/IMU on CAN9 - bundled DBCs, e.g. GPS speed as a reference for proprietary vehicle speed) - NO hardware needed; (2) LIVE - capture from a CSS Electronics CANsub interface with a human-supplied reference; or (3) VISION - the user has a CAN log plus a VIDEO of a display (dashboard / gauge app / instrument) showing the true value, and a local open-source OCR script digitizes the on-screen number into the reference. Trigger this skill whenever the user wants to reverse engineer, decode, identify or "find the CAN ID/bits for" an unknown signal, or build a DBC from a log - INCLUDING phrasings like "reverse engineer Vehicle Speed from my CAN/OBD2 log file <name>.csv", "which CAN message carries RPM in this log", or "decode <signal> from my CAN log using this dashboard video as the reference". Targets plain, non-multiplexed CAN signals. Ad-hoc input logs the user refers to by filename usually sit in the working-directory root (or under TEMP/) — glob for the named file there before asking where it is.
1 views 264 repository starsUpdated Nov 28, 2026
Overview

Reverse engineer / decode CAN bus signals: find which CAN ID, byte and bit encode a real-world quantity (vehicle speed, engine RPM, state-of-charge, coolant temp, throttle, door lock, ...) and derive its start-bit, length, endianness, scale and offset into a DBC. A deterministic chain of Python scripts (survey -> correlate -> bitsearch -> build_dbc -> verify) replaces "a human watches the screen to spot correlations". Works three ways: (1) OFFLINE - decode a signal from an EXISTING recorded log the user already has (a CAN + OBD2 log, an MF4/CANedge log, or a webCAN CSV) using a separately decodable reference such as an OBD2 PID (engine RPM, vehicle speed, coolant temp) or a CSS Electronics GPS source (CANmod.gps, or a CANedge's internal GPS/IMU on CAN9 - bundled DBCs, e.g. GPS speed as a reference for proprietary vehicle speed) - NO hardware needed; (2) LIVE - capture from a CSS Electronics CANsub interface with a human-supplied reference; or (3) VISION - the user has a CAN log plus a VIDEO of a display (dashboard / gauge app / instrument) showing the true value, and a local open-source OCR script digitizes the on-screen number into the reference. Trigger this skill whenever the user wants to reverse engineer, decode, identify or "find the CAN ID/bits for" an unknown signal, or build a DBC from a log - INCLUDING phrasings like "reverse engineer Vehicle Speed from my CAN/OBD2 log file <name>.csv", "which CAN message carries RPM in this log", or "decode <signal> from my CAN log using this dashboard video as the reference". Targets plain, non-multiplexed CAN signals. Ad-hoc input logs the user refers to by filename usually sit in the working-directory root (or under TEMP/) — glob for the named file there before asking where it is.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/CSS-Electronics/can-bus-reverse-engineering-skills' skill-source

Use the complete skill-source/.claude/skills/cansub-reverse-engineering directory with your client’s skill installer.

  • .claude/skills/cansub-reverse-engineering Claude Code

    master · SKILL.md

    Open installation source

    Client installation directory present in source repository

Source directory .claude/skills/cansub-reverse-engineering

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
24 included files
Source & validation
Source status
Awaiting source check
Format validation
Needs source review
Checked at
Pending source check
Content SHA-256
9c81d8a159a5381a251828b5bad5a41e624632054cbd8755c459d9f123d81cb5
Format validation findings
  • Invalid or missing description.
Agent Skills specification
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills