skills$openclaw/fitbit
pb39758.2k

by pb3975

fitbit – OpenClaw Skill

fitbit is an OpenClaw Skills integration for coding workflows. 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.

8.2k stars9.1k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namefitbit
descriptionQuery 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. OpenClaw Skills integration.
ownerpb3975
repositorypb3975/fitbit-health
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @pb3975/fitbit-health
last updatedFeb 7, 2026

Maintainer

pb3975

pb3975

Maintains fitbit in the OpenClaw Skills directory.

View GitHub profile
File Explorer
27 files
.
src
client
api.ts
3.0 KB
auth.ts
7.4 KB
http.ts
2.9 KB
commands
activity.ts
4.1 KB
auth.ts
3.0 KB
configure.ts
1.5 KB
index.ts
482 B
profile.ts
1.3 KB
summary.ts
5.2 KB
storage
config.ts
1.3 KB
tokens.ts
1.2 KB
types
config.ts
313 B
fitbit.ts
1.4 KB
utils
date.ts
1.8 KB
output.ts
1.6 KB
cli.ts
416 B
_meta.json
284 B
package.json
1.2 KB
README.md
2.6 KB
SKILL.md
1.7 KB
tsconfig.json
339 B
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

# 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

# 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
README.md

💪 Fitbit Skill for Clawdbot

A Clawdbot skill that provides CLI access to Fitbit health data. Enables your AI agent to answer questions about your activity, heart rate, and fitness metrics.

What is Clawdbot?

Clawdbot is an AI agent platform that connects Claude to your tools, services, and data. Skills extend Clawdbot's capabilities — this one adds Fitbit integration.

Features

  • 🔐 Secure OAuth 2.0 PKCE authentication
  • 📊 Activity summaries (steps, calories, distance, floors)
  • 💓 Heart rate and resting HR data
  • 🏃 Active minutes breakdown
  • 📅 Historical data by date
  • 🤖 Natural language queries through Clawdbot

Installation

As a Clawdbot Skill

# Clone to your Clawdbot workspace skills folder
cd ~/clawd/skills
git clone https://github.com/pb3975/clawdbot-fitbit-skill.git fitbit

# Install and build
cd fitbit
npm install
npm run build

# Link globally so Clawdbot can find the CLI
npm link

Clawdbot will automatically detect the skill via SKILL.md.

Standalone CLI

npm install -g clawdbot-fitbit-skill

Setup

  1. Create a Fitbit App

    • Go to dev.fitbit.com/apps
    • Register a new app with:
      • OAuth 2.0 Application Type: Personal
      • Callback URL: http://localhost:18787/callback
  2. Configure

    fitbit configure
    

    Enter your Client ID when prompted.

  3. Authenticate

    fitbit login
    

    Your browser will open for Fitbit authorization.

Usage

Through Clawdbot (Natural Language)

Once installed, just ask Clawdbot:

  • "How many steps did I take today?"
  • "What's my resting heart rate?"
  • "Show me my activity summary for yesterday"
  • "How active was I this week?"

Direct CLI

# Today's summary
fitbit today

# Activity details
fitbit activity
fitbit activity 2024-01-15

# Specific metrics
fitbit activity steps
fitbit activity calories

# User profile
fitbit profile

# Auth status
fitbit status

# Sign out
fitbit logout

Options

All commands support:

  • --json — Output as JSON (useful for scripting)
  • --no-color — Plain text output
  • --verbose — Debug info
  • --tz <zone> — Override timezone

Security

  • Tokens stored in ~/.config/fitbit-cli/tokens.json with 0600 permissions
  • OAuth uses PKCE (no client secret stored)
  • Callback server binds to 127.0.0.1 only
  • Temp auth files use secure random paths

License

MIT

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install fitbit?

Run openclaw add @pb3975/fitbit-health in your terminal. This installs fitbit into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/pb3975/fitbit-health. Review commits and README documentation before installing.