bpmn-modeler

bpmn-modeler is a skill for Claude Code, Codex from sebahrens/bpmn-mcp. It costs 109 tokens per session (1,279 once invoked), scanned A, original, MIT.

A tool-guided workflow for creating and editing BPMN diagrams. BPMN is a standard way to show business processes, including steps, decisions, participants, and messages between organizations or teams.

In plain words
What is it for?
Use it to model business processes, team or organization hand-offs, pools and lanes, conditions, events, data, BPMN XML, and BPMN or SVG diagram output.
Why use it?
It helps turn an informal workflow into a structured diagram that can be inspected, validated, rearranged, saved, or exported. It also helps choose between a single process and a collaboration involving multiple participants.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the mcp-bpmn plugin — 2 skills, 1 hook shipped together

Good fit Use it to model business processes, team or organization hand-offs, pools and lanes, conditions, events, data, BPMN XML, and BPMN or SVG diagram output.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sebahrens/bpmn-mcp/bpmn-modeler
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sebahrens/bpmn-mcp --skill bpmn-modeler
Clone the repo
git clone --depth 1 https://github.com/sebahrens/bpmn-mcp

Made for: Claude Code, Codex.

Or install mcp-bpmn, the plugin that ships this one along with the rest of its 2 skills, 1 hook.

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-modeler

README.md
[![agentmods](https://agentmods.dev/badge/skills/sebahrens/bpmn-mcp/bpmn-modeler/github.svg)](https://agentmods.dev/skills/sebahrens/bpmn-mcp/bpmn-modeler)
Your own site
<a href="https://agentmods.dev/skills/sebahrens/bpmn-mcp/bpmn-modeler"><img src="https://agentmods.dev/badge/skills/sebahrens/bpmn-mcp/bpmn-modeler/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-modeler

Your own site · 80×15
<a href="https://agentmods.dev/skills/sebahrens/bpmn-mcp/bpmn-modeler"><img src="https://agentmods.dev/badge/skills/sebahrens/bpmn-mcp/bpmn-modeler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,279 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00109 $0.01279
Opus 5 $0.00055 $0.00639
Sonnet 5 $0.00022 $0.00256
Haiku 4.5 $0.00011 $0.00128

Measured 9d ago against content hash ecd55dbc7aef, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

bpmn-modeler 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 9d 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.

skills/bpmn-modeler/SKILL.md · 48 lines

How it starts

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

BPMN modeler

Use the tools exposed by the mcp-bpmn server. Refer to tools by their semantic names below; the host may display an MCP namespace prefix. Treat each live tool description and input schema as authoritative.

Route the request

  1. Determine whether the requested artifact is a single process or a collaboration.
    • Use a process for one participant's control flow when pools and lanes are unnecessary.
    • Use a collaboration for pools or lanes, and when distinct participants or organizations exchange messages. Model each participant as a pool; use lanes only inside white-box pools.
    • Ask a focused question when participant boundaries, ownership, execution profile, or destructive file intent would materially change the model. Otherwise state a small assumption and proceed.
  2. Choose the authoring path.
    • Prefer typed tools for edits, collaborations requiring precise ownership, specialized activity/event types, conditions, lanes, data, annotations, or extension-profile fields.
    • Use new_from_mermaid or open_mermaid_file only to bootstrap a diagram that fits the supported flowchart subset. Read references/capabilities.md before choosing Mermaid.
  3. Default to the portable extension profile. Use camunda7 only when the user requests its supported execution metadata. Do not translate unsupported profiles into Camunda 7 or portable fields.

Operate on the diagram

  1. Establish context with current, new_bpmn, new_from_mermaid, open_bpmn, or open_mermaid_file. If a diagram may already be current, inspect it before switching unless the request clearly authorizes the replacement.
  2. For an existing diagram, inspect elements with list_elements and get_element, and inspect relationships with list_connections and get_connection, before editing. Follow pagination until hasMore is false when the complete model matters.
  3. Create owners before their contents: collaboration, pools, then pool-owned elements. Create all required elements before relationships. Retain every returned processId, elementId, laneId, connectionId, associationId, and generated filename; never invent or reconstruct server IDs.
  4. In collaborations, pass the returned pool processId as ownerId and normally scopeId for its flow nodes. Connect nodes within one scope as sequence flow and across participants as message flow. Let server validation reject illegal endpoints rather than forcing an approximation.
  5. Add lanes only after their flow nodes exist. Add sequence flows, message flows, conditions/defaults, and associations only after both endpoints exist.
  6. Before changing a connection, call get_connection, then pass its semanticRevision as expectedSemanticRevision to update_connection. Endpoint changes must name sourceId and/or targetId and explicitly set endpointPolicy to snap-to-boundary; do not infer or hand-edit endpoint geometry. On a revision conflict, refresh with get_connection, reassess the current state, and retry only if the requested change is still valid.
  7. For a local connection obstruction, call route_connection in its default proposal-only mode with the current geometryRevision. Inspect its diagnostics and score before passing the returned patch directly to apply_geometry_patch; use apply: true only when immediate atomic selection is intended. Do not hand-invent waypoints before trying the router.
  8. Run validate at meaningful semantic checkpoints, including after the main control-flow skeleton and after substantial edits. Resolve errors before continuing; report warnings that require user judgment.
  9. For creation or edit deliverables, apply auto_layout near the end, after semantic construction, unless the user asks to preserve manual geometry. It replaces coordinates and autosaves. Run validate again at full level after layout. Do not mutate a review-only request.
  10. Use export in the requested xml or svg format when the result should be returned inline. Use save_svg or save_png only when the user requests a separate managed artifact filename; set overwrite: true only with explicit replacement intent. Report the active BPMN filename, export or artifact format, validation result, and any warnings.

Read the full file on GitHub · 48 lines

Files

What ships with it

5 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.

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. 9d ago First seen · 48 lines · 109 tokens per session scan A ecd55dbc7aef

Subscribe to this mod's changes

bpmn-modeler is a skill published in the GitHub repository sebahrens/bpmn-mcp (0 stars, last pushed 5d ago), licensed MIT. It adds 109 tokens to every session and 1,279 once invoked, about $0.0005 per session on Opus 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens