Give your AI agent access to your health and fitness data from RUNSTR. Fetches workouts, habits, journal entries, mood, steps, competition leaderboards, and more from Nostr. Use when the user asks about their workouts, fitness history, health habits, mood tracking, competition rankings, who's winning, what place they're in, or wants AI fitness coaching based on real data.
Give your AI agent access to your real health and fitness data. RUNSTR is a free fitness app that tracks workouts, habits, journal entries, mood, and steps — and stores encrypted backups on the Nostr protocol. This skill lets your bot read that data so it can help with fitness coaching, habit accountability, mood tracking, and health insights.
What your bot gets access to:
If you're already a RUNSTR user with backups enabled, skip to step 3.
RUNSTR is free. You earn Bitcoin (sats) for working out.
This encrypts all your fitness data and publishes it to Nostr relays. Only you (with your private key) can read it.
Your nsec is your Nostr private key. Find it in RUNSTR under Settings > Keys (or your Nostr key manager).
Tell your bot: "Here's my RUNSTR nsec: nsec1..."
Your bot uses the nsec to decrypt your encrypted fitness backup from Nostr. The nsec is never stored, logged, or transmitted — it's used only for the decryption step in your current session.
Why nsec and not npub? Your fitness data is encrypted. The public key (npub) can only see old public workout posts (if any). The private key (nsec) is needed to decrypt your habits, journals, mood, steps, and current workout history.
Privacy note: If you want a dedicated identity just for fitness data, create a new Nostr account in RUNSTR. Your fitness nsec doesn't have to be your main Nostr identity.
Your bot sees whatever was in your last backup. After a week of new workouts, go to Settings > Backup in RUNSTR and tap backup again to sync the latest data to Nostr.
Everything below is instructions for the AI agent, not the user.
nak (Nostr Army Knife) must be installed:
go install github.com/fiatjaf/nak@latest
Always query these four relays (RUNSTR defaults):