Index of every page on this site: llms.txt
All skills
magnus919 avatar

/maritime-telemetry

@c3e44b8
Run it yourself

Design, build, decode, bridge, and troubleshoot open maritime telemetry and device interoperability using NMEA 0183 and NMEA 2000 (N2K). Use for DIY boat sensors, actuators, chartplotter telemetry, AIS over serial or N2K, CAN PGNs, marine gateways, and Raspberry Pi or ESP32 integration with commercial instruments through Signal K, CANboat, or OpenCPN. Do not use for generic automotive CAN, standalone electronics or firmware work, radar RF design, or claims of NMEA certification without formal evidence.

  • 115 files
  • 533.9 KB
  • Updated last month
  • GitHub
Use this Skill: https://skilld.dev/gh/magnus919/maritime-telemetry/maritime-telemetry

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈132 tokens for metadata: the name and description. ≈2.6k when used: this file. ≈115k more on demand in 81 files.

Description uses 6.6% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈528 characters, or 6.6%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Maritime telemetry and interoperability

Help a builder turn a sensor reading or software feature into correctly interpreted information on a particular boat. Own the maritime protocol contract across the wire, gateway, source selection, display, and control boundary. This is one maritime interoperability workflow spanning wire protocols, open data models, decoding tools and chartplotter consumers. CANboat and OpenCPN are software projects; Signal K specifies an open data model and APIs; NMEA standards are licensed.

Working contract

  • Identify the exact instruments, firmware, interfaces, intended consumer and required behavior. “NMEA compatible” is not a sufficient interface contract.
  • Start with offline captures, then an isolated bench network, then passive vessel observation. A CAN receiver in normal mode may acknowledge frames even when the application never calls send. Confirm controller-level listen-only mode.
  • Before wiring, powering, flashing, changing network configuration, transmitting, or enabling a control bridge: Confirm the target, scope, and rollback path before acting. Read-only discovery may proceed without confirmation. Existing explicit authorization can satisfy this gate; do not ask again for the same scope.
  • Distinguish published standard requirements, manufacturer requirements, community interpretations, design recommendations, and measurements. Obtain licensed standards for normative conformance decisions; do not reproduce them.
  • A decoded packet, valid checksum, or visible device name does not prove the intended display or actuator works. Name the tested receiver and firmware.
  • Keep control disabled until the user authorizes the exact actuator and bounded test. Never replay unknown captures into a live boat or bypass an interlock.

Route by task

Read only the relevant resources:

Task Read Deliver
Choose architecture or verify a claim Sources and authority Evidence-backed scope and uncertainty
AIS targets over N2K, identity, static joins or chartplotter bridges AIS over NMEA 2000 Target mapping, freshness and receiver acceptance
Serial wiring, sentences, GNSS or AIS NMEA 0183 Port and sentence contract
Backbone design or power fault N2K electrical design Drawing and electrical budget
PGN decoding, identity, transport or publishing N2K protocol PGN and identity contract
Implement N2K directly or inspect library internals Pinned source walkthrough Layered protocol design and independent vectors
ESP32 sensor or Raspberry Pi gateway Implementation paths Versioned build and integration plan
CANboat captures and decoder workflow CANboat Pinned decode evidence and unknown-field ledger
Build a configurable ESP32 instrument display Signal K display case study Display contract and scoped adaptation plan
Signal K data model, APIs and server integration Signal K Source-aware application contract
OpenCPN connections, chartplotters and radar OpenCPN Verified consumer configuration
Translation, chartplotters, radar or software UI Gateways and applications Semantic mapping and source policy
Digital switching, autopilot or other control Actuator boundaries Command/state/interlock contract
Commissioning or diagnosis Acceptance and fault isolation Bounded test evidence

Start a substantial project with device contract. Use translation matrix for bridges and commissioning record for bench/vessel work.

For a direct implementation, use protocol worksheet. The optional host encoding probe and executed evidence show how to check independent byte vectors against a pinned upstream implementation without opening a bus.

Implementation laboratories and worked designs

Use these focused additions when moving from a design to reproducible evidence:

Need Resource
Fault fixtures, bounded parser/reassembly and source freshness Offline laboratory
Signal K REST, subscriptions, nulls, reconnects and plugin contracts Signal K implementation
ESP32 compilation and version-sensitive TLS Embedded recipes
Isolation and a worked power budget Electrical design
Depth, tank and heading calculations Measurement calibration
Pi recovery and OpenCPN source priorities Deployment and consumers
Authorization, feedback and simulated relay failures Security and controls
AIS multipart boundaries and serial resynchronization Serial and AIS profiles
Radar models and adjacent protocol decisions Radar and adjacent systems

Consult executed results before describing any recipe as tested. The research ledger identifies unresolved physical, normative and behavioral validation. These are teaching examples: their bounded profiles are not complete production protocol stacks.

Workflow

  1. Discover the actual boundary. Record connector and pin labels, voltage, isolation, port direction and speed, protocol edition where known, supported receive/transmit sentences or PGNs, firmware and source-selection behavior. Classify feature as observation, publication, configuration, or actuation. If manuals are missing, advance the abstract design but stop pin-specific work.
  2. Choose the smallest useful path. Prefer an isolated existing gateway for a first Pi display; an MCU plus a verified transceiver and mature N2K stack for a sensor. Do not write a new bus stack merely to publish one measurement. Use NMEA 0183 for a required serial consumer and N2K for the shared CAN backbone; use Signal K above gateways for application data and provenance.
  3. Freeze the semantic contract. Specify units, reference frame, invalid values, update cadence, timeout, source/instance and consumer support. Never convert unavailable values to zero, magnetic heading to true heading without variation, or ground speed to water speed. Define loss and ambiguity in every conversion.
  4. Prove offline behavior. Retain raw data, timestamps, decoder revision and expected values. Test invalid/truncated frames, missing fragments, nulls, source changes and stale data. Run the bundled inspector for framing checks; use a pinned CANboat decoder for payload interpretation.
  5. Verify on the bench. Check electrical conditions, boot behavior, discovery, transmission rate, unit conversions and failure handling with the intended consumer. Include power cycles and multiple sensors of the same type.
  6. Commission progressively. Observe baseline network health, add one device, compare physical measurement, decoded message and actual display. Enable only the approved publication/control paths. Preserve a physical removal and saved configuration rollback route.
  7. Close with evidence. State implemented, unit-tested, simulated, bench-tested, vessel-tested and not assessed separately. Deliver captures and an acceptance decision scoped to the tested hardware/firmware, not universal compatibility.

Offline tool

Run from this skill's directory; Python 3.10+, standard library only:

python3 scripts/nmea_inspect.py sentence '$GPGLL,4916.45,N,12311.12,W,225444,A,*1D'
python3 scripts/nmea_inspect.py can-id 0x09F11223
python3 scripts/nmea_inspect.py file capture.nmea
python3 scripts/test_nmea_inspect.py

The inspector outputs JSON and never opens a bus, serial device or socket. It checks a deliberately strict checksum-bearing, untagged sentence profile and extracts CAN identifier fields. It does not decode AIS payloads, reassemble fast packets, validate navigation truth, or establish standards conformance. See the 0183 and N2K references for limits. Exit 0 = accepted framing, 1 = rejected data, 2 = usage/I/O failure. A file report may contain accepted and rejected records.

Scope boundaries

This repository is self-contained and has no required companion skills. Use exact board, component, operating-system and application documentation for implementation.

  • For electronics, establish the electrical contract, protection, isolation and measurement plan described in the electrical and implementation references.
  • For ESP32 work, verify the exact SoC, GPIO restrictions, framework/driver versions, build target and recovery path before flashing. Do not generalize board pinouts.
  • For Raspberry Pi work, verify board/OS/adapter compatibility and follow the implementation reference; preserve configuration and recovery media.
  • For application work, carry domain units, source, validity and freshness through the backend and UI. Follow the Signal K and gateway security requirements.
  • Radar imagery, sonar imagery and chart files are not generic N2K telemetry. Verify exact Ethernet/plugin/proprietary support. RF transmitter construction and regulatory approval are outside this skill.

Completion and stop conditions

Complete when the requested design, implementation or diagnosis has a reviewable artifact and explicit evidence limits. Missing hardware does not block an offline implementation, but it does block a claimed physical pass. Stop live work on unexpected actuator movement, bus-off escalation, supply/isolation uncertainty, loss of primary navigation data, or an unapproved command path. After three non-converging diagnostic passes, report the ledger and smallest decisive next measurement rather than trying random PGNs or changing several variables.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at c3e44b8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Activeupdated last month

README badge

README badge for magnus919/maritime-telemetry