/camunda-skills:camunda-c8ctlfrom camunda-skills
Installs and configures c8ctl, the Camunda 8 CLI, for connecting to local, SaaS, or Self-Managed clusters, managing profiles, and setting connector secrets. Foundation for other Camunda skills.
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.
Install and use c8ctl — the minimal-dependency CLI for Camunda 8.8+ — for connecting to clusters, deploying resources, and managing process automation. c8ctl is the foundation for the other camunda-* skills (camunda-bpmn, camunda-connectors, camunda-feel, camunda-process-mgmt, camunda-ai-agents).
c8ctl bpmn lintc8ctl element-template search/info/get-properties/applyc8ctl feel evaluatec8ctl deploy, c8ctl run, c8ctl watch, c8ctl list pi, c8ctl search inc, c8ctl complete ut, c8ctl resolve inc, etc.c8ctl element-template search/apply to apply the AI Agent connector templateUse this quick check when a user is new to c8ctl and you want to confirm the machine is ready before deeper setup:
# Required runtime
node --version 2>/dev/null || echo "NOT FOUND"
# Required CLI
c8ctl --version 2>/dev/null || echo "NOT FOUND"
# Required default plugins for camunda-* skills
c8ctl bpmn --help >/dev/null 2>&1 && echo "bpmn: OK" || echo "bpmn: MISSING"
c8ctl element-template --help >/dev/null 2>&1 && echo "element-template: OK" || echo "element-template: MISSING"
c8ctl feel --help >/dev/null 2>&1 && echo "feel: OK" || echo "feel: MISSING"
# Optional: check current active profile
c8ctl which profile 2>/dev/null || echo "no active profile"
# Optional: check whether a local c8run cluster is already running
c8ctl cluster status 2>/dev/null || echo "local cluster: not running"
npm install -g @camunda8/cli.Install c8ctl globally from npm. The other camunda-* skills depend on the bpmn, element-template, and feel plugins, which require c8ctl ≥ 3.0.0:
npm install -g @camunda8/cli
After installation, both c8ctl and the shorter alias c8 are available. The other camunda-* skills use the c8ctl form for clarity.
Verify:
c8ctl --version
c8ctl help
The other camunda-* skills depend on three plugins that ship with c8ctl ≥ 3.0.0: bpmn, element-template, and feel. Verify each is available:
c8ctl bpmn --help # camunda-bpmn
c8ctl element-template --help # camunda-connectors, camunda-ai-agents
c8ctl feel --help # camunda-feel
If any command exits non-zero, the installed c8ctl is older than 3.0.0 and lacks these plugins. Ask the user to confirm before installing — don't run the install unprompted — then run:
npm install -g @camunda8/cli
c8ctl needs a cluster to talk to. Before configuring a profile, ask the user which cluster they want to use:
modeler: prefix (e.g., modeler:Local Dev).If the user hasn't decided and is doing local development, suggest local c8run — it has zero setup cost beyond c8ctl cluster start.
c8ctl ships with a default cluster plugin that wraps c8run. It downloads, starts, and stops a local Camunda 8 cluster for you.
Before starting a new local cluster, run a quick preflight so you don't restart unnecessarily and you catch Java/runtime issues early:
# Is a local cluster already responding?
curl -s -o /dev/null -w "%{http_code}" http://localhost:8080/v2/topology
# Is Java available (c8run needs JRE 21+)?
java -version
200, a local cluster is already running; continue with your task.java -version can work while JAVA_HOME is still unset (common with asdf/mise shims). If startup fails even though Java is installed, set JAVA_HOME explicitly before c8ctl cluster start:export JAVA_HOME="$(asdf where java 2>/dev/null || mise where java 2>/dev/null)"
Examples:
# Start the latest stable release (downloads on first run)
c8ctl cluster start
# Start a specific minor version (rolling release — auto-updates patches)
c8ctl cluster start 8.9
# Start a specific full version
c8ctl cluster start 8.9.0-alpha5
# Use the alpha alias for the latest pre-release
c8ctl cluster start alpha
# Check status (running? what version? connection details?)
c8ctl cluster status
# Verify the cluster is responding after start
c8ctl get topology
# Stream logs
c8ctl cluster logs
# Stop the cluster
c8ctl cluster stop
The cluster runs on http://localhost:8080 by default. With no profile configured, c8ctl falls back to http://localhost:8080/v2, so most commands work out of the box against a freshly started local cluster.
For full c8ctl cluster command reference (list, install, list-remote, delete, cache locations, version aliases), see references/local-cluster.md.
Profiles store cluster connection details. A local profile shipped with c8ctl already points at http://localhost:8080/v2, so no setup is needed for local c8run work — just pass --profile=local. Camunda Desktop Modeler profiles are auto-imported with a modeler: prefix.
For OAuth-secured clusters (SaaS or Self-Managed), profile setup is a one-time human task — see the c8ctl docs for add profile flags and credential handling. Don't run add profile on the agent's initiative; ask the user to configure profiles before using this skill.
Use already-configured profiles:
# Switch the active profile
c8ctl use profile prod
# Show the current active profile
c8ctl which profile
# List all profiles (includes Camunda Modeler profiles with `modeler:` prefix)
c8ctl list profiles
# Use a Modeler profile
c8ctl use profile "modeler:Local Dev"
# One-off override for a single command (active profile unchanged)
c8ctl list pi --profile=staging
For multi-tenancy, credential resolution order, and Modeler integration details, see references/profiles.md.
c8ctl resolves cluster connections via the globally-active profile by default. That's risky: the active profile might still point at production or staging from a previous session, and a cluster-touching command will silently target it.
Always pass --profile=<name> explicitly on commands that touch a cluster, especially mutating ones (deploy, run, cancel, resolve, complete, publish, watch). Read-only commands (get, list, search, feel evaluate) are safer but the same discipline keeps the transcript auditable and prevents a forgotten c8ctl use profile prod from silently steering the next command.
Session opener: before doing any cluster-touching work, run c8ctl which profile and confirm with the user. If the active profile name suggests a shared environment (prod, production, staging, live, saas-prefixed, customer names), ask before acting — don't assume that profile is intended for the current work.
For new local-development projects, use --profile=local — don't inherit whatever profile a previous project left active.
c8ctl cluster start/stop/status/logs are unaffected: they operate on the local c8run process directly, not via a profile.
c8ctl has two command shapes:
<verb> <resource> — list pi, get inc <key>, complete ut <key>. Resources have short aliases (pi = process-instance, pd = process-definition, ut = user-task, inc = incident, msg = message).<plugin> <subcommand> — cluster start, element-template apply, bpmn lint, feel evaluate. The plugin name is the first token; subcommands are plugin-defined.Quick tour (examples omit --profile=<name> for brevity — pass it explicitly per the Safety rule above):
# Inspect the cluster
c8ctl get topology
c8ctl list pd # deployed process definitions
c8ctl list pi # running process instances
c8ctl search inc --state=ACTIVE # active incidents
# Develop / deploy
c8ctl deploy ./process.bpmn # deploy a single resource
c8ctl deploy ./my-project # deploy a directory (supports _bb-* and .process-application)
c8ctl run ./order.bpmn --variables='{"orderId":"42"}' # deploy + start in one step
c8ctl watch # auto-redeploy on file save
c8ctl await pi --id=order-process # block until completion
# Operate
c8ctl get pi 2251799813685249 --variables # inspect an instance
c8ctl complete ut 2251799813685250 --variables='{"approved":true}'
c8ctl publish msg payment-received --correlationKey=order-42
c8ctl resolve inc 2251799813685251
c8ctl cancel pi 2251799813685249
For the full verb/resource matrix, plugin commands, and resource-specific flags, see references/command-reference.md.
For AI-driven and scripted use, request JSON per command and combine with --fields for stable structured output:
# Per-command JSON (deterministic, does not mutate session state)
c8ctl list pd --json --fields=key,bpmnProcessId,version,name
# Preview an API request without executing it
c8ctl deploy ./process.bpmn --dry-run
# Pagination / sort (on list and search commands)
c8ctl list pi --limit=50 --sortBy=startDate --desc
Prefer the per-invocation --json flag over c8ctl output json — the latter mutates session.json and leaks across other tools and sessions. The C8CTL_OUTPUT_MODE=json env var works for the current shell too, but shell state does not persist across separate tool calls in most agent harnesses, so an export in one step won't carry to the next. Always pass --json on the command itself when you need structured output.
Default plugins (cluster, bpmn, feel, element-template) ship pre-loaded with c8ctl — no install step needed. List them with c8ctl list plugins. For installing or managing additional plugins, see the c8ctl docs.
Don't run c8ctl load plugin on the agent's initiative — plugin code runs in the c8ctl runtime with full access to the active profile. Ask the user to install plugins themselves.
c8ctl: command not found (or c8: command not found) — npm's global bin directory isn't on PATH. Run npm config get prefix and add <prefix>/bin to PATH.Node.js version too old — c8ctl requires Node ≥ 22.18.0 for native TypeScript support. Use nvm or asdf to upgrade.c8ctl cluster status and c8ctl cluster logs. Common causes: port 8080 already in use, Java not installed (c8run needs JRE 21+), insufficient disk space for the binary download.c8ctl cluster start reports "port 8080 in use" but the port is actually free (lsof/nc show nothing listening) — sandboxed environments that block socket binding (some coding-agent harnesses, restricted container modes, macOS App Sandbox) surface this way. Ask the user to run c8ctl cluster start directly in their host terminal (outside the agent sandbox).C8CTL_DATA_DIR=<writable-path> before invoking c8ctl.For detailed reference material, read from references/:
c8ctl cluster command reference, version aliases (stable/alpha/rolling), cache locations, connector-secrets bootstrap flowWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub camunda/skills --plugin camunda-skills13 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-connectorsUse this skill when a process step should call a common service without custom code — REST, Slack, email, Kafka, AWS, Salesforce, and similar — even if connectors aren't mentioned. Finds, configures, and applies Camunda 8's pre-built connector templates to BPMN elements with c8ctl. Not for building new connectors; use camunda-connectors-development.
Covers c8ctl template discovery, configuration, application, and updates.
/camunda-connectors-developmentUse this skill when no pre-built connector fits and processes need a reusable integration — a proprietary or internal API, custom auth, a shared retry policy, or an inbound webhook, subscription, or poller that starts processes. Builds custom Camunda 8 connectors as a JSON template on a protocol connector or in Java with the Connectors SDK.
/camunda-developmentUse this skill first when a process step must call or receive from another system — an API, Slack, Kafka, a webhook, an internal service, or an LLM — and it is still open whether to use a connector, a job worker, or an AI agent, even if those terms aren't mentioned. Weighs the requirements, then hands off.
/camunda-dmnUse this skill when the business, not developers, should own decision rules — eligibility, risk, routing, discounts — changing them without a code release or auditing which rule fired, even if DMN or decision tables aren't mentioned. Authors and validates DMN decision tables for Camunda 8. Not when the user asks for a function or script in a programming language.
Other plugins' skills for the same job