/camunda-skills:camunda-feelfrom camunda-skills
Writes, debugs, and evaluates FEEL expressions for Camunda 8 BPMN, DMN, and forms. Handles gateway conditions, I/O mappings, timers, date math, and null checks.
Ships in camunda-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Write, debug, and evaluate FEEL expressions used in Camunda 8 BPMN processes, DMN decisions, and forms.
c8ctl add profile) — provides c8ctl feel evaluatePOST /v2/expression/evaluation)fromAi() parameter declarations, or toolCallResult shaping in an AI Agent processFEEL is used for:
All FEEL expressions in BPMN XML must be prefixed with =:
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=amount > 1000</bpmn:conditionExpression>
To validate and debug FEEL expressions, use c8ctl feel evaluate. By default this runs against the configured cluster's Scala FEEL engine — the same engine that Zeebe uses at runtime, so results match production behavior exactly.
# Simple expression
c8ctl feel evaluate '1 + 2'
# Expression with individual variables (leading = optional)
c8ctl feel evaluate '=amount * 1.15' --var amount=100
# Multiple variables
c8ctl feel evaluate 'a + b' --var a=1 --var b=2
# JSON values for complex types
c8ctl feel evaluate 'sum(items)' --var 'items=[1,2,3]'
# Bulk variables as a single JSON object
c8ctl feel evaluate 'orderTotal > 1000 and customer.tier = "premium"' \
--vars '{"orderTotal": 1500, "customer": {"tier": "premium"}}'
# Dot-path nesting on the CLI
c8ctl feel evaluate 'customer.name' --var customer.name=Alice
Debugging workflow:
c8ctl feel evaluate to validate against the cluster engine--engine local)c8ctl feel evaluate --engine local evaluates expressions locally using the feelin JavaScript engine — useful when no cluster is available. Use only when explicitly requested or when no cluster is reachable AND the user has confirmed the fallback. Never silently fall back.
feelin behaves DIFFERENTLY from the Scala FEEL engine that Zeebe runs in production. Subtle differences in type coercion, function support, and date/time handling can cause an expression that passes locally to fail in the cluster (and vice versa). Always re-validate against the cluster before relying on a result obtained with --engine local.
c8ctl feel evaluate '=amount * 1.15' --var amount=100 --engine local
Concrete divergence: today() returns a different type. On the cluster engine, today() returns a date (e.g. 2026-05-12). On --engine local (feelin), it returns a date-time at midnight in the local timezone (e.g. 2026-05-12T00:00:00.000+02:00). This breaks downstream comparisons:
# cluster engine — passes
c8ctl feel evaluate 'today() = date("2026-05-12")' # → true
# local engine — fails silently
c8ctl feel evaluate 'today() = date("2026-05-12")' --engine local # → false
If a date-typed argument is required by a downstream function, the local result may also raise a type error that the cluster never sees.
Data Types: Numbers (1, 1.5), Strings ("hello"), Booleans (true/false), null, Dates (date("2024-01-15")), Times (time("14:30:00")), Date-times (date and time("2024-01-15T14:30:00")), Durations (duration("P1D")), Lists ([1, 2, 3]), Contexts ({name: "Alice"}), Ranges ([1..10])
Operators: +, -, *, /, **, =, !=, <, >, <=, >=, and, or, not(), between x and y, in
If-Then-Else (every if requires else):
if score >= 80 then "A" else if score >= 60 then "B" else "C"
For Loops:
for x in [1, 2, 3] return x * 2
Quantifiers:
every x in items satisfies x.price > 0
some x in items satisfies x.status = "urgent"
List Operations:
list[1], negative: list[-1]items[price > 100]items.name extracts name from each itemContext Operations:
customer.nameget value(ctx, "key"), get entries(ctx)context put(ctx, "key", value), context merge(ctx1, ctx2)Example — Gateway condition:
=orderTotal > 1000 and customer.tier = "premium"
Input mapping with transformation:
="https://api.example.com/users/" + string(userId)
The string() wrapper is required, not stylistic. FEEL does not auto-coerce types in arithmetic — "prefix-" + userId (where userId is a number) silently evaluates to null with a Can't add 'N' to '"prefix-"' warning, not an error. See references/common-patterns.md § Type Coercion Pitfalls for the full rule and debugging tip.
Result expression (extract from API response):
={user: response.body, status: response.statusCode}
Error expression (throw BPMN error on failure):
=if response.statusCode >= 400 then bpmnError("HTTP_ERROR", string(response.statusCode)) else null
Timer duration (FEEL required):
="PT" + string(delayHours) + "H"
Null-safe access:
=if customer != null then customer.name else "Unknown"
c8ctl feel evaluate '<expr>' --vars '<json>' with the variables you expect at runtime to confirm.null unexpectedly — typical causes: type mismatch in + concatenation (see string() rule above); 0-based indexing (use events[1], not events[0]); calling a non-existent helper (first() doesn't exist); missing commas between context entries. c8ctl feel evaluate prints an actual null result as <null> in text mode to distinguish it from the FEEL string "null" (which still prints as null).For detailed reference material, read from references/:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
13 skills in this plugin
/camunda-ai-agentsUse this skill when an LLM should act inside a business process — choosing tools or next steps, calling systems, handing off to people — with guardrails, human review, or an audit trail, even if Camunda isn't mentioned, and before hand-coding an agent loop. Models Camunda 8 AI Agent sub-processes: tools as BPMN tasks, fromAi() parameters, prompts, and limits.
Also covers v1/v2 element-template selection and upgrading v1 elements to v2.
/camunda-bpmnUse this skill whenever work that spans several steps, people, or systems must run reliably — approvals, hand-offs, escalations, deadlines, retries, or compensation — even if Camunda or BPMN isn't mentioned. Load it before recommending an approach or tool for running such work. Designs, edits, and lints executable BPMN processes for Camunda 8. Not for one-step jobs or CI pipelines.
/camunda-npx claudepluginhub camunda/skills --plugin camunda-skillsOther plugins' skills for the same job