fitbit-health_skill

This skill retrieves Fitbit health data via CLI, helping you monitor steps, sleep, heart rate, and weight from your account.
  • Python

2.5k

GitHub Stars

5

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill fitbit-health

  • _meta.json284 B
  • package.json1.2 KB
  • README.md2.6 KB
  • SKILL.md1.7 KB
  • tsconfig.json339 B

Overview

This skill provides a command-line interface to query Fitbit health data including activity, sleep, heart rate, and weight. It helps retrieve daily summaries, specific metrics (like steps or heart rate), and profile information after a one-time OAuth setup. Use it to integrate Fitbit data into workflows, scripts, or quick lookups without opening the Fitbit app.

How this skill works

After registering a personal app on Fitbit and running the interactive configure/login flow, the CLI stores OAuth tokens locally and refreshes them automatically. Commands request data from Fitbit's Web API and return plain text or JSON. Common commands include profile, activity, summary, and today, with options for timezone override, verbosity, and JSON output.

When to use it

  • You need quick access to your Fitbit steps, sleep, heart rate, or weight from the terminal.
  • Building scripts or cron jobs that pull daily summaries or metrics for logging or reporting.
  • Answering user questions that require up-to-date Fitbit data during conversations.
  • Debugging or auditing Fitbit authentication and token status.
  • Extracting JSON data for integration with other tools or dashboards.

Best practices

  • Register a personal Fitbit app and set the callback to http://localhost:18787/callback before running configure.
  • Run fitbit login in a secure environment and keep tokens file (~/.config/fitbit-cli/tokens.json) permissioned (chmod 600).
  • Use --json for structured output when piping results into scripts or analytics tools.
  • Pass explicit dates in YYYY-MM-DD format to ensure reproducible queries; default is today.
  • Use --tz to override timezone when querying data for a different locale.

Example use cases

  • Get today's step count: fitbit activity steps
  • Retrieve yesterday's full daily summary as JSON for ingestion: fitbit summary 2026-01-25 --json
  • Check authentication status and token validity: fitbit status
  • Automate nightly exports of sleep and heart rate for long-term trend analysis in a cron job
  • Quickly view profile information or weight history from the terminal

FAQ

Register a personal app on dev.fitbit.com, run fitbit configure to add your Client ID, then run fitbit login to authorize in the browser.

Where are my tokens stored and are they safe?

Tokens are saved in ~/.config/fitbit-cli/tokens.json; set file permissions to restrict access (chmod 600). The CLI refreshes tokens automatically.

What date formats and defaults does the CLI use?

Dates use YYYY-MM-DD or the literal 'today'. If you omit a date, the CLI defaults to today.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational