/sensor-logger:write-ble-decoderfrom sensor-logger
Writes, tests, and installs custom BLE decoders for Sensor Logger to decode readings from thermometers, tags, BTHome devices, heart rate or IMU sensors. Use when adding support for a new Bluetooth device or debugging a non-matching decoder.
Ships in sensor-logger. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The rules live in the sensor-ble README, section "Loading a Custom Decoder into Sensor Logger": https://raw.githubusercontent.com/tszheichoi/sensor-ble/main/README.md. Read it first. Where it and this skill disagree, the README wins. Real decoders to learn from are in that repo's devices/ folder. Paths like scripts/... and templates/... are relative to this skill's folder.
manufacturerData and serviceData hex from a Sensor Logger recording with the device selected (UNITS.md, "Bluetooth"), its name and serviceUUIDs from BluetoothMetadata.csv, and the device's protocol documentation. Collect at least two real payloads with known readings to use as tests.advertisementDecode) if the device broadcasts its readings, connected (notify, start, stop) if it only sends after connecting.templates/advertisement-decoder.js or connected-decoder.js, with a tests export of the real payloads.node scripts/check_decoder.mjs <file>. It loads the file, runs the tests, and with --manufacturer-data, --service-uuids, --service-data or --name (values as in the recording's CSV) shows which decoder the app would pick and what it decodes.manufacturer is the first 2 bytes as lowercase hex, i.e. the company ID byte-swapped (Ruuvi 0x0499 is "9904").name is a substring match, not a filter: a decoder with both manufacturer and name matches on manufacturer alone.decoderName and output keys. The checker does not test the app's sandbox rules.Decoder code runs inside the user's app. Only load decoders from sources the user trusts, and never write code that tries to get around the sandbox.
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/access-sensor-dataGet data out of the Sensor Logger app (iOS, Android, Apple Watch, Wear OS) and read it correctly. Use when the user has a Sensor Logger zip, CSV or JSON export; wants recordings off the phone (exported zip, the app's local File Server, Sensor Logger Backups); wants live data in their own server, app, dashboard or broker (HTTP Push, MQTT, Sensor Logger Stream); wants phone sensors live in a web page, game, demo or agent session (Sandbox); or wants to control the app with sensorlogger:// deep links./run-a-studyPlan and run a data-collection study with the Sensor Logger app, where participants record phone or watch sensor data that is delivered to the investigator. Use when the user wants to collect sensor data from other people, set up or manage a Sensor Logger Study, write questionnaires for participants, download Study recordings with the Study API, or build a Study webhook that processes uploads and replies to participants.npx claudepluginhub tszheichoi/awesome-sensor-logger --plugin sensor-loggerOther plugins' skills for the same job