pp-withings
FreeNo executable scriptsNot checkedEvery Withings metric in one offline-first, agent-native CLI — with a local SQLite mirror and recomposition, recovery Trigger phrases: `check my withings`…
by mvanhorn★ 2,170 GitHub starsAbout this skill
Withings — Printing Press CLI
Prerequisites: Install the CLI
This skill drives the withings-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
- Install via the Printing Press installer. It defaults binaries to
$HOME/.local/binon macOS/Linux and%LOCALAPPDATA%\Programs\PrintingPress\binon Windows:npx -y @mvanhorn/printing-press-library install withings --cli-only - Verify:
withings-pp-cli --version - Ensure the reported install directory is on
$PATHfor the agent/runtime that will invoke this skill.
If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:
go install github.com/mvanhorn/printing-press-library/library/devices/withings/cmd/withings-pp-cli@latest
If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.
Pulls your weight/body-composition, activity, sleep, heart/ECG and workouts from the official Withings API into a local SQLite store you can search, query with SQL, and export as JSON or CSV. On top of that it adds local-join analytics — recomp, recovery, bp-report, sleep debt, digest, correlate — that no single API call can produce.
When to Use This CLI
Use this CLI when you want programmatic, offline-queryable access to your own Withings health data and analytics across metrics over time — body recomposition, training recovery, sleep debt, BP/AFib reports for a clinician, or a structured health digest to feed an LLM. It is ideal for agents answering 'how is my health trending' and for scripted exports.
Anti-triggers
Do not use this CLI for:
- Do not use this CLI to push data to Garmin/TrainerRoad/Strava — use withings-sync for one-way fitness-platform sync.
- Do not use it for medical diagnosis; it reports your recorded measurements and is not a clinical device.
- Do not use it to access another person's Withings data — it operates only on the authorized account.
Unique Capabilities
These capabilities aren't available in any other tool for this API.
Local-join analytics
recomp— See whether you're actually recomposing — fat mass down while lean mass holds — on a de-noised rolling-average weight, not scale-weight whiplash.Reach for this instead of raw measures when the question is 'is my cut/bulk working', not 'what did I weigh on Tuesday'.
withings-pp-cli recomp --since 90d --agentrecovery— Weigh recent workout HR-zone load against your recovery markers (resting HR, HRV, sleep score) to catch overtraining before it catches you.Use when deciding whether to push or back off; it correlates how hard you trained with how recovered you are.
withings-pp-cli recovery --since 14d --agentsleep debt— Cumulative sleep deficit against your target over a rolling window — the number the per-night summary never adds up for you.Use for sleep-deficit accounting over time; for one night use 'sleep summary'.
withings-pp-cli sleep debt --window 14d --agentcorrelate— Pearson + best-lag correlation between any two daily metrics (weight vs sleep score, steps vs resting HR).The flexible fallback when no curated readout fits the metric pair you care about.
withings-pp-cli correlate weight sleep_score --since 90d --agent
Clinician + agent reports
bp-report— A dated blood-pressure + AFib table with your own annotations (medication changes, symptoms) — the clean history to hand a cardiologist.Use for a doctor-ready BP/AFib history; prefer it over raw 'heart list' when you need the annotated report.
withings-pp-cli bp-report --since 90d --agentdigest— One structured 'what changed sinceThe go-to for LLM health Q&A: one cursor-driven structured pull instead of N endpoint calls.
withings-pp-cli digest --since 24h --agent
Command Reference
activity — Daily and intraday activity: steps, distance, calories, heart-rate zones
withings-pp-cli activity get— Daily activity aggregates (getactivity).withings-pp-cli activity intraday— High-resolution intraday activity series (getintradayactivity).
devices — Linked Withings
Install pp-withings in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
ReadBashFAQ
What does the pp-withings skill do?
Every Withings metric in one offline-first, agent-native CLI — with a local SQLite mirror and recomposition, recovery Trigger phrases: `check my withings`, `how is my weight trending`, `am I recovering or overtraining`, `sleep debt this week`, `BP report for my doctor`, `use withings`, `run withings`.
How do I install the pp-withings skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the pp-withings skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
by AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
by Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
by Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
by Anthropic