Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/skillmds/skillmdnpx agentmods add skills/skillmds/skillmd/bpmn-generatorWrote 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/skills/skillmds/skillmd/bpmn-generator)<a href="https://agentmods.dev/skills/skillmds/skillmd/bpmn-generator"><img src="https://agentmods.dev/badge/skills/skillmds/skillmd/bpmn-generator/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/skills/skillmds/skillmd/bpmn-generator"><img src="https://agentmods.dev/badge/skills/skillmds/skillmd/bpmn-generator.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.00202 | $0.06029 |
| Opus 5.5 | $0.00081 | $0.02412 |
| Sonnet 5.5 | $0.00040 | $0.01206 |
| Haiku 4.5 | $0.00020 | $0.00603 |
Grade A, and why
bpmn-generator 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- bpmn-generator — 100% identical, 608 lines differ
How it starts
The opening of the file, as written. The whole thing — 546 lines — stays where its author put it; the contents beside it link to each section on GitHub.
BPMN Generator Skill v2.0 — Enterprise Edition
Converts natural language process descriptions into OMG BPMN 2.0.2 compliant XML files and SVG previews via a 4-phase pipeline. All visual rendering follows the bpmn-js reference implementation.
Pipeline Overview
User Text
↓ [Phase 1] Intent Extraction (Claude LLM)
JSON Logic-Core
↓ [Phase 2] Validation (rules + deadlock detection + structural soundness)
Validated JSON
↓ [Phase 3] Auto-Layout (ElkJS Sugiyama layered algorithm)
JSON + Coordinates (edge endpoints clipped to shape boundaries)
↓ [Phase 4] Serialization (pipeline.js)
BPMN 2.0 XML + SVG
The LLM never handles coordinates. Layout is 100% algorithmic.
Modes: Document (IST) vs. Optimize (Soll)
Two distinct intents — keep them separate:
- Document mode (default, IST / as-is): the user describes a process and wants it captured
faithfully as BPMN. No judgment, no improvement suggestions. This is the default for every entry
point (CLI,
runPipeline, HTTP, MCP). - Optimize mode (Soll / to-be): the user wants a better process. Enables the opt-in Optimization
Advisory layer, which flags graph-detectable redesign opportunities (Reijers 2005 heuristics + BABOK
Lean metrics) as non-blocking
advisories— never auto-applied.
Select the mode consistently across entry points:
- CLI:
node bpmn/pipeline.js in.json out --optimize - Programmatic:
runPipeline(lc, { mode: 'optimize' }) - HTTP:
{ "logicCore": {...}, "mode": "optimize" }on/api/v1/generate|validate|orchestrate - MCP:
mode: "optimize"ongenerate_bpmn/validate_bpmn/orchestrate_bpmn
Advisories are review suggestions with trade-off tags (time/cost/quality/flexibility); they are heuristics,
not proofs — present them as options, never silently apply them. Each advisory is an object
{ id, transform, targets, message, tradeoff, ref, judgment } (see references/api-reference.md); message
is the human-readable line, transform names the matching intervention in the toolbox below.
What ships with it
12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 546 lines · 202 tokens per session scan A cd8cc2bee816
bpmn-generator is a skill published in the GitHub repository skillmds/skillmd (143 stars, last pushed 4d ago), licensed MIT. It adds 202 tokens to every session and 6,029 once invoked, about $0.0008 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-09-19.
bpmn-generator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bpmn-generatorskillmds/skillmd | Skill | 143 | 4d ago | MIT | A | 202 | Claude Code |
| sloplessberelevant-ai/slopless | Skill | 339 | 3d ago | MIT | A | 40 | Claude Code, Codex |
| suikonwiizo/suiko | Skill | 115 | yesterday | MIT | A | 192 | Codex |
| poly-lint-and-formatGoldziher/poly | Skill | 20 | today | MIT | A | 42 | Claude Code |
| poly-orchestratorGoldziher/poly | Skill | 20 | today | MIT | A | 43 | Claude Code |
| poly-mcpGoldziher/poly | Skill | 20 | today | MIT | A | 38 | Claude Code |
| poly-tiers-and-scopeGoldziher/poly | Skill | 20 | today | MIT | A | 60 | Claude Code |