/healthclaw-guardrails:curatrfrom healthclaw-guardrails
Evaluates FHIR R4 US Core v9 health records for coding issues (deprecated systems, invalid codes, missing fields), presents findings in plain language with clinical impact, and supports patient-approved corrections with Provenance tracking. Validates ICD-10-CM, SNOMED CT, LOINC, CVX, and RxNorm via public terminology APIs.
Ships in healthclaw-guardrails. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A patient-facing data quality skill that evaluates FHIR health records for coding issues, presents them in plain language, and lets the patient decide how to fix them.
Your health data belongs to you. Curatr helps you understand what's in it, spot problems, and take action — whether that's correcting your personal record or requesting your provider fix the source.
| Resource | Checks |
|---|---|
| Condition | ICD-9 detection, ICD-10-CM/SNOMED validity, clinicalStatus, verificationStatus |
| AllergyIntolerance | clinicalStatus, patient link, allergen code (RxNorm/SNOMED) |
| MedicationRequest | status, intent, medication code (RxNorm) |
| Immunization | status, vaccineCode (CVX/SNOMED), occurrenceDateTime |
| Procedure | status, procedure code (SNOMED/CPT) |
| DiagnosticReport | status, report code (LOINC) |
For all other resource types, Curatr runs a generic coding scan checking all coding[]
elements for deprecated systems.
| Service | Systems Validated |
|---|---|
| tx.fhir.org — HL7 public FHIR terminology server | SNOMED CT, LOINC |
| NLM Clinical Tables API | ICD-10-CM |
| RXNAV API | RxNorm |
curatr.evaluate (read-only)Evaluate a FHIR resource for data quality issues.
Input:
{
"resource_type": "Condition",
"resource_id": "cond-001"
}
Output: Issues list with plain-language descriptions, impact, and suggestions.
Each issue includes severity (critical / warning / info / suggestion), field_path,
plain_language, impact, and suggestion.
No step-up required. Safe to call at any time.
curatr.apply_fix (write — requires step-up + human confirmation)Apply patient-approved fixes to a FHIR resource. Creates a linked Provenance record.
Input:
{
"resource_type": "Condition",
"resource_id": "cond-001",
"fixes": [
{
"field_path": "Condition.code.coding[0].system",
"new_value": "http://hl7.org/fhir/sid/icd-10-cm"
},
{
"field_path": "Condition.code.coding[0].code",
"new_value": "E11.9"
},
{
"field_path": "Condition.code.coding[0].display",
"new_value": "Type 2 diabetes mellitus without complications"
}
],
"patient_intent": "Updating from retired ICD-9 to ICD-10-CM equivalent"
}
Requires: X-Step-Up-Token header. curatr_apply_fix sends no human-confirmation header. If the write returns 428, stop and tell the patient a human must confirm; never set X-Human-Confirmed yourself.
Output: Updated resource + linked Provenance resource documenting the change.
Always follow this sequence — never apply fixes without patient approval:
1. Call curatr.evaluate to get issues
2. For each issue, present:
- issue.title (bold headline)
- issue.plain_language (what the problem is, in plain English)
- issue.impact (why it matters to the patient)
- issue.suggestion (what to do about it)
3. Ask the patient which fixes they approve
4. Confirm their intent in their own words (used in Provenance)
5. Call curatr.apply_fix with ONLY the approved fixes
6. Confirm completion and show the Provenance record summary
Curatr found 2 issues in your Diabetes condition record:
─────────────────────────────────────────────────────────
CRITICAL: Outdated code system
Your record uses ICD-9-CM — a code system retired in October 2015.
Most US health systems and insurers no longer accept ICD-9 codes.
Impact: This record may not match your condition when shared with
providers or insurance systems, potentially causing delays.
Suggested fix: Update to ICD-10-CM code E11.9 — "Type 2 diabetes
mellitus without complications"
─────────────────────────────────────────────────────────
INFO: Missing verification status
No indication of whether this diagnosis has been confirmed.
Impact: Without a verification status, AI tools and care summaries
may not know how to weight this condition.
Suggested fix: Add verificationStatus = "confirmed" (or "provisional"
if still being evaluated by your provider)
─────────────────────────────────────────────────────────
What would you like to do?
[A] Fix both in my personal health record
[B] Fix the code system only
[C] Prepare a correction request for my provider
[D] Keep as-is for now
| Level | Meaning | Example |
|---|---|---|
critical | Code system deprecated or structurally broken | ICD-9 code in 2026 |
warning | Code invalid or display name wrong | Invalid clinicalStatus value |
info | Recommended field missing | No verificationStatus |
suggestion | A better value exists | Display name differs from canonical |
Every fix creates a FHIR Provenance resource linked to the updated resource:
UPDATE / revise from HL7 v3 DataOperationPATADMIN (patient administration)The original source record is preserved in the AuditEvent trail. Provenance does not erase history — it adds attribution.
If the patient wants their provider to fix the source record:
This skill runs on top of the HealthClaw Guardrails stack.
See the fhir-r6-guardrails skill for installation instructions.
# Curatr requires the same stack — no additional services needed
export STEP_UP_SECRET=$(openssl rand -hex 32)
docker-compose up -d --build
# MCP tools available at:
# POST http://localhost:3001/mcp (Streamable HTTP, preferred)
# GET http://localhost:3001/sse (SSE, legacy)
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
fhir, health-data, data-quality, patient-empowerment, clinical-coding
14 skills in this plugin
/check-sourcesSurvey ALL connected health data sources at once. Use when the patient asks: (1) "what's connected" or "what services are linked", (2) "check all my services / all my data", (3) "do you have my records" or "what records do you have", (4) "did my data come through from <Fasten/MEDENT/HealthEx/Health Bank One/Flexpa/Epic/wearables>". Calls fhir_get_token (for protected tenants) then sources_check, and presents connection status + record counts by type. Connection status and counts only — never clinical values.
/fasten-connectUse this skill whenever connecting a patient's real health records from EHR systems (Epic, Cerner, Athena) or the TEFCA national network into HealthClaw Guardrails. Covers: Fasten Stitch widget embed, org_connection_id registration, EHI export job tracking, NDJSON ingestion status, TEFCA IAS identity-verified multi-provider retrieval, and post-import Curatr quality scan workflow./fhir-r6-guardrailsHealthClaw Guardrails (healthclaw.io) — FHIR agent guardrails for clinical data access via MCP. Supports FHIR R4 US Core v9 (stable) and FHIR R6 ballot3 (experimental). Use when: (1) Reading patient data through MCP tools with automatic PHI redaction, (2) Writing clinical resources with two-phase propose/commit and step-up authorization, (3) Querying observation statistics or recent lab results, (4) Evaluating R6 Permission resources for access control decisions, (5) Auditing agent access to healthcare data. 14 MCP tools.
/fhir-upstream-proxyConnect to real FHIR servers through the MCP guardrail proxy. Use when: (1) Connecting to HAPI FHIR, SMART Health IT, or Epic sandbox servers, (2) Proxying AI agent requests to production EHR systems with guardrails, (3) Ensuring upstream server URLs never leak to clients, (4) Understanding how redaction, audit, and step-up auth apply to upstream data.
/getting-startedEnd-to-end onboarding for the HealthClaw + OpenClaw personal-health-agent stack. Walks anyone — not just developers — through (1) installing OpenClaw as the local AI gateway, (2) standing up an open-source FHIR server (HAPI or Medplum) on their machine, (3) connecting their EHR records via HealthEx, Josh Mandel's fhir-skills, Flexpa, or any patient-right-of-access / TEFCA IAS service, (4) installing HealthClaw Guardrails with the OpenClaw personas pre-wired, and (5) pulling + reviewing health data end-to-end. Triggers when a user asks "how do I get started", "how do I set this up", "what do I need to use HealthClaw", "first time setup", "install everything", or any first-run question. Use this before any other HealthClaw skill when the user hasn't yet built their stack.
/healthbankonePull verified medical records and digital-identity context from Health Bank One (https://www.healthbankone.com) via their MCP server. HBO uses OAuth 2.x with per-consumer authorization, so this skill drives an authorization-code grant first, then runs the MCP pull, then ingests the redacted bundle into a HealthClaw tenant. Use when the user wants to add HBO as a source alongside HealthEx and Fasten Connect. Triggers on prompts like "connect Health Bank One", "pull from HBO", "verify identity through Health Bank One".
npx claudepluginhub aks129/healthclawguardrails --plugin healthclaw-guardrailsOther plugins' skills for the same job