/una-sdk:una-test-on-watchfrom una-sdk
Installs a UNA Watch app (.uapp) on a real watch over USB, collects logs, and runs hardware-specific checks. Use when deploying, updating, or debugging apps on a UNA Watch.
Ships in una-sdk. 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.
None: SKILL.md is the whole skill.
The user has to do the physical steps: plug in, eject, restart, press buttons, wear it. You prepare the files, tell them exactly what to do, verify what you can and read the logs. Say clearly which steps are theirs.
.uapp (skill una-build-uapp).UNA WATCH on most watches). Running apps may flush their data first, so it can take a few
seconds. Find the drive by its label, or ask the user which drive it is. Don't assume a drive
letter or mount point..uapp goes in Apps/<AppName>/ on the drive. Create the
folder for a new app. Folder name and file name are free, but use the app's name.
.uapp it finds in each folder, so a folder must hold exactly one.
When updating, copy the new .uapp in first. If it has the same file name as the old one
(untagged builds are all <Name>_0.0.0-dev.uapp), the copy overwrites it and nothing is
removed. Otherwise, then remove the other .uapp files in the folder, never the one just
copied.Copy-Item, with absolute paths (.NET doesn't use
PowerShell's current folder): [System.IO.File]::Copy($src, $dst, $true), where $true
allows overwriting. Verify by hash afterwards (below).settings.json, Activity/ and similar are the
user's data.Apps/SharedData/ isn't an app. Never touch it.udisksctl power-off, …) before unplugging, or the copy may not be complete on the watch.On Windows, Utilities/Scripts/Update-Watch-Apps.ps1 in the SDK updates apps already on the
watch, with -InstallNew for new ones. It finds the watch by its label, keeps settings and
activities, copies the new .uapp before removing the old one, and has -Eject and -Verify.
-Source is a folder (or .zip) of per-app subfolders, each holding one .uapp. The subfolder
name picks the folder on the watch, so it must match the app's folder under Apps/: a build's
Output/ folder isn't in that layout. For example, put the .uapp in staging\MyApp\ and
pass -Source staging.
The watch checks each .uapp when it starts and silently leaves out one that is damaged: the app
just doesn't appear. A damaged copy can still have the right size, and a hash right after copying
can read the computer's cache rather than the watch. So, to verify:
sha256sum Output/MyApp_1.2.0.uapp "/media/$USER/UNA WATCH/Apps/MyApp/MyApp_1.2.0.uapp"
Get-FileHash Output\MyApp_1.2.0.uapp, E:\Apps\MyApp\MyApp_1.2.0.uapp -Algorithm SHA256
If the hashes differ, delete the file on the watch, copy it again and verify again.
The watch can write its system log, including the app's LOG_INFO/LOG_WARNING/LOG_ERROR
lines, to files on its drive:
debug_settings.json at the root of the watch's drive:
{ "logCfg": { "logToFile": true } }
If the file exists, note its current logCfg.logToFile value, then set only that and keep
its other settings.Log/System/syslog_<id>_<NNNN>_<timestamp>.log.
NNNN is the
latest.LOG_MODULE_PRX set at the top of each source
file.false if the file didn't
exist or the setting wasn't there. Logging costs battery and flash wear. Then eject,
disconnect and restart the watch.Crashes: crash dumps land in Crash/ on the drive. Include them when reporting a crash.
The same log is also sent out of the watch's debug UART, which needs a debug adapter.
Walk the user through these. Report each answer: they are the gaps the simulator can't cover.
.uapp is damaged (verify the hash);Apps/;.uapp in the same folder was loaded instead.Crash/.minKernelVersion (skill una-store-submit). The user updates the watch's
firmware.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
una-watch, watch-app-deployment, usb-install, log-collection
npx claudepluginhub unawatch/una-sdk --plugin una-sdk7 skills in this plugin
/una-build-uappBuild a UNA Watch app's .uapp package for the watch with CMake and the arm-none-eabi toolchain, and set its version, ID and memory sizes. Use when building, rebuilding or versioning a UNA Watch app for the device, or when a .uapp build fails./una-new-appStart a new UNA Watch app (activity, utility, glance or clockface) by copying the closest SDK example and renaming it. Covers choosing between a TouchGFX and an LVGL GUI, a fresh APP_ID, the paths to fix when the app lives outside the SDK, regenerating TouchGFX code, and converting LVGL fonts and images. Use when creating a UNA Watch app or watch face, when deciding which GUI toolkit to use, or when regenerating TouchGFX code or adding fonts or images to an app./una-setupSet up a machine to build UNA Watch apps. Installs an arm-none-eabi toolchain, CMake, a build tool and Python, clones the UNA SDK and sets UNA_SDK, on Windows, macOS, Linux or in Docker. Use when starting UNA Watch development, when a build can't find arm-none-eabi-gcc or una-app.cmake, or when UNA_SDK is unset./una-simulatorBuild and run a UNA Watch app in the desktop simulator, and drive it with a script, headless, with no window, keyboard or display. Scripts press buttons, set heart rate, GPS, battery and pressure, replay GPS tracks and save PNG screenshots, and the exit code says pass or fail. Use to see or check a UNA Watch app's screens or behaviour without a watch, to take screenshots, or to test a flow end to end./una-store-submitPrepare a UNA Watch app release for the UNA app store (apps.unawatch.com) - store APP_ID, app-manifest.json with minKernelVersion stamped, a clean tagged build, validation and the upload zip - for the developer to upload and publish. Also covers contributing an open-source app to the SDK. Use when releasing, publishing or submitting a UNA Watch app./una-unit-testWrite and run host unit tests (GoogleTest, on the PC's own compiler) for a UNA Watch app's logic, using the SDK's kernel test doubles and in-memory file system. Use when adding tests to a UNA Watch app, testing settings or file code without a watch or simulator, or setting up a Tests/ folder in an app repository.Other plugins' skills for the same job