Skip to content
Back to skills

Fitbit Health

ASecurity

Query Fitbit health data (activity, sleep, heart rate, weight) via CLI. Use when answering health/fitness questions that require Fitbit data, or when the user asks about their steps, sleep, heart rate, or weight from Fitbit.

  • 14 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 7, 2026
toolsgobashapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill fitbit-health --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fitbit Health?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fitbit Health
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-fitbit-health/badge)](https://www.skillsdirectory.com/skills/modbender-fitbit-health)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fitbit
description: Query Fitbit health data (activity, sleep, heart rate, weight) via CLI. Use when answering health/fitness questions that require Fitbit data, or when the user asks about their steps, sleep, heart rate, or weight from Fitbit.
metadata: {"clawdbot":{"emoji":"πŸ’ͺ","requires":{"bins":["fitbit"]}}}
---

# Fitbit CLI

Retrieve health and fitness data from Fitbit's Web API.

## Setup

1. Register an app at https://dev.fitbit.com/apps
   - OAuth 2.0 Application Type: **Personal**
   - Callback URL: `http://localhost:18787/callback`
2. Run `fitbit configure` and enter your Client ID
3. Run `fitbit login` to authorize

## Quick Reference

```bash
# Setup & auth
fitbit configure              # Set client ID (first time)
fitbit login                  # Authorize via browser
fitbit logout                 # Sign out
fitbit status                 # Check auth status

# Data
fitbit profile                # User profile info
fitbit activity [date]        # Daily activity summary
fitbit activity steps [date]  # Just steps
fitbit summary [date]         # Full daily summary
fitbit today                  # Today's summary (shortcut)
```

## Options

All commands support:
- `--json` β€” JSON output
- `--no-color` β€” Plain text output
- `--verbose` β€” Debug/HTTP details
- `--tz <zone>` β€” Override timezone (e.g., `America/Chicago`)

## Examples

```bash
# Get today's step count
fitbit activity steps

# Get yesterday's full summary as JSON
fitbit summary 2026-01-25 --json

# Check if authenticated
fitbit status
```

## Notes

- Dates default to today if omitted
- Date format: `YYYY-MM-DD` or `today`
- Tokens are stored in `~/.config/fitbit-cli/tokens.json` (chmod 600)
- Token refresh is automatic

Files in this skill

  • README.md2.8 KB
  • SKILL.md1.8 KB
  • package.json1.3 KB
  • src/cli.ts433 B
  • src/client/api.ts3.1 KB
  • src/client/auth.ts7.6 KB
  • src/client/http.ts3 KB
  • src/commands/activity.ts4.2 KB
  • src/commands/auth.ts3.1 KB
  • src/commands/configure.ts1.5 KB
  • src/commands/index.ts496 B
  • src/commands/profile.ts1.4 KB
  • src/commands/summary.ts5.3 KB
  • src/storage/config.ts1.3 KB
  • src/storage/tokens.ts1.3 KB
  • src/types/config.ts331 B
  • src/types/fitbit.ts1.5 KB
  • src/utils/date.ts1.9 KB
  • src/utils/output.ts1.6 KB
  • tsconfig.json354 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…