arc-claw-bot

fulcra-context

0
0
# Install this skill:
npx skills add arc-claw-bot/fulcra-context

Or install specific skill: npx add-skill https://github.com/arc-claw-bot/fulcra-context

# Description

Access your human's personal context data (biometrics, sleep, activity, calendar, location) via the Fulcra Life API and MCP server. Requires human's Fulcra account + OAuth2 consent.

# SKILL.md


name: fulcra-context
description: Access your human's personal context data (biometrics, sleep, activity, calendar, location) via the Fulcra Life API and MCP server. Requires human's Fulcra account + OAuth2 consent.
homepage: https://fulcradynamics.com
metadata: {"openclaw":{"emoji":"🫀","requires":{"bins":["curl"]},"primaryEnv":"FULCRA_ACCESS_TOKEN"}}


Fulcra Context — Personal Data for AI Partners

Give your agent situational awareness. With your human's consent, access their biometrics, sleep, activity, location, and calendar data from the Fulcra Life API.

What This Enables

With Fulcra Context, you can:
- Know how your human slept → adjust morning briefing intensity
- See heart rate / HRV trends → detect stress, suggest breaks
- Check location → context-aware suggestions (home vs. office vs. traveling)
- Read calendar → proactive meeting prep, schedule awareness
- Track workouts → recovery-aware task scheduling

Privacy Model

  • OAuth2 per-user — your human controls exactly what data you see
  • Their data stays theirs — Fulcra stores it, you get read access only
  • Consent is revocable — they can disconnect anytime
  • NEVER share your human's Fulcra data publicly without explicit permission

Setup

Use Fulcra's hosted MCP server at https://mcp.fulcradynamics.com/mcp (Streamable HTTP transport, OAuth2 auth).

Your human needs a Fulcra account (free via the Context iOS app or Portal).

Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "fulcra_context": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.fulcradynamics.com/mcp"]
    }
  }
}

Or run locally via uvx:

{
  "mcpServers": {
    "fulcra_context": {
      "command": "uvx",
      "args": ["fulcra-context-mcp@latest"]
    }
  }
}

Also tested with: Goose, Windsurf, VS Code. Open source: github.com/fulcradynamics/fulcra-context-mcp

Option 2: Direct API Access

  1. Your human creates a Fulcra account
  2. They generate an access token via the Python client or Portal
  3. Store the token: skills.entries.fulcra-context.apiKey in openclaw.json

Quick Commands

Check sleep (last night)

# Get time series for sleep stages (last 24h)
curl -s "https://api.fulcradynamics.com/data/v0/time_series_grouped?metrics=SleepStage&start=$(date -u -v-24H +%Y-%m-%dT%H:%M:%SZ)&end=$(date -u +%Y-%m-%dT%H:%M:%SZ)&samprate=300" \
  -H "Authorization: Bearer $FULCRA_ACCESS_TOKEN"

Check heart rate (recent)

curl -s "https://api.fulcradynamics.com/data/v0/time_series_grouped?metrics=HeartRate&start=$(date -u -v-2H +%Y-%m-%dT%H:%M:%SZ)&end=$(date -u +%Y-%m-%dT%H:%M:%SZ)&samprate=60" \
  -H "Authorization: Bearer $FULCRA_ACCESS_TOKEN"

Check today's calendar

curl -s "https://api.fulcradynamics.com/data/v0/{fulcra_userid}/calendar_events?start=$(date -u +%Y-%m-%dT00:00:00Z)&end=$(date -u +%Y-%m-%dT23:59:59Z)" \
  -H "Authorization: Bearer $FULCRA_ACCESS_TOKEN"

Available metrics

curl -s "https://api.fulcradynamics.com/data/v0/metrics_catalog" \
  -H "Authorization: Bearer $FULCRA_ACCESS_TOKEN"

Key Metrics

Metric What It Tells You
SleepStage Sleep quality — REM, Deep, Light, Awake
HeartRate Current stress/activity level
HRV Recovery and autonomic nervous system state
StepCount Activity level throughout the day
ActiveCaloriesBurned Exercise intensity
RespiratoryRate Baseline health indicator
BloodOxygen Wellness check

Integration Patterns

Morning Briefing

Check sleep + calendar + weather → compose a briefing calibrated to energy level.

Stress-Aware Communication

Monitor HRV + heart rate → if elevated, keep messages brief and non-urgent.

Proactive Recovery

After intense workout or poor sleep → suggest lighter schedule, remind about hydration.

Travel Awareness

Location changes → adjust timezone handling, suggest local info, modify schedule expectations.

Demo Mode vs Private Mode

When sharing publicly (Moltbook, X, etc.):
- ✅ OK to share: biometric trends, sleep quality, step counts, HRV (anonymized)
- ❌ NEVER share: real location, real calendar events, identifying data
- Use simulated location/calendar data for public demos

# README.md

Fulcra Context — Personal Data for AI Agents

Give your AI agent situational awareness. With your consent, access your biometrics, sleep, activity, location, and calendar data from the Fulcra Life API.

What Is This?

An OpenClaw skill that connects AI agents to the Fulcra personal data platform. Your agent can:

  • Know how you slept → adjust morning briefing tone and intensity
  • See heart rate / HRV trends → detect stress, suggest breaks
  • Check your location → context-aware suggestions (home vs. office vs. traveling)
  • Read your calendar → proactive meeting prep, schedule awareness
  • Track workouts → recovery-aware task scheduling

Why Fulcra?

Most AI agents meet their user for the first time — every time. They have no memory of your health, no awareness of your schedule, no sense of how you're actually doing.

Fulcra fixes that. It aggregates data from Apple Health, wearables, calendars, and manual annotations into a single, normalized API. Your agent gets clean, consistent data regardless of what devices you use.

Privacy-First by Design

  • OAuth2 per-user — you control exactly what your agent sees
  • Consent is revocable — disconnect anytime
  • No data monetization — Fulcra is a paid service, not an ad platform. Your data is never sold.
  • Encryption at rest — GDPR/CCPA compliant

This matters. When you give an AI agent access to your heart rate, sleep patterns, and calendar, you need to trust the platform holding that data. Fulcra's business model is structurally aligned with your privacy — they make money by serving you, not by selling your information.

Quick Start

Option 1: MCP Server (Any AI client)

{
  "mcpServers": {
    "fulcra_context": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.fulcradynamics.com/mcp"]
    }
  }
}

Works with Claude Desktop, Goose, Windsurf, VS Code, and more.

Option 2: OpenClaw Skill

clawdhub install fulcra-context

Or manually: copy SKILL.md to your OpenClaw workspace's skills/fulcra-context/ directory.

Option 3: Direct API

pip install fulcra-api
from fulcra_api.core import FulcraAPI
api = FulcraAPI()
api.authorize()  # Opens browser for OAuth2 consent

# Get last night's sleep
import datetime
end = datetime.datetime.now(datetime.timezone.utc)
start = end - datetime.timedelta(hours=24)
sleep = api.time_series_grouped(
    start_time=start, end_time=end,
    metrics=["SleepStage"], sample_rate=300
)

Available Data

Data Type Examples Use Cases
Sleep Stages (REM, Deep, Light), duration, quality Morning briefings, energy-aware scheduling
Heart Rate BPM, resting rate, trends Stress detection, workout recovery
HRV Heart rate variability Autonomic nervous system state, recovery
Activity Steps, calories, exercise time Activity-aware recommendations
Calendar Events, times, locations Proactive scheduling, meeting prep
Location GPS coordinates, visits Context-aware suggestions, travel detection
Workouts Type, duration, intensity Recovery scheduling
Custom Manual annotations, moods, symptoms Personalized context

Integration Patterns

🌅 Context-Aware Morning Briefing

Check sleep quality + today's calendar + weather → compose a briefing calibrated to actual energy level. Poor sleep? Lighter tone, fewer tasks. Great sleep? Full agenda.

💆 Stress-Aware Communication

Monitor HRV + heart rate → if stress indicators are elevated, keep messages brief and avoid adding non-urgent tasks.

🏃 Recovery-Aware Scheduling

After intense workout or poor sleep → suggest lighter schedule, remind about hydration, reschedule demanding work.

✈️ Travel Awareness

Detect location changes → adjust timezone handling, suggest local info, modify schedule expectations.

Security

Read SECURITY.md before deploying. This skill accesses sensitive personal data. Key risks include token exposure, calendar/location leakage, and prompt injection attacks. The security guide covers mitigations for each.

Files

File Purpose
SKILL.md OpenClaw skill definition (API reference, quick commands)
SECURITY.md Security & privacy guide (risks, mitigations, best practices)
README.md This file

License

MIT

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.