use-mobile-health

use-mobile-health is a skill for Claude Code, Codex from avibe-bot/avibe. It costs 45 tokens per session (1,260 once invoked), scanned A, original, MIT.

A skill for reading health information synced from an iPhone, such as steps, workouts, activity, and sleep, through an Avibe instance.

In plain words
What is it for?
Use it to connect or revoke phone-health syncing and read selected metrics for a date range or recent period.
Why use it?
It provides a defined way to check whether the phone is connected, whether data is current, and whether a day has no samples or has not synced.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to connect or revoke phone-health syncing and read selected metrics for a date range or recent period.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/avibe-bot/avibe/use-mobile-health
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add avibe-bot/avibe --skill use-mobile-health
Clone the repo
git clone --depth 1 https://github.com/avibe-bot/avibe

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for use-mobile-health

README.md
[![agentmods](https://agentmods.dev/badge/skills/avibe-bot/avibe/use-mobile-health/github.svg)](https://agentmods.dev/skills/avibe-bot/avibe/use-mobile-health)
Your own site
<a href="https://agentmods.dev/skills/avibe-bot/avibe/use-mobile-health"><img src="https://agentmods.dev/badge/skills/avibe-bot/avibe/use-mobile-health/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for use-mobile-health

Your own site · 80×15
<a href="https://agentmods.dev/skills/avibe-bot/avibe/use-mobile-health"><img src="https://agentmods.dev/badge/skills/avibe-bot/avibe/use-mobile-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,260 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.01260
Opus 5.5 $0.00018 $0.00504
Sonnet 5.5 $0.00009 $0.00252
Haiku 4.5 $0.00005 $0.00126

Measured today against content hash a0a59247219e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

use-mobile-health scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/use-mobile-health/SKILL.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mobile health

Use the local CLI. Health commands refuse a non-owner Web or App identity, including when an Agent acts with that identity. Reading puts values into the current model context and conversation, where others with Session access can see them. Read only the metrics and dates relevant to the user's question.

vibe mobile health status
vibe mobile health read --metric sleep,steps --period last7d --max-age 6h
vibe mobile health read --metric activity,workouts --from 2026-11-01 --to 2026-11-07
vibe mobile health read --metric steps --period today --refresh --wait 20
vibe mobile health read --metric heart_rate,resting_heart_rate,hrv --period last7d
vibe mobile health connect --wait 0
vibe mobile requests show mreq_0123456789abcdef0123456789abcdef
vibe mobile requests await mreq_0123456789abcdef0123456789abcdef --timeout 20
vibe mobile health revoke

status can report read_allowed: false and sync_state: unknown when the instance cannot verify its owner. Follow the English diagnostic.error and diagnostic.details.reason; this is not evidence that data was deleted or the phone denied access. Stored data is preserved while verification is unavailable. A verified owner subject survives email changes; an actual owner transfer revokes the prior sync.

For legacy_owner_unproven, the CLI gives next_action: "revoke_then_connect" (inside diagnostic for status). First ask the user to confirm that recovery will delete the instance's retained Health data. Only after they agree, run vibe mobile health revoke, then vibe mobile health connect. The iPhone confirmation starts a new connection and backfills the last 30 days that HealthKit can still supply. Do not reconnect automatically or substitute disconnecting only on iPhone: the instance-side revoke is required.

If reading returns not_connected, run connect. Its conversation card and notification let the user authorize on iPhone. An explicit native confirmation and iOS Health permission request precede synchronization; the browser receives no health values or device credential. If a metric reports confirmation_required: true, use connect to confirm all supported metrics not yet confirmed. Existing metrics keep syncing while the user confirms the additions. An older App needs updating to confirm new metrics; an older instance accepts only the original four. Connect always covers all missing supported types; repeated calls share the pending request. The user can choose individual read permissions in iOS. --metric is only for reading, not connecting. Do not prompt again merely because data is empty: HealthKit conceals read denials.

read uses local daily data. Check availability, freshness and all three times (latest_sample_end_at, queried_at, received_at). empty means no samples, not zero or denial. not_synced means no upload for that day. A null sleep component is missing data; never replace it with zero.

Heart summaries are daily, using the phone's timezone. heart_rate contains min_bpm, average_bpm, max_bpm; resting_heart_rate contains the latest daily estimate as bpm; hrv contains mean SDNN as sdnn_ms (not RMSSD). Heart rate and HRV use HealthKit statistics across readable sources; resting heart rate uses the latest sample, including third-party sources. This is not a continuous pulse or a promise to match the Health app's presentation. Without readable samples, including when no Watch supplies them, the result is empty, never zero.

--refresh asks the phone to query and upload. device_wait_timeout is not a successful refresh: use existing data in details.data and state its time. Callbacks default to AVIBE_SESSION_ID; --callback-session-id ID chooses another session, and --no-callback suppresses continuation. The synchronous waiter or the callback continues once. Callback messages contain status only; run read to obtain the data.

Use revoke only when the user asks to disconnect and clear, or confirms that deleting everything is what they want: it ends every phone's link and deletes all synced health history on this instance. To stop syncing but keep history, the user turns Health off for the iPhone on the Devices page. Turning off read access in iOS Health settings does not end the link; days synced before stay, and new days read as empty. Do not export values to Show Pages, memory, logs, or another service. Sync stays bound to the instance owner. Synced health data has no age limit and stays when a phone is signed out, replaced or unused; only revoke or an owner change clears it.

Read the full file on GitHub · 85 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +4 lines a0a59247219e
  2. yesterday Changed · +15 lines 1dde1e85167f
  3. 2d ago Changed · +15 lines · +11 tokens per session 3f5e5cd8420f
  4. 10d ago Changed · +3 lines 9491743842c4
  5. 11d ago First seen · 48 lines · 34 tokens per session scan A 0f77f3b70d0f

Subscribe to this mod's changes

use-mobile-health is a skill published in the GitHub repository avibe-bot/avibe (656 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 1,260 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-19.

Related

use-mobile-health compared with skills from other repositories

use-mobile-health next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
use-mobile-healthavibe-bot/avibeSkill656todayMITA45Claude Code, Codex
swift-actor-persistenceaffaan-m/ECCSkill313k7d agoMITA29Claude Code, Kiro
swift-protocol-di-testingaffaan-m/ECCSkill313k7d agoMITA32Claude Code, Kiro
context7-docsupstash/context7Skill66kyesterdayMITA157Claude Code, Codex
context7-cliupstash/context7Skill66kyesterdayMITA53Claude Code, Codex
context7-mcpupstash/context7Skill66kyesterdayMITA58Claude Code, Codex
device-shellqiannianhuanxiang/DSHASkill3.4k15d agoMITA38Claude Code, Codex