The bpmnkit Claude Code plugin adds BPMN-aware slash commands, autonomous agents, and
ambient quality hooks directly into Claude Code. It’s CLI-first: every skill drives
bpmnkit via Bash — no MCP server, no proxy daemon. Every process is authored as a
ProcessPlan JSON file and compiled deterministically by bpmnkit synth; no skill ever
writes BPMN XML by hand.
Prerequisites
Install the BPMNKit CLI globally:
npm install -g @bpmnkit/cli
That’s it — nothing else needs to be running.
Installation
Local (development or team)
claude --plugin-dir ./plugins-claude/bpmnkit-claude
Or add to your project’s .claude/settings.json:
{
"plugins": [
{ "path": "./plugins-claude/bpmnkit-claude", "scope": "project" }
]
}
Via marketplace
/plugin marketplace add bpmnkit/bpmnkit
/plugin install bpmnkit@bpmnkit
Configuration
When the plugin is enabled, Claude Code prompts for two optional values:
| Config key | Description |
|---|---|
camunda_endpoint | Camunda 8 REST API endpoint (leave blank for local Reebe) |
camunda_token | Camunda 8 OAuth2 token (leave blank for local Reebe) |
Leave both blank to use the local Reebe engine.
Skills
/bpmnkit:implement <description>
The main entry point — natural language to a compiled, tested BPMN process.
/bpmnkit:implement order fulfillment with payment and inventory check
/bpmnkit:implement employee onboarding process with HR approval
Resolves connectors, writes a ProcessPlan, compiles it with bpmnkit synth, tests it,
scaffolds any missing workers, and asks where to deploy.
/bpmnkit:extend <file> <change request>
Extend an existing process from a natural-language change.
/bpmnkit:extend order-fulfillment.bpmn add a timeout boundary on the payment step
Lifts the process to plan form (bpmnkit plan extract), writes a small delta plan, and
merges it in (bpmnkit synth --merge) — the summary is at the element level, not an XML diff.
/bpmnkit:agent [file] <description>
Design and add a Camunda AI Agent Sub-process.
/bpmnkit:agent add a support-triage agent with tools: search KB (http), escalate to human (user task)
Works out the provider/model, prompts, and tools (each mapped via connector search or an existing worker job type), then compiles and mock-tests the agent step. See AI Agents for the full pattern.
/bpmnkit:connect <file> <step> <service>
Wire an existing plan step to an external system via a Camunda connector template.
/bpmnkit:connect order-fulfillment.bpmn notify_ops slack
/bpmnkit:review [file.bpmn]
Run the full static analyzer and report deploy-readiness.
/bpmnkit:review
/bpmnkit:review order-fulfillment.bpmn
Reports findings grouped by severity and ends with an explicit “Deploy-ready: yes/no” verdict.
/bpmnkit:test [file.bpmn]
Run scenario tests and report path/branch coverage.
/bpmnkit:test
/bpmnkit:test order-fulfillment.bpmn
/bpmnkit:deploy [file.bpmn] [--local|--camunda]
Gate on deploy-readiness, then deploy to local Reebe or Camunda 8.
/bpmnkit:deploy
/bpmnkit:deploy order-fulfillment.bpmn --camunda
/bpmnkit:bpmn-script, /bpmnkit:dmn, /bpmnkit:form
Write a process as a TypeScript build script, a DMN decision table or a Camunda form. Each
skill carries its agent card: a runnable script, the top options
and the traps. Outside Claude Code, bpmnkit agent-card bpmn|dmn|form prints the same card.
/bpmnkit:dmn order risk by amount and country
/bpmnkit:instances [process-id] [--active|--failed]
List running process instances.
/bpmnkit:instances
/bpmnkit:instances order-process --failed
/bpmnkit:incidents [--process-id X]
List open incidents with suggested resolution actions.
/bpmnkit:incidents
/bpmnkit:incidents --process-id order-process
Reference docs
Every skill reads the relevant reference doc before authoring a plan:
| File | Contents |
|---|---|
references/plan-format.md | The ProcessPlan JSON schema + annotated, tested examples |
references/connectors.md | The bundled connector catalog index |
references/agentic.md | The AI Agent Sub-process pattern, binding keys, a full example |
references/feel.md | FEEL syntax crib sheet + the "="-means-expression convention |
references/modeling-style.md | Camunda naming/structure conventions |
Agents
process-builder
Builds a complete BPMN process end-to-end from a description. Invoke directly:
Build me an invoice approval process for accounts payable
What it does:
- Asks clarifying questions (error paths, user tasks, deploy target)
- Checks domain patterns (
bpmnkit pattern list/get) - Resolves connectors, writes the plan
- Compiles it with
bpmnkit synth - Shows a preview and waits for your approval
- Tests the process, fixing failures by adjusting the plan
- Scaffolds a worker stub for every job type with no connector
- Gates on
bpmnkit lint --profile deploy, then deploys to the chosen target - Reports the process ID, files created, and next steps
incident-resolver
Triages and resolves open Camunda incidents. Invoke directly:
Investigate and resolve the open incidents
What it does:
- Fetches all open incidents (
bpmnkit incident list) - Groups by process + error type, sorted by count
- Investigates root cause per group
- Proposes a fix and waits for your approval before executing
- Executes approved fixes (retry jobs, resolve incidents, migrate instances)
- Verifies the count dropped
- Reports a resolution summary
Ambient Hooks
The plugin installs two background hooks:
| Hook | Trigger | What it does |
|---|---|---|
| SessionStart | Every Claude Code session | Checks bpmnkit is installed |
| PostToolUse | After any Write or Edit | Runs bpmnkit check <file> --deploy on any .bpmn file that was written |
The PostToolUse hook means every .bpmn file you (or Claude) writes is automatically
checked by the deploy gate: when Camunda 8 would refuse it, the
gate’s lines (- <id>: <message> (zeebe/<rule>)) go back to Claude, which fixes them before it
moves on. A file that deploys produces no output.
No MCP server required
Unlike earlier versions of this plugin, none of the skills above call an MCP tool — they
call bpmnkit directly via Bash. The separate @bpmnkit/proxy MCP server (bpmn-aikit)
still exists for Claude Desktop, Cursor, or other MCP-only hosts, but it’s unrelated to
this plugin.