bpmn-xml-generator: Instructions file for Claude Code

CLAUDE.md

bpmn-xml-generator CLAUDE.md is an instructions file for Claude Code from stateway-io/bpmn-xml-generator. It costs 1,503 tokens per session, scanned C, original, Apache-2.0.

Repository instructions for a Claude Code skill that generates BPMN 2.0 XML. BPMN is a standard format for describing business processes so compatible process engines can run them.

In plain words
What is it for?
Use them when creating or changing the BPMN-generation skill, its references, or its validation examples.
Why use it?
They define the repository structure and the XML and expression rules needed for engine-compatible output.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is stateway-io/bpmn-xml-generator's own configuration. It tells Claude Code how to work on bpmn-xml-generator itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything bpmn-xml-generator configures →

Reuse

Borrowing it

Nothing to install: this file belongs to stateway-io/bpmn-xml-generator. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/stateway-io/bpmn-xml-generator/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/stateway-io/bpmn-xml-generator

Made for: Claude Code.

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 bpmn-xml-generator CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/stateway-io/bpmn-xml-generator/claude-md/github.svg)](https://agentmods.dev/instructions/stateway-io/bpmn-xml-generator/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/stateway-io/bpmn-xml-generator/claude-md"><img src="https://agentmods.dev/badge/instructions/stateway-io/bpmn-xml-generator/claude-md/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 bpmn-xml-generator CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/stateway-io/bpmn-xml-generator/claude-md"><img src="https://agentmods.dev/badge/instructions/stateway-io/bpmn-xml-generator/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,503 This file is loaded in full into every session.
When invoked 1,503 The same file — it is already loaded in full.
Security scan C 2 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.01503 $0.01503
Opus 5.5 $0.00601 $0.00601
Sonnet 5.5 $0.00301 $0.00301
Haiku 4.5 $0.00150 $0.00150

Measured 17d ago against content hash 6e4a2603a0e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

bpmn-xml-generator CLAUDE.md scanned grade C with 2 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 17d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

install.sh # curl | sh installer (file manifest + optional npm ci)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

install.sh # curl | sh installer (file manifest + optional npm ci)
CLAUDE.md · 100 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this repository is

A Claude Code / Cline skill that generates BPMN 2.0 XML for a target process engine. It is mostly documentation (the skill's instructions), plus a small Node.js toolchain the skill runs to validate and lay out what it generates. There is no application to build.

The skill lives in .claude/skills/bpmn-xml-generator/ and is invoked when users ask to create, model, convert, migrate, fix or validate a business process / BPMN diagram.

File structure

.claude/skills/bpmn-xml-generator/
  SKILL.md                        # Entry point: workflow and engine-agnostic authoring rules
  LICENSE, NOTICE                 # Apache-2.0 + copyright, OMG XSD attribution (installed with the skill)
  references/                     # CORE layer — OMG BPMN 2.0 only, no engine extensions
    elements.md                   #   element reference, XSD child order
    patterns.md                   #   advanced patterns (multi-instance, compensation, …)
    examples.md                   #   complete engine-agnostic examples
    validation-errors.md          #   validator messages, fixes, ID naming conventions
  profiles/                       # ENGINE layer — one file per engine
    _contract.md                  #   mandatory sections of a profile
    stateway.md | camunda8.md | flowable.md
  scripts/                        # Tooling run by the skill (Node.js ≥ 20, pinned deps)
    validate.mjs                  #   namespaces → bpmn-moddle → OMG XSD (xmllint) → bpmnlint
    layout.mjs                    #   bpmn-auto-layout + post-processing
    profiles.mjs                  #   per-engine config: namespaces, moddle descriptors, lint rules, support matrix
    moddle/*.json                 #   moddle descriptors for stateway: and flowable:
    lint-rules/*.cjs              #   local bpmnlint rules
    xsd/*.xsd                     #   OMG BPMN 2.0 schema
tests/
  run-examples.mjs                # validates every ```xml block in the skill docs
  check-install-manifest.mjs      # install.sh must list exactly the skill's files
.github/workflows/validate.yml    # CI: both tests on Node 20 and 22
install.sh                        # curl | sh installer (file manifest + optional npm ci)

Read the full file on GitHub · 100 lines

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. 17d ago Changed · +48 lines · +773 tokens per session scan A → C 6e4a2603a0e8
  2. 2mo ago First seen · 52 lines · 730 tokens per session scan A b6d91da793d8

Subscribe to this mod's changes

bpmn-xml-generator CLAUDE.md is an instructions file published in the GitHub repository stateway-io/bpmn-xml-generator (4 stars, last pushed 18d ago), licensed Apache-2.0. It adds 1,503 tokens to every session, about $0.0060 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

bpmn-xml-generator CLAUDE.md compared with instructions from other repositories

bpmn-xml-generator CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bpmn-xml-generator CLAUDE.mdstateway-io/bpmn-xml-generatorInstructions file418d agoApache-2.0C1,503Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,086GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file281ktodayMITA4,335Codex, OpenCode