Borrowing it
Nothing to install: this file belongs to architawr/claude-bpmn-skill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/architawr/claude-bpmn-skill/main/CLAUDE.mdgit clone --depth 1 https://github.com/architawr/claude-bpmn-skillWrote 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.
[](https://agentmods.dev/instructions/architawr/claude-bpmn-skill/claude-md)<a href="https://agentmods.dev/instructions/architawr/claude-bpmn-skill/claude-md"><img src="https://agentmods.dev/badge/instructions/architawr/claude-bpmn-skill/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.
<a href="https://agentmods.dev/instructions/architawr/claude-bpmn-skill/claude-md"><img src="https://agentmods.dev/badge/instructions/architawr/claude-bpmn-skill/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01256 | $0.01256 |
| Opus 5.5 | $0.00502 | $0.00502 |
| Sonnet 5.5 | $0.00251 | $0.00251 |
| Haiku 4.5 | $0.00126 | $0.00126 |
Grade A, and why
claude-bpmn-skill CLAUDE.md 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 96 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 repo is
A Claude Code plugin (and a one-plugin marketplace, bpmn-tools) for working
with BPMN 2.0 process diagrams. The shipped artifact is the skill at
skills/bpmn/; commands/*.md are slash-command wrappers that invoke it. The
plugin is consumed by a model, but all real mechanics are deterministic Node code
you can run and test directly.
Commands
All Node work happens in skills/bpmn/ (deps are not committed — run install first):
cd skills/bpmn && npm install # one-time: fetches bpmn-moddle + bpmn-auto-layout
npm test # full suite (node --test, files in test/*.test.mjs)
node --test test/resync.test.mjs # one test file
node --test --test-name-pattern "prunes" test/resync.test.mjs # one test by name
The CLI (run from skills/bpmn/):
node scripts/bpmn-tool.mjs summarize <file.bpmn> [--json]
node scripts/bpmn-tool.mjs layout <in.bpmn> [out.bpmn] [--rebuild]
node scripts/bpmn-tool.mjs validate <file.bpmn>
node scripts/bpmn-tool.mjs lint <file.bpmn>
node scripts/bpmn-tool.mjs diff <a.bpmn> <b.bpmn>
node scripts/bpmn-tool.mjs find <file.bpmn> <term>
Architecture
Two layers in every .bpmn. Semantics (bpmn:process / bpmn:collaboration
— tasks, gateways, flows) and Diagram Interchange (bpmndi:BPMNDiagram — x/y
coordinates). The whole design rests on: the model edits semantics; the script
owns the DI. Never hand-write coordinates.
scripts/lib.mjs is the single source of truth. Every mechanic
(layoutModel, validateModel, lintModel, summarizeText/Json, diffModels,
findModel) lives here as a function over data. scripts/bpmn-tool.mjs is a thin
CLI that only formats output and sets exit codes. Add logic to lib.mjs, not the
CLI.
The layout safety contract (do not regress this). layoutModel(xml, {rebuild}):
- If the file already has DI and
rebuildis falsy → resync: preserve all existing geometry,pruneDI(drop shapes/edges whose element was deleted — a deleted element leaves abpmnElement === undefineddangling ref),addDI(auto-place shapes/edges for new elements), thenplaceExtras. - If there's no DI, or
rebuildis true → generate from scratch. Layout is non-destructive by default. The historical bug this fixed: the old code always regenerated and ran acollapseSubProcessDIthat deleted sub-process drill-down pages, emptying them. Do not reintroduce a destructive default or sub-process collapsing.
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.
- 2mo ago First seen · 96 lines · 1,256 tokens per session scan A 63916e9a21a2
claude-bpmn-skill CLAUDE.md is an instructions file published in the GitHub repository architawr/claude-bpmn-skill (17 stars, last pushed 5mo ago), licensed MIT. It adds 1,256 tokens to every session, about $0.0050 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-08-31.
claude-bpmn-skill CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| claude-bpmn-skill CLAUDE.mdarchitawr/claude-bpmn-skill | Instructions file | 17 | 5mo ago | MIT | A | 1,256 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |