health-records

health-records is a skill for Claude Code, Codex from realactivity/tula. It costs 113 tokens per session (1,410 once invoked), scanned A, original, Apache-2.0.

A connector that retrieves a user's medical records from patient portals such as Epic MyChart and Oracle Cerner using the SMART on FHIR health-data standard.

In plain words
What is it for?
Use it to connect or refresh a portal, review diagnoses, medicines, allergies, immunizations, notes, or referrals, and compare labs or other health measurements across visits.
Why use it?
It avoids manually downloading and searching portal records and makes structured records available for review. Personal information is kept in a separate profile file rather than inside the skill.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions AGENTS.md; built for openclaw.

Good fit Use it to connect or refresh a portal, review diagnoses, medicines, allergies, immunizations, notes, or referrals, and compare labs or other health measurements across visits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/realactivity/tula/health-records
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 realactivity/tula --skill health-records
Clone the repo
git clone --depth 1 https://github.com/realactivity/tula

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 health-records

README.md
[![agentmods](https://agentmods.dev/badge/skills/realactivity/tula/health-records/github.svg)](https://agentmods.dev/skills/realactivity/tula/health-records)
Your own site
<a href="https://agentmods.dev/skills/realactivity/tula/health-records"><img src="https://agentmods.dev/badge/skills/realactivity/tula/health-records/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 health-records

Your own site · 80×15
<a href="https://agentmods.dev/skills/realactivity/tula/health-records"><img src="https://agentmods.dev/badge/skills/realactivity/tula/health-records.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,410 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.00113 $0.01410
Opus 5.5 $0.00045 $0.00564
Sonnet 5.5 $0.00023 $0.00282
Haiku 4.5 $0.00011 $0.00141

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

Security

Grade A, and why

health-records 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 2mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/check-backend.mjs, scripts/create-session.mjs, scripts/finalize-session.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/health-records/SKILL.md · 127 lines

How it starts

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

health-records

When to Use

✅ Use when:

  • The user asks to connect, link, refresh, or pull records from a patient portal
  • Trending a lab, vital, or medication across multiple visits
  • "What does my chart say about X" (problems, meds, allergies, immunizations)
  • Searching clinical notes for a topic, symptom, or referral

When NOT to Use

❌ Don't use when:

  • The user sends a PDF or screenshot -> use med-pdf
  • The user wants to draft a clinician message -> use epic-note
  • Records already pulled this session - read the existing JSON
  • Anything that would send PHI to an external service

Setup

Profile. Resolve from the precedence in references/profile-schema.md (skill config -> env var -> ~/.openclaw/workspace/memory/profile.yaml). Use identity.short_name when addressing the user in status messages. The skill never contains the profile.

Workflow

  1. Check backend first - node {baseDir}/scripts/check-backend.mjs

    • Confirms /health and /api/vendors are reachable.
    • If self-hosted, set HEALTH_SKILLZ_BASE_URL before this step.
  2. Create session - node {baseDir}/scripts/create-session.mjs

    • Outputs JSON: sessionId, userUrl, privateKeyJwk.
    • Save privateKeyJwk for step 3. Never echo it back.
  3. Show the link. Present userUrl to the user as a single markdown link labeled "Connect your health records". Don't narrate the crypto. Wait for the user to finish the OAuth flow; they may connect multiple providers.

  4. Finalize & decrypt - node {baseDir}/scripts/finalize-session.mjs <sessionId> '<privateKeyJwk>' <outDir>

    • outDir inside ~/.openclaw/workspace/. Suggested: ~/.openclaw/workspace/.health-records-cache/<YYYY-MM-DD>/.
    • NDJSON progress on stdout; final line is {"status":"done",...}.
    • One JSON file per provider, slugified by name.
  5. Reason. Open with one clinical sentence (scope, span, what stands out), then 2-3 specific directions tied to what's actually there - not a generic dashboard. See references/fhir-guide.md for resource shapes, LOINC codes, and the analysis philosophy.

Read the full file on GitHub · 127 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 127 lines · 113 tokens per session scan A cf85cf143e1e

Subscribe to this mod's changes

health-records is a skill published in the GitHub repository realactivity/tula (49 stars, last pushed 24d ago), licensed Apache-2.0. It adds 113 tokens to every session and 1,410 once invoked, about $0.0005 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-08-30.

Related

health-records compared with skills from other repositories

health-records next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
health-recordsrealactivity/tulaSkill4924d agoApache-2.0A113Claude Code, Codex
ehr-data-parsingawslabs/hcls-agent-skillsSkill751mo agoMIT-0A165Claude Code, Codex
healthcare-expertpersonamanagmentlayer/pclSkill4416d agoApache-2.0A64Claude Code
system_statusAIOSAI/AIPassSkill313todayMITA18Claude Code, Codex
biomcp-researchgenomoncology/biomcpSkill674todayMITA36Claude Code
branch_healthAIOSAI/AIPassSkill313todayMITA17Claude Code, Codex
garmin-connectbpauli/gccliSkill32todayMITA27Claude Code, Codex