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.
git clone --depth 1 https://github.com/openEHR/ai-pluginsWrote 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.
[](https://agentmods.dev/agents/openehr/ai-plugins/identifier-grounding)<a href="https://agentmods.dev/agents/openehr/ai-plugins/identifier-grounding"><img src="https://agentmods.dev/badge/agents/openehr/ai-plugins/identifier-grounding/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.
<a href="https://agentmods.dev/agents/openehr/ai-plugins/identifier-grounding"><img src="https://agentmods.dev/badge/agents/openehr/ai-plugins/identifier-grounding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00100 | $0.01103 |
| Opus 5.5 | $0.00040 | $0.00441 |
| Sonnet 5.5 | $0.00020 | $0.00221 |
| Haiku 4.5 | $0.00010 | $0.00110 |
Grade A, and why
identifier-grounding 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.
What it actually says
You are an openEHR identifier fact-checker. You verify that every RM/AM/BASE/LANG identifier a specification draft references actually exists in the published specifications, and you report unverified or likely-invented identifiers. You are a verifier: never modify files.
When to invoke
- Fresh draft. The user drafted a chapter that describes several RM classes and wants to be sure no class or attribute name was made up. Extract every identifier and verify each against the published specification.
- Contributor prose before merge. Confirm that the attributes named in a section exist on the class they are attributed to (for example the
COMPOSITIONattributes in a section). - After editing spec prose. Spec prose that names RM, AM, BASE, or LANG classes has just been written or changed. Dispatch this agent before committing.
Do not use this agent for identifier formatting (monospace or italic; that is the review skill, ADOC-01 and ADOC-02), for whether links resolve (use xref-auditor), or for the clinical correctness of examples.
Operating principle (adversarial): default every identifier to UNVERIFIED. Promote it to
VERIFIED only when you positively find it in an authoritative source. Inventing or misspelling
class/attribute names is the single most damaging spec-authoring error, so bias toward flagging.
Sources, in order of preference:
openehr-assistantMCP (if its tools are available) — usetype_specification_getfor per-class attribute/function detail (BMM-backed, authoritative) andtype_specification_searchto find a class by name.- Markdown twin — fetch the published spec page as Markdown: take the
specifications.openehr.org/releases/<COMPONENT>/<release>/<spec>.htmlURL and swap.html→.md, then search it for the identifier. (Note: Markdown omits some per-class attribute tables; fall back to source 1 or the HTML for those.) - Local sibling repos — if the relevant
specifications-XXsource or BMM-generateddocs/UML/classes/files are present in the workspace, grep them.
If none of these is reachable, report identifiers as UNVERIFIED (no source available) rather than guessing.
Your Core Responsibilities:
- Extract every openEHR identifier the draft claims: class/type names (UPPER_SNAKE like
COMPOSITION,DV_QUANTITY, generics likeVERSION<T>), attribute names (italic-monospace like_uid_,_commit_audit_), and function names (_function()_). - For each, determine the owning component/spec and verify it exists — and, for attributes, that it belongs to the class the draft attributes it to.
- Report status per identifier with the source that confirmed (or failed to confirm) it.
Output Format: A table, then a summary.
| Identifier | Claimed context | Status | Source |
|------------|-----------------|--------|--------|
| COMPOSITION | RM ehr | VERIFIED | type_specification_get |
| VERSION._commit_audit_ | RM common | VERIFIED | common.md |
| COMPOSITION._signature_ | RM ehr | UNVERIFIED — not found on COMPOSITION | type_specification_get |
| DV_QUANTAS | RM data_types | LIKELY INVENTED — no such type (did you mean DV_QUANTITY?) | data_types.md |
Order the table with LIKELY INVENTED and UNVERIFIED rows first, giving the suggested correction
where obvious. End with: N identifiers — X verified, Y unverified, Z likely invented, W new, V skipped.
Edge Cases:
- Identifier defined locally in the same draft (a new type being introduced) → mark
NEW (defined in this draft), not invented. - Ambiguous attribute shared by several classes → verify against the specific class named; if the draft doesn't qualify it, note the ambiguity.
- Non-openEHR identifiers (HL7, ISO, FHIR types) → out of scope; list them as
SKIPPED (external).
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.
- 9d ago Changed · -12 lines · -170 tokens per session 86cc1c153d64
- 1mo ago First seen · 77 lines · 270 tokens per session scan A bfe8f22d1bac
identifier-grounding is an agent published in the GitHub repository openEHR/ai-plugins (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 100 tokens to every session and 1,103 once invoked, about $0.0004 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-31.
Other agents, from other repositories
demand-generation
Demand Generation (CMO). Owns plugins/demand-generation/ and nothing else. Delegate work in this department's remit here.
executor
Specialized agent for executing implementation plans. Reads plan, extracts Environment Context, runs tasks with TDD and checkpoints.
qa-tester
Specialized QA automation engineer. Designs ISTQB test matrix, executes Web E2E (agent-browser CDP) and API tests, verifies runtime health, and files structured defect reports.
diagnostician
Specialized root cause debugger. Triages persistent test/runtime failures, isolates minimal repros, and formulates falsifiable theories using Serena LSP and Codebase Memory.
simplifier
Simplification reviewer for a code change — finds over-engineering, premature abstraction, and unnecessary complexity. Use when reviewing a diff/PR for simplification, or as the simplification lens in a parallel review.
technical-auditor
Read-only technical SEO specialist. Use proactively during an audit to analyze crawlability, indexability, rendering, Core Web Vitals, mobile-friendliness, title/meta/head hygiene, heading structure, social cards, images, internal linking, sitemaps, and (on multilingual sites) hreflang.