Agent skill

Snomed Ct Rf2

by aehrc in aehrc/pathling

SNOMED CT Release Format 2 (RF2). An agent skill from aehrc/pathling.

Apache-2.0Auto-check passed

Install Snomed Ct Rf2

skills CLI
$ npx skills add aehrc/pathling --skill snomed-ct-rf2 -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aehrc/pathling snomed-ct-rf2 --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aehrc/pathling.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/snomed-ct-rf2 .claude/skills/snomed-ct-rf2 && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
snomed-ct-rf2
GitHub stars
137
Token cost
~1.8k tokens
SKILL.md length
850 words
Files
5 (incl. references)
Skills in repo
25
Repo updated
First seen
Licence
Apache-2.0

At a glance

SNOMED CT Release Format 2 (RF2). An agent skill from aehrc/pathling.

  • Works in 5 steps: Concept - sct2_Concept_*.txt → Description - sct2_Description_*.txt or… → Relationship - sct2_Relationship_*.txt… → …
  • Working with SNOMED CT release files
  • SKILL.md covers Quick reference, Core concepts, Workflows and Important rules, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Snomed Ct Rf2 is an agent skill from aehrc/pathling. SNOMED CT Release Format 2 (RF2). Use when working with SNOMED CT release files, parsing or generating RF2 tab-delimited files, validating SCTIDs, or understanding component files, reference sets, and release packages. Trigger keywords include SNOMED CT RF2, release file, SCTID, concept file, description file, relationship file, refset, delta, snapshot, full release, Verhoeff check-digit, language reference set, namespace.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/component-files.md`, `references/reference-sets.md` and `references/release-packages.md`).

The repository describes itself as: Tools that make it easier to use FHIR and clinical terminology within data analytics, built on Apache Spark. The licence is Apache-2.0.

When your agent uses it

  • Working with SNOMED CT release files
  • Generating RF2 tab-delimited files
  • Validating SCTIDs
  • Understanding component files

Example prompts

  • “/snomed-ct-rf2”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Concept - sct2_Concept_*.txt
  2. Description - sct2_Description_*.txt or sct2_TextDefinition_*.txt
  3. Relationship - sct2_Relationship_*.txt or sct2_StatedRelationship_*.txt
  4. Concrete Value - sct2_RelationshipConcreteValues_*.txt
  5. Identifier - sct2_Identifier_*.txt

What it can do on your machine

Read from SKILL.md and the folder at commit 56a3b4a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Snomed Ct Rf2 loads about 1.8k tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 110 tokens; SKILL.md has 850 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~110
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~13k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aehrc/pathling at commit 56a3b4a, republished under its Apache-2.0 licence (© aehrc). 850 words, ~1,848 tokens.

Download SKILL.mdSave it as .claude/skills/snomed-ct-rf2/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
snomed-ct-rf2
description
SNOMED CT Release Format 2 (RF2). Use when working with SNOMED CT release files, parsing or generating RF2 tab-delimited files, validating SCTIDs, or understanding component files, reference sets, and release packages. Trigger keywords include SNOMED CT RF2, release file, SCTID, concept file, description file, relationship file, refset, delta, snapshot, full release, Verhoeff check-digit, language reference set, namespace.

SNOMED CT RF2

This skill provides comprehensive guidance for working with SNOMED CT Release Format 2 (RF2) files, identifiers, and reference sets.

Quick reference

  • All RF2 files: UTF-8 encoded, tab-delimited, CRLF line endings, header row with lowerCamelCase field names.
  • Common fields in every file: id, effectiveTime, active, moduleId.
  • Components use SCTID (6-18 digit decimal integer); reference set members use UUID.
  • Release types: Full (all versions), Snapshot (most recent version only), Delta (changes since previous release).
  • File naming: [FileType]_[ContentType]_[ContentSubType]_[CountryNamespace]_[VersionDate].txt

Core concepts

File format fundamentals

All SNOMED CT release files share these properties:

  • UTF-8 encoded plain text.
  • Tab-delimited fields.
  • Each line ends with carriage return (hex 0D) followed by line feed (hex 0A), including the final line.
  • First line contains lowerCamelCase column names.

For data types, common fields, the active field semantics, history mechanism, and module identification, see references/release-packages.md.

Component files

SNOMED CT has five core component file types:

  1. Concept - sct2_Concept_*.txt
  2. Description - sct2_Description_*.txt or sct2_TextDefinition_*.txt
  3. Relationship - sct2_Relationship_*.txt or sct2_StatedRelationship_*.txt
  4. Concrete Value - sct2_RelationshipConcreteValues_*.txt
  5. Identifier - sct2_Identifier_*.txt

For detailed field specifications, mutability rules, primary keys, and concept enumerations for each component type, see references/component-files.md.

Reference sets

Reference sets extend the basic member format with additional columns:

  • Basic format: id (UUID), effectiveTime, active, moduleId, refsetId, referencedComponentId, plus type-specific fields.
  • Language refset: indicates acceptable/preferred terms for a dialect.
  • Map refsets: simple map, complex map, extended map, code to expression.
  • Module Dependency refset: declares inter-module version dependencies.
  • Metadata refsets: reference set descriptor, description format, MRCM domains.

For reference set formats, patterns, and detailed type specifications, see references/reference-sets.md.

SNOMED CT identifiers (SCTID)

An SCTID is a 64-bit positive integer, 6-18 decimal digits, with a Verhoeff check-digit.

Structure (right to left):

  1. Check-digit - 1 digit (rightmost).
  2. Partition identifier - 2 digits (second and third from right).
    • 00 = Concept (international), 01 = Description (international), 02 = Relationship (international).
    • 10 = Concept (extension), 11 = Description (extension), 12 = Relationship (extension), 16 = Postcoordinated expression (extension).
  3. Namespace identifier - 7 digits immediately left of partition (only for long format / extension IDs).
  4. Item identifier - remaining digits left of namespace.

For check-digit computation (Verhoeff's dihedral D5), validation logic, and identifier constraints, see references/sctid.md.

Workflows

Parsing an RF2 file
  1. Open the file with UTF-8 encoding.
  2. Split each line on tab characters.
  3. The first row contains field names in lowerCamelCase.
  4. Parse effectiveTime as YYYYMMDD (or YYYYMMDDThhmmssZ for full ISO 8601).
  5. Parse active as Boolean (1 = true, 0 = false).
  6. For component files, id is an SCTID (parse as 64-bit integer or string).
  7. For reference set files, id is a UUID (standard hyphenated hexadecimal format).
Determining the current state of a component (from a Full release)
  1. Filter rows for the target id.
  2. Select the row with the greatest effectiveTime less than or equal to the point in time under consideration.
  3. If active = 1, the component is current and active.
  4. If active = 0, the component is inactive at that point in time.
  5. Do not modify or discard historical rows - they are immutable.
Show full SKILL.md (355 more words)Show less
Validating an SCTID
  1. Verify the string contains only decimal digits and has 6-18 characters.
  2. Verify there are no leading zeros (unless the value itself is "0", which is invalid for SCTID anyway).
  3. Apply the Verhoeff check-digit algorithm; the final check value must be zero.
  4. Optionally verify the partition identifier is a known value (00, 01, 02, 10, 11, 12, 16).
  5. For long-format IDs (partition 1x), verify a 7-digit namespace is present.

For a complete implementation of the Verhoeff check, see references/sctid.md.

Generating a new SCTID
  1. Allocate the next item identifier within your namespace.
  2. Choose the appropriate partition identifier for the component type and origin (international vs extension).
  3. Combine: [itemIdentifier][namespace][partition][checkDigit].
  4. Compute the Verhoeff check-digit for the digits excluding the check-digit position, then append it.
  5. The total length must be 6-18 digits.

Important rules

  • Immutability: Once a row is released, it never changes. Updates are represented by appending a new row with the same id and a later effectiveTime.
  • Inactivation: To inactivate a component, append a new row with active = 0. For concepts, all active relationships with that concept as sourceId must also be inactivated.
  • Mutable vs immutable fields: Some fields (e.g. conceptId in Description, sourceId/destinationId/typeId in Relationship) are immutable. If they must change, inactivate the component and create a new one with a new id.
  • ModuleId: Every component and reference set member belongs to exactly one module at any point in time. Modules are represented as descendants of 900000000000443000 |Module|.
  • Dependencies are not transitive: If module A depends on module B, and module B depends on module C, module A must still explicitly declare a dependency on module C in the Module Dependency Reference Set.
  • Delta files: SNOMED International no longer distributes Delta files directly; use the Delta Generation Tool if needed.

Reference files

  • references/component-files.md - Detailed specifications for Concept, Description, Relationship, Concrete Value, and Identifier files.
  • references/reference-sets.md - Reference set member format, language refsets, map refsets, module dependency, and metadata refsets.
  • references/sctid.md - SCTID structure, partition identifiers, namespace identifiers, and Verhoeff check-digit algorithm.
  • references/release-packages.md - Release types, file naming conventions, common fields, data types, history mechanism, and module identification.

© aehrc, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in .agents/skills/snomed-ct-rf2 of aehrc/pathling.

  • SKILL.md
  • references/component-files.md
  • references/reference-sets.md
  • references/release-packages.md
  • references/sctid.md

Open the folder on GitHubat commit 56a3b4a

Compare with similar skills

Snomed Ct Rf2 next to the 4 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Snomed Ct Rf2 compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Snomed Ct Rf2 this skillaehrc/pathling137—~1.8kAutomated safety check: PassApache-2.0
Mapping To Snomedmaziyarpanahi/openmed5.5k—~2.1kAutomated safety check: PassApache-2.0
Querying Terminology Servicemaziyarpanahi/openmed5.5k—~1.9kAutomated safety check: PassApache-2.0
Bio Ontology Mapperaipoch/medical-research-skills1.9k—~2.9kAutomated safety check: PassMIT
Snomed Eclaehrc/pathling137—~5kAutomated safety check: PassApache-2.0

Similar skills

  • Mapping To Snomed

    maziyarpanahi/openmed

    Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary.

    5.5k GitHub stars~2.1k tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • Querying Terminology Service

    maziyarpanahi/openmed

    Call a user-supplied FHIR terminology server ($validate-code, $expand, $lookup, $translate) to validate and expand clinical codes without bundling restricted vocabulary (SNOMED CT, RxNorm, LOINC…

    5.5k GitHub stars~1.9k tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • Bio Ontology Mapper

    aipoch/medical-research-skills

    Map unstructured biomedical text to standardized ontologies (SNOMED CT.

    1.9k GitHub stars~2.9k tokensUpdated 23 days ago
    Knowledge ManagementAuto-check passed
  • Snomed Ecl

    aehrc/pathling

    Write SNOMED CT Expression Constraint Language (ECL) queries to search and constrain concepts.

    137 GitHub stars~5k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed

More from aehrc/pathling

All 25 skills in this repo
  • Databricks CLI

    aehrc/pathling

    Expert guidance for using the Databricks CLI to manage Databricks workspaces, clusters, jobs, pipelines, Unity Catalog, SQL warehouses, serving endpoints, secrets, bundles, and all other Databricks…

    137 GitHub stars~2.1k tokensUpdated 2 days ago
    Auto-check passed
  • Fhir API

    aehrc/pathling

    Expert guidance for implementing FHIR RESTful API servers and clients following the HL7 FHIR specification.

    137 GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Fhir Bulk Data

    aehrc/pathling

    Expert guidance for implementing FHIR Bulk Data Access (Flat FHIR) following the HL7 specification.

    137 GitHub stars~1.8k tokensUpdated 2 days ago
    Auto-check passed
  • Fhir Search Spec

    aehrc/pathling

    FHIR RESTful search specification expert with access to the official HL7 search specification text and the formal SearchParameter registry.

    137 GitHub stars~649 tokensUpdated 2 days ago
    Auto-check passed
  • Design and generate comprehensive FHIRPath test suites using input domain partitioning and Pathling's DSL test framework.

    137 GitHub stars~3.6k tokensUpdated 2 days ago
    Auto-check passed
  • Hapi Fhir Server

    aehrc/pathling

    Expert guidance for implementing FHIR servers using HAPI FHIR Plain Server framework.

    137 GitHub stars~2.6k tokensUpdated 2 days ago
    Auto-check passed

Questions about Snomed Ct Rf2

What does Snomed Ct Rf2 do?

SNOMED CT Release Format 2 (RF2). An agent skill from aehrc/pathling. Snomed Ct Rf2 is an agent skill from aehrc/pathling. SNOMED CT Release Format 2 (RF2).

When should I use Snomed Ct Rf2?

Snomed Ct Rf2 fits situations like: working with SNOMED CT release files; generating RF2 tab-delimited files; validating SCTIDs; understanding component files.

How do I install Snomed Ct Rf2 in Claude Code?

Run `npx skills add aehrc/pathling --skill snomed-ct-rf2 -a claude-code`. Or copy the skill folder (.agents/skills/snomed-ct-rf2 in aehrc/pathling) into .claude/skills/snomed-ct-rf2 in your project. Claude Code loads it when a task matches its description.

How do I install Snomed Ct Rf2 in Codex?

Run `npx skills add aehrc/pathling --skill snomed-ct-rf2 -a codex`. Or copy the skill folder (.agents/skills/snomed-ct-rf2 in aehrc/pathling) into .agents/skills/snomed-ct-rf2 in your project. Codex loads it when a task matches its description.

Can I use Snomed Ct Rf2 in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aehrc/pathling --skill snomed-ct-rf2 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/snomed-ct-rf2, .gemini/skills/snomed-ct-rf2, .github/skills/snomed-ct-rf2 and .opencode/skills/snomed-ct-rf2 in your project.

What does Snomed Ct Rf2 need to run?

SKILL.md names no scripts, command-line tools or credentials: Snomed Ct Rf2 is instructions for the agent only.

Does Snomed Ct Rf2 access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Snomed Ct Rf2 safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Snomed Ct Rf2 use?

Snomed Ct Rf2 is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Snomed Ct Rf2 use?

About 1.8k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 11k tokens, read only when the agent opens those files.

What are the alternatives to Snomed Ct Rf2?

Skills that share tags, products or a category with Snomed Ct Rf2: Mapping To Snomed (maziyarpanahi/openmed, 5.5k stars), Querying Terminology Service (maziyarpanahi/openmed, 5.5k stars), Bio Ontology Mapper (aipoch/medical-research-skills, 1.9k stars) and Snomed Ecl (aehrc/pathling, 137 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Snomed Ct Rf2?

aehrc (a GitHub organization) maintains it in aehrc/pathling, which has 137 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 8, 2026.

Source: aehrc/pathling on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.