Camunda Feelのロゴ

Camunda Feel

組織
camunda
camunda-feel

Use this skill when writing or fixing an expression in a BPMN process, DMN decision, or Camunda form: gateway conditions, input and output mappings, timer durations and cycles, date math, list operations, null checks, or FEEL errors. Writes and evaluates FEEL for Camunda 8. Not for application code in JavaScript, Java, Python, or other languages.

概要

公開者camunda
リポジトリskills
スキル名camunda-feel
スター
26
フォーク
5
同梱ファイル
3
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    camundaがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Camunda Feel」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/camunda/skills/tree/main/skills/camunda-feel
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/camunda/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/camunda-feel .claude/skills/camunda-feel
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCamunda Feelを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCamunda Feelを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Camunda Feelは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Camunda FEEL Expressions

Write, debug, and evaluate FEEL expressions used in Camunda 8 BPMN processes, DMN decisions, and forms.

Prerequisites

  • c8ctl CLI installed and configured (c8ctl add profile) — provides c8ctl feel evaluate
  • Camunda 8.9+ cluster for default cluster-engine evaluation (uses POST /v2/expression/evaluation)

Cross-References

  • camunda-bpmn: Use when FEEL expressions are part of BPMN conditions or I/O mappings
  • camunda-dmn: Use when FEEL appears inside DMN — input expressions, input entries (unary tests), output entries, literal expressions
  • camunda-forms: Use when FEEL expressions control form validation or conditional visibility
  • camunda-ai-agents: Use when FEEL expressions are prompts, fromAi() parameter declarations, or toolCallResult shaping in an AI Agent process

Instructions

FEEL in Camunda

FEEL is used for:

  • Gateway conditions: Route process flow based on variable values
  • Input/output mappings: Transform variables between process scopes
  • Timer definitions: Define durations, dates, and cycles
  • DMN decision tables: Define input/output rules
  • Form validation: Validate user input

All FEEL expressions in BPMN XML must be prefixed with =:

xml
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=amount &gt; 1000</bpmn:conditionExpression>

Expression Evaluation

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.

bash
# 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:

  1. Write the expression
  2. Identify the expected variable context
  3. Evaluate via c8ctl feel evaluate to validate against the cluster engine
  4. If evaluation fails, fix based on error message and retry
Offline evaluation (--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.

bash
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:

bash
# 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.

Core Syntax

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):

feel
if score >= 80 then "A" else if score >= 60 then "B" else "C"

For Loops:

feel
for x in [1, 2, 3] return x * 2

Quantifiers:

feel
every x in items satisfies x.price > 0
some x in items satisfies x.status = "urgent"

List Operations:

  • 1-based indexing: list[1], negative: list[-1]
  • Filter: items[price > 100]
  • Projection: items.name extracts name from each item

Context Operations:

  • Property access: customer.name
  • get value(ctx, "key"), get entries(ctx)
  • context put(ctx, "key", value), context merge(ctx1, ctx2)

Common Patterns and Examples

Example — Gateway condition:

feel
=orderTotal > 1000 and customer.tier = "premium"

Input mapping with transformation:

feel
="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):

feel
={user: response.body, status: response.statusCode}

Error expression (throw BPMN error on failure):

feel
=if response.statusCode >= 400 then bpmnError("HTTP_ERROR", string(response.statusCode)) else null

Timer duration (FEEL required):

feel
="PT" + string(delayHours) + "H"

Null-safe access:

feel
=if customer != null then customer.name else "Unknown"

Troubleshooting

  • FEEL_RESOLUTION_ERROR — a variable referenced in the expression doesn't exist in the variable context at evaluation time. Run c8ctl feel evaluate '<expr>' --vars '<json>' with the variables you expect at runtime to confirm.
  • Expression returns 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).

References

For detailed reference material, read from references/:

  • function-reference.md — complete list of built-in FEEL functions (string, numeric, list, context, date/time, boolean)
  • common-patterns.md — date arithmetic, list filtering, multi-entry context patterns, fromAi() for agentic AI

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Camunda Feel」では何ができますか?

Use this skill when writing or fixing an expression in a BPMN process, DMN decision, or Camunda form: gateway conditions, input and output mappings, timer durations and cycles, date math, list operations, null checks, or FEEL errors. Writes and evaluates FEEL for Camunda 8. Not for application code in JavaScript, Java, Python, or other languages.

TypingMindでCamunda Feelを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Camunda Feelはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCamunda Feelをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/camunda/skills/tree/main/skills/camunda-feelを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Camunda Feelを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Camunda Feelで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCamunda Feelを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Camunda Feel」は無料ですか?

はい。camundaがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇