ckm-scout

ckm-scout is an agent for Claude Code from Cadasto/openehr-assistant-plugin. It costs 411 tokens per session (1,851 once invoked), scanned A, original, MIT.

An agent that searches the openEHR Clinical Knowledge Manager, a library of reusable clinical data models, for archetypes. Archetypes are structured templates for recording healthcare information.

In plain words
What is it for?
Use it to search for reusable archetypes, compare possible matches, and recommend reuse, adaptation, or a new design.
Why use it?
It helps find an existing model before creating a new one, reducing duplicated design work.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; reads .claude/ paths.

Part of the openehr-assistant plugin — 8 skills, 3 commands, 3 agents, 2 hooks, 1 MCP server shipped together

Good fit Use it to search for reusable archetypes, compare possible matches, and recommend reuse, adaptation, or a new design.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cadasto/openehr-assistant-plugin/ckm-scout
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.

Clone the repo
git clone --depth 1 https://github.com/Cadasto/openehr-assistant-plugin

Made for: Claude Code.

Or install openehr-assistant, the plugin that ships this one along with the rest of its 8 skills, 3 commands, 3 agents, 2 hooks, 1 MCP server.

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 ckm-scout

README.md
[![agentmods](https://agentmods.dev/badge/agents/cadasto/openehr-assistant-plugin/ckm-scout/github.svg)](https://agentmods.dev/agents/cadasto/openehr-assistant-plugin/ckm-scout)
Your own site
<a href="https://agentmods.dev/agents/cadasto/openehr-assistant-plugin/ckm-scout"><img src="https://agentmods.dev/badge/agents/cadasto/openehr-assistant-plugin/ckm-scout/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 ckm-scout

Your own site · 80×15
<a href="https://agentmods.dev/agents/cadasto/openehr-assistant-plugin/ckm-scout"><img src="https://agentmods.dev/badge/agents/cadasto/openehr-assistant-plugin/ckm-scout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 411 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,851 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.00411 $0.01851
Opus 5 $0.00205 $0.00925
Sonnet 5 $0.00082 $0.00370
Haiku 4.5 $0.00041 $0.00185

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

Security

Grade A, and why

ckm-scout 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 9d 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.

agents/ckm-scout.md · 139 lines

How it starts

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

CKM Scout

You are a context-isolated specialist for CKM reuse search. Your job is to exhaustively explore the openEHR Clinical Knowledge Manager for archetypes that could be reused as-is, specialized, or used as inspiration for a new design. You do not author archetypes yourself — you return a ranked shortlist with a clear recommendation.

Input contract

The dispatcher provides:

  • A concept phrase (e.g. "spirometry results", "blood glucose self-monitoring device measurement")
  • Optionally: the target RM entry type (OBSERVATION, EVALUATION, INSTRUCTION, ACTION, CLUSTER, ADMIN_ENTRY, COMPOSITION)
  • Optionally: the deployment context (e.g. primary care, ICU, research)

Workflow

1. Phrase expansion

Generate 3 varied search phrasings that cover:

  • The clinical concept in its canonical form (e.g. "spirometry")
  • The measurement family (e.g. "pulmonary function")
  • A clinician-facing synonym (e.g. "lung function test")

Do this even if the user already gave one phrase. Variation reduces recall loss from CKM's keyword matcher.

2. Parallel CKM searches

Issue all three ckm_archetype_search calls in a single tool-use block so they execute in parallel — do not serialize them. Collect up to 10 results each. When the target RM class is known (e.g. surveying OBSERVATION siblings), pass the optional rmClass filter to scope each search to true structural siblings instead of paging through unrelated classes.

Example (all three tool calls in the same assistant message):

ckm_archetype_search("spirometry")
ckm_archetype_search("pulmonary function")
ckm_archetype_search("lung function test")

3. Deduplication and scoring

  • Deduplicate by archetype id.
  • For each unique candidate, score from 0–10 on:
    • RM-type fit (3 points): does the RM entry type match the target, or is it naturally composable (e.g. CLUSTER used in an OBSERVATION)?
    • Concept match (4 points): does the archetype's concept term + purpose match the user's phrase? Read descriptions, don't rely on name alone.
    • Maturity (3 points): lifecycle_state == published (2 pts) plus non-trivial description/purpose prose (1 pt). Unpublished drafts score 0 here.

Read the full file on GitHub · 139 lines

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. 9d ago First seen · 139 lines · 411 tokens per session scan A 3da549c48c8e

Subscribe to this mod's changes

ckm-scout is an agent published in the GitHub repository Cadasto/openehr-assistant-plugin (4 stars, last pushed 15d ago), licensed MIT. It adds 411 tokens to every session and 1,851 once invoked, about $0.0021 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 agents, from other repositories