mr-nobody-anonymous/all-skills/automotive-logging

Claude Code and agent skill by mr-nobody-anonymous/all-skills

Trust tier 3
  • community
  • ext:[{"type":"config","description":"Configuration overrides"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

DLT (Diagnostic Log and Trace) logging skills for automotive systems Includes 1 skill files covering .

Install

npx vskill@latest install mr-nobody-anonymous/all-skills/automotive-logging

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as mr-nobody-anonymous/all-skills/automotive-logging.

Automotive Logging

1 skill files covering logging domain for automotive software engineering.

Required Tools

  • DLT Viewer (optional, for visualization)
  • Python 3.8+
  • dlt-daemon (optional, for network logging)

Instructions

dlt-logging

DLT (Diagnostic Log and Trace) Guide — AUTOSAR/COVESA

Overview

DLT is the standardized logging framework for automotive systems, defined by AUTOSAR and maintained by COVESA. It provides structured, high-performance logging with application/context-based filtering, binary message format for efficiency, and support for multi-ECU log aggregation.

Architecture
Application 1 Application 2 Application N
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ DLT User │ │ DLT User │ │ DLT User │
│ Library │ │ Library │ │ Library │
└──────┬──────┘ └──────┬──────┘ └──────┬──────┘
│ │ │
└───────────────────┼───────────────────┘
│ UNIX Socket / Shared Memory
┌────────┴────────┐
│ DLT Daemon │
│ (dlt-daemon) │
├─────────────────┤
│ File Output │ → /var/log/dlt/*.dlt
│ Network Output │ → TCP port 3490
│ Serial Output │ → /dev/ttyS0
└─────────────────┘
│ TCP/IP
┌────────┴────────┐
│ DLT Viewer │ (Desktop analysis tool)
└─────────────────┘
Identification Model

DLT uses a hierarchical ID system for filtering:

  • ECU ID (4 chars): Identifies the hardware unit (e.g., "ECU1", "GW01")
  • Application ID (4 chars): Identifies the software application (e.g., "ADAS", "DIAG")
  • Context ID (4 chars): Identifies the subsystem within an app (e.g., "CTRL", "SENS")

This enables precise filtering: show only ADAS.CTRL errors from ECU1.

Log Levels
LevelValueUsage
FATAL0x01System failure, requires immediate action
ERROR0x02Error condition, operation failed
WARN0x03Potential problem, degraded operation
INFO0x04Normal operational events
DEBUG0x05Detailed debug information
VERBOSE0x06Maximum detail (development only)
Message Format

DLT messages use a compact binary format for efficiency:

┌──────────────┬──────────────┬──────────────┬──────────────┐
│ Storage Hdr │ Standard Hdr │ Extended Hdr │ Payload │
│ (16 bytes) │ (4 bytes) │ (10 bytes) │ (variable) │
└──────────────┴──────────────┴──────────────┴──────────────┘
Storage Header: timestamp (seconds + microseconds), ECU ID
Standard Header: version, message counter, length, ECU ID
Extended Header: message info, app ID, context ID
Payload: type-safe arguments (string, int, float, raw data)
Verbose vs Non-Verbose Mode
  • Verbose mode: Payload includes type info per argument (self-describing).

Larger messages but viewable without external database.

  • Non-verbose mode: Payload is raw data, requires FIBEX database to decode.

Smaller messages, used in production for bandwidth savings.

DLT Daemon Configuration

Key configuration file: /etc/dlt.conf

ini
# DLT daemon configuration
Verbose = 1 # Enable verbose mode
DaemonFIFOSize = 65536 # FIFO buffer size
LoggingLevel = INFO # Daemon's own log level
OfflineTraceDirectory = /var/log/dlt # File output directory
OfflineTraceFileSize = 10000000 # Max file size (10MB)
OfflineTraceMaxSize = 100000000 # Max total size (100MB)
ECUId = ECU1 # This ECU's identifier
Multi-ECU Logging

For distributed automotive systems:

  • Each ECU runs its own dlt-daemon with unique ECU ID
  • Central logger connects to all ECUs via TCP port 3490
  • DLT Viewer aggregates and time-correlates logs from all ECUs
  • Use NTP or PTP for time synchronization across ECUs
Integration with Python

The DLTAdapter in this project wraps the DLT protocol for Python applications. Key patterns:

  • Use context managers (with DLTAdapter(...)) for automatic cleanup
  • Pass structured data as keyword arguments for filtering
  • Use separate contexts per subsystem for independent log level control
  • Integrate with Python's standard logging via DLTLoggingHandler
Performance Considerations
  • DLT overhead: ~1 microsecond per log message (shared memory transport)
  • File I/O is buffered; messages may be lost on crash without flush
  • Use log level filtering to reduce volume in production
  • Rotate log files to prevent disk exhaustion (configure max file/total size)
Best Practices
  • Use meaningful 4-character IDs: ADAS (not APP1), CTRL (not CTX1)
  • Set production log level to INFO or WARN (not DEBUG/VERBOSE)
  • Always close DLT adapters to flush buffered messages
  • Use DLT Viewer's filter and search for efficient log analysis
  • Archive DLT files with ECU ID and timestamp for traceability
  • Correlate DLT logs with CAN traces and diagnostic sessions for RCA

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Extension points

  • configConfiguration overrides

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mr-nobody-anonymous/all-skills/automotive-logging/badge)](https://verified-skill.com/skills/mr-nobody-anonymous/all-skills/automotive-logging)

Something wrong with this skill or its page? Tell us.