amend

A command for adding a change entry to an openEHR specification’s amendment record. An amendment record is the dated history of changes, issue references, and version updates.

In plain words
What is it for?
Adding Jira change references, describing updates, choosing an appropriate version bump, and placing the new entry in the amendment table.
Why use it?
It helps record what changed in the format expected by the specification repository and keeps the version information consistent.

Command

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.

agentmods
npx agentmods add commands/openehr/ai-plugins/amend
Clone the repo
git clone --depth 1 https://github.com/openEHR/ai-plugins
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 574 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00025 $0.00574
Opus 5 $0.00013 $0.00287
Sonnet 5 $0.00005 $0.00115
Haiku 4.5 $0.00003 $0.00057

Measured yesterday against content hash 7220e3950aff, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

amend 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 yesterday.

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.

plugins/openehr-specs/commands/amend.md · 36 lines

What it actually says

Add a new entry to the amendment record of the openEHR specification being worked on. The amendment-record conventions (anchors, Jira keys, release boundaries, version-bump rules) are defined in the openehr-specs:amendment-record skill and its references/conventions.md — follow them; this command is the action wrapper.

Arguments: $ARGUMENTS — the Jira CR/PR reference(s) and a short description of the change (e.g. SPECRM-142 — add tags to LOCATABLE; addresses SPECPR-401).

Do the following:

  1. Locate the amendment record. Find the relevant master00-amendment_record.adoc. If the spec directory is ambiguous, ask which spec; if a single spec is in scope, use it.
  2. Read it to learn the current top issue number, format ([cols=...]), and raiser style.
  3. Classify the version bump from the change description (patch = corrections/clarifications, minor = new content/sections, major = restructuring) per the amendment-record skill's rubric. If unclear, state your assumption and proceed.
  4. Optionally inspect the diff for context: git -C <repo> diff (and git status) to see what actually changed, so the entry describes it accurately.
  5. Insert the new entry at the top of the table (immediately after the header row):
    • Move the [[latest_issue]] and [[latest_issue_date]] anchors onto this new entry.
    • Format Jira references as {spec_tickets}/SPECXX-NN[SPECXX-NN^]: <description>; link any PRs it addresses ("Addresses {spec_tickets}/SPECPR-NN[SPECPR-NN^]").
    • Use today's date in dd Mon yyyy form (ask if the date is uncertain — do not guess a date).
    • If this is the first entry after a release, add the 4+^h|*XX Release N.N.N* boundary row below it.
  6. Show the diff of the change and stop. Do not publish or commit.

Keep the Details cell concise and specific — state what changed, not why (the Jira ticket holds the rationale).

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. yesterday First seen · 36 lines · 25 tokens per session scan A 7220e3950aff

Subscribe to this mod's changes

amend is a command published in the GitHub repository openEHR/ai-plugins (3 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 25 tokens to every session and 574 once invoked, about $0.0001 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.