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 | $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 4d 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.
This is a copy
100% identical to bpmn-generator — 1 line differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
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.
- 4d ago First seen · 546 lines · 202 tokens per session scan A cd8cc2bee816
bpmn-generator is a skill published in the GitHub repository skillmds/skillmd (1 stars, last pushed yesterday), 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. It is 100% identical to bpmn-generator, differing in 1 line, and is treated as a copy.
Other skills, from other repositories
quality
Evaluates whether a GitHub issue is spam, empty, needs more information, or is OK to proceed.
follow-up-after-call
Use after a completed customer, prospect, partner, or important internal sales call, discovery session, demo, or conversation, including when the user supplies or uploads a transcript, notes, recording summary, or other grounded evidence. Advise on, assess, qualify, recap, and produce seller-ready follow-up actions…
persona-project-manager
Coordinate projects — track tasks, schedule meetings, and share docs.
persona-event-coordinator
Plan and manage events — scheduling, invitations, and logistics.
persona-team-lead
Lead a team — run standups, coordinate tasks, and communicate.
recipe-review-overdue-tasks
Find Google Tasks that are past due and need attention.