template-authoring

template-authoring is a skill for Claude Code from Cadasto/openehr-assistant-plugin. It costs 163 tokens per session (3,056 once invoked), scanned A, original, MIT.

A guide and toolset for creating structured healthcare data-entry templates, including decisions about how forms should be divided and stored.

In plain words
What is it for?
It helps search for existing templates and medical data definitions, choose reusable components, split forms into sections, and work with openEHR formats such as archetypes, OPTs, and web templates.
Why use it?
It provides rules and research steps for turning a clinical use case or form into a consistent template rather than designing its structure ad hoc.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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

Good fit It helps search for existing templates and medical data definitions, choose reusable components, split forms into sections, and work with openEHR formats such as archetypes, OPTs, and web templates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cadasto/openehr-assistant-plugin/template-authoring
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 Cadasto/openehr-assistant-plugin --skill template-authoring
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 template-authoring

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cadasto/openehr-assistant-plugin/template-authoring"><img src="https://agentmods.dev/badge/skills/cadasto/openehr-assistant-plugin/template-authoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 163 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,056 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.00163 $0.03056
Opus 5 $0.00081 $0.01528
Sonnet 5 $0.00033 $0.00611
Haiku 4.5 $0.00016 $0.00306

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

Security

Grade A, and why

template-authoring 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 10d 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/template-authoring/SKILL.md · 192 lines

How it starts

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

Template Authoring

Conflict Resolution

When guides conflict, apply this priority (highest first):

  1. Rules and syntax specifications
  2. Idioms and structural constraints
  3. Principles
  4. Convenience

Step 1: Load Guides (MANDATORY)

Before any template work, load the authoritative guides:

guide_get("openehr://guides/templates/principles")
guide_get("openehr://guides/templates/rules")

Load additional guides as needed:

  • guide_get("openehr://guides/templates/oet-syntax") — OET authoring syntax
  • guide_get("openehr://guides/templates/oet-idioms-cheatsheet") — common OET patterns
  • guide_get("openehr://guides/templates/cgem-framework") — full CGEM dataset-splitting framework (Step 6)
  • guide_get("openehr://guides/templates/opt-structure") / guide_get("openehr://guides/templates/web-template") — runtime forms (OPT, web template) when discussing deployment or FLAT/STRUCTURED paths

Step 2: Research Before Creating

Search for existing templates first:

ckm_template_search("<use-case>")

If creating a new template, search for archetypes to include:

ckm_archetype_search("<concept>")

When CKM comes up empty, published-on-GitHub project content is a secondary channel — repositories tagged with the openehr-content topic (search topic:openehr-content, ~14 repos: freshEHR, Apperta-CKM projects, regional programmes, individual modellers). CKM holds relatively few templates, so this is more often useful for templates than for archetypes. Treat finds as leads, not governed artefacts: unlike CKM there is no editorial review, no reliable lifecycle_state, and no integrity guarantee, so cite the repo and commit you looked at, never present a find as "published". This needs web access (WebSearch/WebFetch/gh), which this skill does not hold — ask the main session to run the search.

Step 3: Use-Case Specificity

Templates target particular clinical workflows. Define the use-case clearly:

  • What clinical scenario does this template serve? (e.g., discharge summary, vital signs form, medication reconciliation)
  • What data points are required vs optional?
  • Who will use it? (clinician, nurse, admin)

Read the full file on GitHub · 192 lines

Files

What ships with it

1 file 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. 10d ago First seen · 192 lines · 163 tokens per session scan A 67b3ac36cbc3

Subscribe to this mod's changes

template-authoring is a skill published in the GitHub repository Cadasto/openehr-assistant-plugin (4 stars, last pushed 15d ago), licensed MIT. It adds 163 tokens to every session and 3,056 once invoked, about $0.0008 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

humanizar

Reescreve textos em português brasileiro para soarem mais humanos e naturais, reduzindo padrões típicos de escrita gerada por IA sem alterar fatos, argumento ou intenção. Use quando o texto em PT-BR parecer genérico, burocrático ou gerado por IA, ou quando o usuário pedir para "humanizar", "dar vida", "tirar cara de…

fabricioctelles/skills · 167 tokens

human-ai

Rewrites English text so it reads as written by a person, without AI writing tics. Removes machine language patterns and AI slop, restores semantic entropy, and injects voice and personality. Use when ENGLISH text reads as generic, bland, or AI-generated - or when asked to "humanize", "de-slop", "remove AI patterns"…

fabricioctelles/skills · 115 tokens

invest

First-time fork users: run the invest-setup skill first to initialize. The main flow lives in this skill (the AI agent uses the CLI/MCP to view the portfolio / run the committee / replay decision history). The Web GUI has been retired (2026-07) — every capability is exposed via CLI subcommands / MCP tools. The backend…

longsizhuo/openInvest · 261 tokens

agent-ready-cloudflare

Audit and improve website readiness for AI agents using the Cloudflare "Is It Agent Ready?" scanner (isitagentready.com). Covers scanning via API, interpreting results, generating implementation prompts, and fixing every check. Use when the user mentions "agent ready", "isitagentready", "AI agent scan", "agent…

fabricioctelles/skills · 158 tokens

aidlc-master

Runs the AWS AI-DLC (AI-Driven Development Life Cycle) methodology end to end: an adaptive three-phase workflow (Inception → Construction → Operations) with human approval gates, a full audit trail, and all artifacts in aidlc-docs/. Use when the user says "Using AI-DLC", "AI-DLC", "AIDLC", "aidlc-master", or asks for…

fabricioctelles/skills · 243 tokens

coolify-operator

Master Coolify operator for self-hosted deployment platform. Use when the user mentions 'coolify', 'deploy on coolify', 'list/restart/redeploy applications', 'view coolify logs', 'coolify API/CLI', 'manage coolify servers/databases/apps', or 'coolify context'. Automates deployments and management via REST API or…

fabricioctelles/skills · 79 tokens