ai-plugins
AGENTS.md3 starsChanged 6 months agoApache-2.0View on GitHub
AI-assistant plugins for openEHR — official plugin marketplace of the openEHR Foundation. This repo contains AI-assistant plugins that support openEHR work — packaged as a dual Claude Code and Cursor plugin marketplace; the skill content (SKILL.md, an open cross-tool format) is the canonical artifact, and each assistant gets a thin manifest layer (.claude-plugin/, .cursor-plugin/) around the same skills, so further assistants can be added the same way. It is not a specification repository — it provides AI-assisted tooling for authors…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 34
Keep each SKILL.md body a lean overview (quick-reference + pointers).
- Very specific: line 36
Never invent identifiers, paths, class names, or conventions — ground everything in published openEHR specifications.
- Distinctive: line 37
Do not duplicate community tooling (e.g.
- Very specific: line 48
Generating/editing AsciiDoc for
specifications-XXrepos: follow docs/spec-style-guide.md. - Very specific: line 72
Commit messages follow Conventional Commits: type(scope): summary (e.g.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ai-plugins
AI-assistant plugins for openEHR — official plugin marketplace of the openEHR Foundation.
Repository Purpose
This repo contains AI-assistant plugins that support openEHR work — packaged as a dual Claude Code and Cursor plugin marketplace; the skill content (SKILL.md, an open cross-tool format) is the canonical artifact, and each assistant gets a thin manifest layer (.claude-plugin/, .cursor-plugin/) around the same skills, so further assistants can be added the same way. It is not a specification repository — it provides AI-assisted tooling for authors working in specifications-XX repos.
Structure
ai-plugins/
├── .claude-plugin/marketplace.json # Claude Code marketplace manifest
├── .cursor-plugin/marketplace.json # Cursor marketplace manifest
├── docs/ # Contributor and user documentation
└── plugins/<plugin-name>/ # One directory per plugin
├── .claude-plugin/plugin.json # Claude Code plugin manifest
├── .cursor-plugin/plugin.json # Cursor plugin manifest
├── README.md # Plugin purpose, install, and component inventory
├── skills/<skill-name>/ # Knowledge/workflow skills (model- or user-invoked)
│ ├── SKILL.md # Skill definition (YAML frontmatter + body)
│ └── references/ # Optional supplementary content
├── agents/<agent>.md # Autonomous subagents (context-isolated, multi-file)
└── commands/<command>.md # User-invoked action commands (disable-model-invocation)Current plugins: openehr-specs — 7 skills (spec authoring, review, governance, content patterns, amendment records, ITS-REST, BMM class generation), 3 subagents (spec-reviewer, xref-auditor, identifier-grounding), and 3 commands (amend, regen-classes, publish).
Key Conventions
- Plugin names:
openehr-<domain>(mandatory prefix — flat global namespace); skill names: terse activity nouns with no prefix (auto-namespaced as<plugin>:<skill>). - Component choice follows the nature of the work: skills = knowledge/workflows (model- or user-invoked); commands (
commands/) = user-initiated actions, markeddisable-model-invocation: trueso they don't compete with knowledge-skill triggering; subagents (agents/) = context-heavy, multi-file, or adversarial work that would otherwise pollute the main context. Commands/agents reference their sibling knowledge skill rather than duplicating it. - Skill
descriptionfrontmatter is lean (~50–75 words): one what+scope sentence → a few representative triggers → short "Not for …" anti-triggers routing to the right sibling/plugin. - Keep each
SKILL.mdbody a lean overview (quick-reference + pointers); push bulky detail (tables, templates, format specs) intoreferences/so it loads only on demand. - Versions must stay in sync across both plugin manifests (
.claude-plugin/and.cursor-plugin/), both marketplace entries, and the release tag ({name}--v{version}). - Never invent identifiers, paths, class names, or conventions — ground everything in published openEHR specifications. To verify, read the spec's Markdown twin: take any
specifications.openehr.org/...page.htmlURL and swap.html→.md. - Do not duplicate community tooling (e.g. CKM/clinical modeling is covered by Cadasto's plugins); this repo covers ground the Foundation owns.
Full details: docs/skill-authoring.md
Development
Pure-content repository (JSON manifests + markdown skills) — no build step, package manager, or test suite.
- Validation:
python3 scripts/validate.py(Claude + Cursor manifests, version sync, skill/agent/command frontmatter, component paths — runs in CI) - Local testing: docs/testing.md; versioning/releases: docs/versioning.md
- End-user installation: docs/install.md
- Generating/editing AsciiDoc for
specifications-XXrepos: follow docs/spec-style-guide.md; skill bodies must agree with it — when changing one, check the other.
Component Dependencies
The skills are pure content; the subagents and commands rely on external tools and degrade gracefully when one is absent (each says so in its prompt):
spec-reviewer,xref-auditor— need aspecifications-XXcheckout and (for attribute resolution) the siblingspecifications-AA_GLOBAL.xref-auditor,identifier-grounding— use WebFetch to read spec Markdown twins (.html→.md);identifier-groundingadditionally prefers theopenehr-assistantMCP (type_specification_get) when connected, falling back to the twin.regen-classes— needs Docker (ghcr.io/openehr/bmm-publisher).publish— needs a siblingspecifications-AA_GLOBALcheckout (bin/spec_publish.sh) or theopenehr/asciidoctorDocker image.
None are bundled (the openehr-assistant MCP is interactively authenticated, not redistributable); document them, don't assume them.
Relationship to Other Repos
specifications-AA_GLOBAL: shared infrastructure (boilerplate, publishing scripts, styles) consumed by all spec reposspecifications-XX: individual component repos (RM, AM, BASE, etc.) where specs live- Plugins in this repo help authors work in those repos but do not modify them directly
Git
- Remote:
https://github.com/openEHR/ai-plugins - Main integration branch:
main - Commit messages follow Conventional Commits:
type(scope): summary(e.g.feat(spec-authoring): add conformance skill) — see CONTRIBUTING.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

