cda-ccda

cda-ccda is a skill for Claude Code from aks-builds/healthcareskills. It costs 177 tokens per session (3,706 once invoked), scanned A, original, MIT.

A guide for creating, reading, checking, and converting Clinical Document Architecture documents, including Consolidated CDA. These are XML-based healthcare records such as discharge summaries, progress notes, and continuity-of-care documents.

In plain words
What is it for?
Authoring, parsing, validating, or transforming CDA and C-CDA documents, including CCDs, discharge summaries, operative notes, progress notes, consultation notes, and history-and-physical records.
Why use it?
It helps developers work with a standardized medical-document format without guessing required identifiers, codes, or document structures. It also accounts for differences between healthcare systems and document types.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the healthcare-skills plugin — 41 skills shipped together , and of healthcare-skills

Good fit Authoring, parsing, validating, or transforming CDA and C-CDA documents, including CCDs, discharge summaries, operative notes, progress notes, consultation notes, and history-and-physical records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aks-builds/healthcareskills/cda-ccda
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 aks-builds/healthcareskills --skill cda-ccda
Clone the repo
git clone --depth 1 https://github.com/aks-builds/healthcareskills

Made for: Claude Code.

Or install healthcare-skills, the plugin that ships this one along with the rest of its 41 skills.

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 cda-ccda

README.md
[![agentmods](https://agentmods.dev/badge/skills/aks-builds/healthcareskills/cda-ccda/github.svg)](https://agentmods.dev/skills/aks-builds/healthcareskills/cda-ccda)
Your own site
<a href="https://agentmods.dev/skills/aks-builds/healthcareskills/cda-ccda"><img src="https://agentmods.dev/badge/skills/aks-builds/healthcareskills/cda-ccda/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 cda-ccda

Your own site · 80×15
<a href="https://agentmods.dev/skills/aks-builds/healthcareskills/cda-ccda"><img src="https://agentmods.dev/badge/skills/aks-builds/healthcareskills/cda-ccda.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 177 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,706 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.00177 $0.03706
Opus 5 $0.00088 $0.01853
Sonnet 5 $0.00035 $0.00741
Haiku 4.5 $0.00018 $0.00371

Measured 11d ago against content hash 9a50670b043f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

cda-ccda 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 11d ago.

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/cda-ccda/SKILL.md · 301 lines

How it starts

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

CDA and C-CDA

You are an expert in HL7 Clinical Document Architecture (CDA Release 2) and Consolidated CDA (C-CDA) — the XML-based clinical document format mandated by ONC for US EHR certification and widely used for transitions of care. Your goal is to help engineers author, validate, and transform these documents correctly. Never invent templateIds, OIDs, or codes — verify against the published C-CDA Implementation Guide (HL7 C-CDA R2.1 + Companion Guide) when uncertain.

Initial Assessment

Check .agents/healthcare-context.md (fallback: .claude/healthcare-context.md) first. Relevant sections:

  • C-CDA version: R2.1 is the ONC-required baseline; R3.0 is published; Companion Guide updates are frequent.
  • Document types in scope (CCD vs. Discharge Summary vs. Referral Note, etc.).
  • EHR vendor — Epic, Oracle Health (Cerner), Meditech, Athenahealth all generate C-CDAs with vendor quirks.
  • USCDI version in scope (v3/v4) — drives which data classes must appear.
  • Direction: producing, consuming, or transforming (CDA↔FHIR).

CDA Document Structure

A CDA document is a single XML file with two halves:

<ClinicalDocument xmlns="urn:hl7-org:v3">
  <!-- Header -->
  <typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
  <templateId root="2.16.840.1.113883.10.20.22.1.1" extension="2015-08-01"/> <!-- US Realm Header -->
  <templateId root="2.16.840.1.113883.10.20.22.1.2" extension="2015-08-01"/> <!-- CCD -->
  <id root="..."/>
  <code code="34133-9" codeSystem="2.16.840.1.113883.6.1" displayName="Summarization of Episode Note"/>
  <title>Continuity of Care Document</title>
  <effectiveTime value="20260301120000-0500"/>
  <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
  <languageCode code="en-US"/>
  <recordTarget>...</recordTarget>
  <author>...</author>
  <custodian>...</custodian>

  <!-- Body -->
  <component>
    <structuredBody>
      <component>
        <section>...</section>
      </component>
      <!-- more sections -->
    </structuredBody>
  </component>
</ClinicalDocument>

Read the full file on GitHub · 301 lines

Files

What ships with it

3 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. 11d ago First seen · 301 lines · 177 tokens per session scan A 9a50670b043f

Subscribe to this mod's changes

cda-ccda is a skill published in the GitHub repository aks-builds/healthcareskills (1 stars, last pushed yesterday), licensed MIT. It adds 177 tokens to every session and 3,706 once invoked, about $0.0009 per session on Opus 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-31.

Related

Other skills, from other repositories

pydicom

Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.

K-Dense-AI/scientific-agent-skills · 56 tokens

treatment-plans

Format and structurally validate local treatment-plan documentation after clinical decisions have already been supplied and verified by authorized licensed professionals. Use for source traceability, clinician-authored intervention records, goals and checkpoints, shared-decision records, reconciliation handoffs, and…

K-Dense-AI/scientific-agent-skills · 62 tokens

venue-templates

Prepare journal manuscripts, conference papers, research posters, and grant documents using venue-specific formatting guidance and bundled LaTeX scaffolds. Use when selecting an official template, checking current page or anonymity rules, adapting academic writing to a venue, or inspecting a submission PDF.

K-Dense-AI/scientific-agent-skills · 57 tokens

xlsx

Create, edit, analyze, or convert Excel spreadsheets (.xlsx, .xlsm, .xltx) where the workbook file is the primary deliverable. Use for formulas, formatting, financial models, multi-sheet workbooks, and tabular cleanup exported to Excel. Also applies to .csv/.tsv when the user wants spreadsheet output. Do NOT use for…

K-Dense-AI/scientific-agent-skills · 94 tokens

structuring-radiology-reports

Converts free-text radiology narratives into structured findings and impression — with measurements, laterality, anatomy, and follow-up recommendations — after OpenMed NER. Use when the user has a CT/MRI/X-ray/ultrasound/mammography report and needs the sections split (technique, comparison, findings, impression)…

maziyarpanahi/openmed · 195 tokens

outline

Search, read, and manage Outline wiki documents. Use when: (1) searching wiki for documentation, (2) reading wiki pages or articles, (3) listing wiki collections or documents, (4) creating or updating wiki content, (5) exporting documents as markdown. Works with any Outline wiki instance (self-hosted or cloud).

sanjay3290/ai-skills · 71 tokens