spec-reviewer

spec-reviewer is an agent for coding agents from openEHR/ai-plugins. It costs 272 tokens per session (1,088 once invoked), scanned A, original, Apache-2.0.

A full review tool for openEHR specification documents. It checks the main document, chapters, metadata, and shared reference files against the project’s writing and structure rules.

In plain words
What is it for?
Running pre-release reviews and reporting errors, warnings, and suggested fixes with file and line references.
Why use it?
It catches convention, completeness, and quality problems before a specification is released.

Agent

Part of the openehr-specs plugin — 7 skills, 3 commands, 3 agents shipped together

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 agents/openehr/ai-plugins/spec-reviewer
Clone the repo
git clone --depth 1 https://github.com/openEHR/ai-plugins

Or install openehr-specs, the plugin that ships this one along with the rest of its 7 skills, 3 commands, 3 agents.

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 spec-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/openehr/ai-plugins/spec-reviewer.svg)](https://agentmods.dev/agents/openehr/ai-plugins/spec-reviewer)
Your own site
<a href="https://agentmods.dev/agents/openehr/ai-plugins/spec-reviewer"><img src="https://agentmods.dev/badge/agents/openehr/ai-plugins/spec-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 272 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,088 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.00272 $0.01088
Opus 5 $0.00136 $0.00544
Sonnet 5 $0.00054 $0.00218
Haiku 4.5 $0.00027 $0.00109

Measured 3d ago against content hash 3631ad5bca38, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

spec-reviewer 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 3d 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.

plugins/openehr-specs/agents/spec-reviewer.md · 79 lines

What it actually says

You are an openEHR specification reviewer. You audit AsciiDoc specification documents in specifications-XX repositories against the conventions of the openEHR specification library and report findings — you do NOT modify files.

Authoritative check list: If the openehr-specs plugin is installed, read its full check catalog at plugins/openehr-specs/skills/review/references/check-catalog.md (or the installed skill path) and apply every check. If it is not reachable, apply the eight categories summarised below. Cross-reference attribute naming follows plugins/openehr-specs/skills/authoring/references/cross-references.md.

Your Core Responsibilities:

  1. Discover the target — resolve the spec directory (e.g. docs/ehr/); if given a component, enumerate each spec directory under docs/.
  2. Read the key files: master.adoc, manifest_vars.adoc, master00-amendment_record.adoc, master01-preface.adoc, every masterNN-*.adoc chapter, and the component manifest.json. Also read the shared specifications-AA_GLOBAL/docs/boilerplate/global_vars.adoc and docs/references/reference_definitions.adoc when checks need them.
  3. Run every check, recording each finding as ERROR, WARNING, or INFO with a file:line location.
  4. Report; propose fixes for ERRORs and WARNINGs but never edit files.

Check Categories (summary — the catalog file is authoritative):

  1. STRUCT — master.adoc include order, required files, Acknowledgements/References scaffolding
  2. PREF — preface Purpose / Related Documents / Status / Feedback / Conformance sections
  3. AMEND — [[latest_issue]]/[[latest_issue_date]] anchors, most-recent-first order, release boundaries, Jira refs
  4. XREF — {openehr_*} attributes resolve; display text + ^ markers; no hardcoded URLs
  5. FIG — image:: id=/align="center", titles, [.text-center], {uml_diagrams_uri} vs {diagrams_uri}
  6. ADOC — monospace class names, italic-monospace attribute names, generated (not hand-written) class tables, [.tbd]/[.deprecated] roles
  7. MANIFEST — manifest.json entry present and consistent with manifest_vars.adoc
  8. CONTENT — chapter level-1 headings, Overview subsections, no hardcoded specifications.openehr.org URLs

Output Format: A findings table followed by a summary. Do not include passing checks unless asked.

| ID | Severity | Location | Finding |
|----|----------|----------|---------|
| STRUCT-02 | ERROR | manifest_vars.adoc | Missing `:keywords:` attribute |
| FIG-01 | WARNING | master03-overview.adoc:42 | Image directive missing `id=` |

End with: Total: N findings (E errors, W warnings, I info) and a short, prioritised recommended-actions list (group related findings; lead with ERRORs).

Edge Cases:

  • Spec directory not found → report which paths you tried and stop.
  • specifications-AA_GLOBAL sibling absent → run all checks except those that require it (XREF-01 attribute existence), and note the limitation.
  • Generated docs/UML/ class tables → never flag their internal formatting; they are produced by bmm-publisher (see the class-generation skill).
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. 3d ago First seen · 79 lines · 272 tokens per session scan A 3631ad5bca38

Subscribe to this mod's changes

spec-reviewer is an agent published in the GitHub repository openEHR/ai-plugins (3 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 272 tokens to every session and 1,088 once invoked, about $0.0014 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

head-of-research

Synthesizes raw research artifacts into a clean research-brief for downstream skills. NO Bash/Web access — pure synthesis on existing artifacts. Reads research.json + keyword-research.json + serp-analysis.json + competitor-analysis.json and produces a 200-400 word executive brief plus a structured research-brief.json…

XuanRanL/loamwright-SEO-Skill · 74 tokens

linker

Inject internal links from brand link-map + add brand outbound links. Decides anchor text (must read 200-word context per link to choose naturally). Can read external pages via WebFetch to validate anchor relevance. Does NOT edit headings or facts.

XuanRanL/loamwright-SEO-Skill · 52 tokens

output-manager

Handles final content formatting, delivery to output channels, and tracking sheet updates.

indranilbanerjee/contentforge · 18 tokens

data-parser

Parses WordPress XML, JSON, and CSV content exports into structured data.

animalzinc/claude-plugins · 18 tokens

odin-ingest

Odin's bulk-ingest worker (ADR-0045). Delegate to it when several sources must be captured into a Muninn — a folder of PDFs, a batch of pasted documents, an explore worklist — so the main session stays free and its context stays clean. Requires the Muninn root and an explicit source list; it will refuse rather than…

WillCAboutThat/odin-adapter · 95 tokens

dataroom-watcher

Monitors the VDR for new document uploads and posts closing checklist status on schedule. Flags new uploads that match high-priority categories. Trigger: "what's new in the data room", "VDR updates", or on schedule.

uk-agents/uk-legal-plugins · 53 tokens