publish

publish is a skill for Claude Code from openEHR/ai-plugins. It costs 21 tokens per session (625 once invoked), scanned A, original, Apache-2.0.

A local publishing skill that builds an HTML preview of an openEHR specification component from its AsciiDoc source. AsciiDoc is a text format used to write structured documentation.

In plain words
What is it for?
Use it to preview a component such as RM, BASE, or AM, and verify that the generated HTML files were produced correctly.
Why use it?
It lets authors check the complete rendered document locally without tagging, committing, or deploying a release.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Part of the openehr-specs plugin — 14 skills, 5 agents shipped together

Good fit Use it to preview a component such as RM, BASE, or AM, and verify that the generated HTML files were produced correctly.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openehr/ai-plugins/publish
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 openEHR/ai-plugins --skill publish
Clone the repo
git clone --depth 1 https://github.com/openEHR/ai-plugins

Made for: Claude Code.

Or install openehr-specs, the plugin that ships this one along with the rest of its 14 skills, 5 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 publish

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/openehr/ai-plugins/publish"><img src="https://agentmods.dev/badge/skills/openehr/ai-plugins/publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 625 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.00021 $0.00625
Opus 5.5 $0.00008 $0.00250
Sonnet 5.5 $0.00004 $0.00125
Haiku 4.5 $0.00002 $0.00063

Measured 1mo ago against content hash 0ce00b95d89e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

publish 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 1mo 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/skills/publish/SKILL.md · 37 lines

What it actually says

Build a local HTML preview of the component named in $ARGUMENTS (for example RM, BASE or AM) with the published ghcr.io/openehr/asciidoctor image. This is the preview step of the openehr-specs:authoring skill: it builds a whole component as the development release and never tags, commits, or deploys (that is governance). If $ARGUMENTS is empty, ask which component and stop: the image takes exactly one.

  1. Work from the parent directory that holds the sibling specifications-AA_GLOBAL/ (the image reads the boilerplate and references from it) and specifications-<component>/ checkouts. If either is missing, say which and stop. If which docker finds nothing, say Docker is required and stop.
  2. Snapshot the outputs: stat -c '%Y %n' specifications-<component>/docs/*.html (ignore "No such file"; use ls -l where stat -c is unavailable).
  3. Build. The entrypoint is spec_publish.sh -f -r -v -t -q -l, so the first argument is the release:
    docker run --rm -u $(id -u):$(id -g) -v "$(pwd):/documents/" ghcr.io/openehr/asciidoctor development $ARGUMENTS
    
  4. Verify, because the build prints generated <file> and exits 0 even when includes are missing or asciidoctor failed. Glob specifications-<component>/docs/*/master.adoc: each needs a rebuilt docs/<dir>.html beside it, plus docs/index.html when docs/index.adoc exists. Repeat the stat command; a file that is missing or unchanged is NOT BUILT. Any ERROR or include file not found log line (for example {pkg}… class tables) also fails the build. An INFO line, such as a possible invalid bibliography reference, does not.
  5. Report where the HTML landed and every error or warning verbatim. On failure, summarise the first actionable error and point to authoring (includes, attributes) or the xref-auditor subagent (cross-references). The build rewrites the tracked docs/*.html artefacts: tell the user, and do not stage them.
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. 1mo ago First seen · 37 lines · 21 tokens per session scan A 0ce00b95d89e

Subscribe to this mod's changes

publish is a skill published in the GitHub repository openEHR/ai-plugins (4 stars, last pushed 11d ago), licensed Apache-2.0. It adds 21 tokens to every session and 625 once invoked, about $0.0001 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-10-08.

Related

publish compared with skills from other repositories

publish next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
publishopenEHR/ai-pluginsSkill411d agoApache-2.0A21Claude Code
pydicomK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA52Claude Code, Codex
pptx-postersK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA59Claude Code
paper-figuresMuuuun/luxasSkill1.2k24d agoMITA79Claude Code, Codex
ape-write-paperarpitbbhayani/ape-skillsSkill57todayMITA125Claude Code, Codex
LaTeX工具XiaoMaColtAI/math-modeling-skillSkill2.0kyesterdaynoneA46Claude Code, Codex
swmm-reportZhonghao1995/agentic-swmm-workflowSkill371mo agoMITA62Claude Code, Codex