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.
npx skills add avibe-bot/avibe --skill use-mobile-healthgit clone --depth 1 https://github.com/avibe-bot/avibeWrote 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.
[](https://agentmods.dev/skills/avibe-bot/avibe/use-mobile-health)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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.
- today Changed · +4 lines a0a59247219e
- yesterday Changed · +15 lines 1dde1e85167f
- 2d ago Changed · +15 lines · +11 tokens per session 3f5e5cd8420f
- 10d ago Changed · +3 lines 9491743842c4
- 11d ago First seen · 48 lines · 34 tokens per session scan A 0f77f3b70d0f
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.
use-mobile-health compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| use-mobile-healthavibe-bot/avibe | Skill | 656 | today | MIT | A | 45 | Claude Code, Codex |
| swift-actor-persistenceaffaan-m/ECC | Skill | 313k | 7d ago | MIT | A | 29 | Claude Code, Kiro |
| swift-protocol-di-testingaffaan-m/ECC | Skill | 313k | 7d ago | MIT | A | 32 | Claude Code, Kiro |
| context7-docsupstash/context7 | Skill | 66k | yesterday | MIT | A | 157 | Claude Code, Codex |
| context7-cliupstash/context7 | Skill | 66k | yesterday | MIT | A | 53 | Claude Code, Codex |
| context7-mcpupstash/context7 | Skill | 66k | yesterday | MIT | A | 58 | Claude Code, Codex |
| device-shellqiannianhuanxiang/DSHA | Skill | 3.4k | 15d ago | MIT | A | 38 | Claude Code, Codex |