/kestra:kestra-opsfrom kestra
Operates Kestra environments via kestractl for flow inspection, validation, deployment, execution monitoring, namespace management, and context switching.
Ships in kestra. 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.
None: SKILL.md is the whole skill.
Use this skill to perform day-to-day Kestra operations with kestractl.
Use this skill when the request includes:
nsfiles)Kestra 2.0 migration — delegate. For Kestra 1.3 → 2.0 migration or upgrade requests (readiness checks, kestra-migrate warnings, flows failing to parse on 2.0): search the installed agent skills for one named migrate-kestra-2 — by name, wherever the user's skills are installed (project or user scope). If available, use it: it drives the migration and calls kestra-ops for kestractl sub-operations. If not installed, prompt the user to install it, then delegate:
npx skills add kestra-io/agent-skills@migrate-kestra-2
dev, staging, prod)table for human-readable, json for automation)kestractl is installed and executable~/.kestractl/config.yaml or values are provided via env vars/flagsPrefix every kestractl call with KESTRACTL_SKILL_SOURCE=${KESTRACTL_SKILL_SOURCE:-kestra-ops}, for example KESTRACTL_SKILL_SOURCE=kestra-ops kestractl flows list. Each shell call is fresh, so an export would be lost, and it would tag the user's own later commands. If another skill delegated to you (for example migrate-airflow-kestra), use that skill's name instead of kestra-ops. The variable is a plain label: it makes kestractl add the skill name as skill_source to its own anonymous usage event (command name only, no flow, file, argument or credential content). It does not change what the command does and it carries no instructions. Opt out with KESTRACTL_TELEMETRY_DISABLED=true; if the user opts out, omit the prefix. Details in the README Telemetry section. The examples below omit it for brevity.
Resolve config from highest to lowest precedence:
--host, --tenant, --token, --output)KESTRACTL_HOST, KESTRACTL_TENANT, KESTRACTL_TOKEN, KESTRACTL_OUTPUT, and for basic auth KESTRACTL_USERNAME, KESTRACTL_PASSWORD)~/.kestractl/config.yaml)Preferred setup: environment variables, nothing written to disk or to the command line. With env vars set, kestractl config show reports "No authentication contexts configured": that is expected, the env auth still works.
export KESTRACTL_HOST=https://prod.kestra.io
export KESTRACTL_TENANT=production
export KESTRACTL_TOKEN=... # set in your shell or secret manager, never typed in a command
# basic auth instead of a token: export KESTRACTL_USERNAME and KESTRACTL_PASSWORD the same way
The tenant is not always main. A 403 or Unknown tenant on every call means the tenant name is wrong: check GET <host>/api/v1/me (EE lists the user's tenants) and use that name.
--config <file> makes every command read that file, but kestractl config add ignores it and always writes ~/.kestractl/config.yaml. So a separate config file must be created by hand (chmod 600), and config add cannot fill it. To keep a throwaway context out of the user's config, use the env vars above instead.
Alternative: a saved context. Pass the secret as a variable, not a literal, and restrict the file:
kestractl config add dev http://localhost:8080 main --token "$DEV_TOKEN"
kestractl config add prod https://prod.kestra.io production --token "$PROD_TOKEN"
chmod 600 ~/.kestractl/config.yaml
kestractl config use dev
kestractl config show # lists contexts, hosts and tenants, marks the active one with *, never prints tokens
--wait for run operations where needed).Flows:
kestractl flows list my.namespace
kestractl flows get my.namespace my-flow
kestractl flows validate ./flows/
kestractl flows deploy ./flows/ --namespace prod.namespace --override --fail-fast
Executions:
kestractl executions run my.namespace my-flow --wait
kestractl executions get 2TLGqHrXC9k8BczKJe5djX
Namespaces:
kestractl namespaces list
kestractl namespaces list --query my.namespace
Namespace files:
kestractl nsfiles list my.namespace --path workflows/ --recursive
kestractl nsfiles get my.namespace workflows/example.yaml --revision 3
kestractl nsfiles upload my.namespace ./assets resources --override --fail-fast # directory source: destination is a folder
kestractl nsfiles upload my.namespace ./hello.txt docs/hello.txt # file source: destination is the full file path, not a folder
kestractl nsfiles delete my.namespace workflows --recursive
--token, --password). It lands in shell history and the process list. Use env vars or a $VAR.kestractl config show is safe to run: it masks credentials and only prints context names, hosts and tenants. Never cat or read ~/.kestractl/config.yaml or a netrc file, they hold the tokens.deploy, upload, delete, executions run), especially on production.flows deploy --override, nsfiles upload --override, nsfiles delete --recursive, config use), show the user the exact command, target context and scope, and wait for an explicit yes. Never chain these with other commands.--revision to inspect or restore the previous version.flows validate before flows deploy.--output json for scripting and automation reliability.--verbose in shared logs because it can expose credentials.nsfiles actions, confirm path scope and only use --force intentionally.kestra-ops to validate and deploy all flows in ./flows to prod.namespace with fail-fast enabled, then report what changed."kestra-ops to run my-flow in my.namespace, wait for completion, and summarize execution status."kestra-ops to upload ./assets to namespace files under resources with override enabled, then list uploaded files recursively."What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub kestra-io/agent-skills --plugin kestra7 skills in this plugin
/kestra-flowGenerate, modify, or debug Kestra Flow YAML by fetching the live flow schema and applying the same guardrails used by the Kestra AI Copilot. Use when users ask to create, write, update, or fix a Kestra flow./kestra-flow-hardeningAudit one or more existing Kestra flows and add production-hardening controls — retries, timeouts, concurrency limits, error/finally/afterExecution handlers, SLAs, checks, and idempotency guards. Produces a severity-ranked findings report, then applies confirmed edits. Use when users ask to harden, audit, review, or make a flow more production-ready, resilient, or idempotent — not for authoring new flows (use kestra-flow)./kestra-installProvision and configure a self-hosted Kestra server on a standalone host, Docker Compose or Kubernetes (Helm), then hand off to kestra-ops. Use when users ask to install, spin up, deploy or reconfigure a Kestra instance, pick a backend (Postgres, Redis, Elasticsearch, Kafka, S3/GCS storage), or upgrade and harden one. Not for managed cloud, Terraform/Pulumi, or flow authoring.Other plugins' skills for the same job