Pp walkingpad

From mvanhorn/printing-press-library · View interactive version

Pp walkingpad is an AI agent skill from the GitHub repository mvanhorn/printing-press-library. The standalone CLI for WalkingPad treadmills — drive the belt over Bluetooth LE and keep a permanent local history of every walk the belt forgets on power-cut. Trigger phrases: `start my walkingpad`, `how far have I walked today`, `what's my walking streak`, `walking trends this week`, `estimate my

How to use this skill

Skill file

<!-- GENERATED FILE — DO NOT EDIT.

This file is a verbatim mirror of library/devices/walkingpad/SKILL.md,

regenerated post-merge by tools/generate-skills/. Hand-edits here are

silently overwritten on the next regen. Edit the library/ source instead.

See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

WalkingPad — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the walkingpad-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:

```bash

npx -y @mvanhorn/printing-press-library install walkingpad --cli-only

```

  1. Verify: walkingpad-pp-cli --version
  2. Ensure the reported install directory is on $PATH for 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):

go install github.com/mvanhorn/printing-press-library/library/devices/walkingpad/cmd/walkingpad-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.

When to Use This CLI

Reach for this CLI whenever an agent or script needs to inspect a WalkingPad's recorded walk history, compute streaks/trends/calories, or drive a physical belt from a laptop instead of the phone app. It is ideal for "how far did I walk today / this week", consecutive-day streak tracking, calorie estimates the belt won't report, exporting walks to Apple Health, and — on a live build — starting, holding, and stopping the belt over a reliable held BLE connection. The MCP surface mirrors the read and history/analytics commands so an agent can answer walking questions without the phone app.

Unique Capabilities

These capabilities aren't available in any other tool for this device.

Local history & analytics

The belt loses its run memory on power-cut. This CLI persists every recorded walk locally so the long view survives.

```bash

walkingpad-pp-cli today --json

```

```bash

walkingpad-pp-cli streak --json

```

```bash

walkingpad-pp-cli trends --days 30 --json

```

```bash

walkingpad-pp-cli profile set --weight 80

walkingpad-pp-cli calories --days 7 --json

```

```bash

walkingpad-pp-cli export --json

```

Reliable live control

```bash

walkingpad-pp-cli run --speed 2.0 --duration 30m --live --confirm-physical-effect

```

```bash

walkingpad-pp-cli stop --live --confirm-physical-effect

```

Device discovery

```bash

walkingpad-pp-cli scan --live

```

Command Reference

Live device control

Low-level single-write commands also exist — start, wake, set-speed <kmh>, and set-mode <mode> — for advanced use. They issue one BLE write and do not sustain the belt; prefer run/stop for actual walks. See walkingpad-pp-cli --help.

Live telemetry

Local history & analytics

Profile

Diagnostics & discovery

Live Device Control (BLE)

By default the CLI is replay-backed and never opens a connection — safe to run anywhere. To actuate a real belt:

Inspect the full callable/withheld surface and safety metadata with walkingpad-pp-cli capabilities --json, and check live readiness with walkingpad-pp-cli doctor.

Recipes

How far have I walked today

walkingpad-pp-cli today --json

Today's distance, steps, active minutes, and session count from the local history store.

Walking streak and weekly trend

walkingpad-pp-cli streak --json
walkingpad-pp-cli trends --days 7 --json

Consecutive-day streak plus per-day totals for the last week.

Calorie estimate (set weight once)

walkingpad-pp-cli profile set --weight 80
walkingpad-pp-cli calories --days 7 --json

MET-method estimate from recorded sessions and body weight — the number the belt refuses to report.

Drive a real belt and record the walk (live build)

walkingpad-pp-cli run --speed 2.0 --duration 30m --live --confirm-physical-effect

Holds the BLE connection, runs the belt at 2 km/h for 30 minutes, records the walk, then stops it.

Preview a device write without sending it

walkingpad-pp-cli run --speed 2.0 --dry-run --json

--dry-run shows the planned write and safety class without contacting the belt.

Agent Mode

Add --agent (equivalent to --json) to any command for machine-readable JSON on stdout, errors on stderr.

Exit Codes

| Code | Meaning |

|------|---------|

| 0 | Success |

| 1 | Error |

Argument Parsing

Parse $ARGUMENTS:

  1. Empty, help, or --help → show walkingpad-pp-cli --help output
  2. Starts with install → ends with mcp → MCP installation; otherwise → see Prerequisites above
  3. Anything else → Direct Use (execute as CLI command with --agent)

MCP Server Installation

walkingpad-pp-mcp is a stdio MCP server that mirrors the read and history/analytics commands as agent tools (held-connection control commands are hidden). Install the MCP binary from this CLI's published public-library entry or pre-built release, then register it:

claude mcp add walkingpad-pp-mcp -- walkingpad-pp-mcp

Verify: claude mcp list

Direct Use

  1. Check if installed: which walkingpad-pp-cli

If not found, offer to install (see Prerequisites at the top of this skill).

  1. Match the user query to the best command from the Unique Capabilities and Command Reference above.
  2. Execute with the --agent flag:

```bash

walkingpad-pp-cli <command> [subcommand] [args] --agent

```

  1. If ambiguous, drill into subcommand help: walkingpad-pp-cli <command> --help.
  2. For any command that contacts a real belt (--live), confirm the user wants physical actuation before running it, and pass --confirm-physical-effect only with that confirmation.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.