Kestra Agent Skills
Agent skills that teach your AI coding assistant to write, harden, operate, and migrate Kestra flows.
Every skill is a folder with a SKILL.md file in the open Agent Skills format, so the same skills work in Claude, Codex, Gemini CLI, Cursor, GitHub Copilot, OpenCode, and any other tool that reads that format.
| Skill | What it does |
|---|---|
kestra-flow | Generate, modify, or debug flow YAML against the live flow schema |
kestra-flow-hardening | Audit flows and add retries, timeouts, concurrency, SLAs, idempotency guards |
kestra-ops | Deploy flows, run executions, manage namespaces and files with kestractl |
migrate-kestra-2 | Upgrade an instance and its flows from Kestra 1.3 to 2.0 |
migrate-airflow-kestra | Convert an Airflow DAG into a Kestra flow |
Install
Any AI coding tool (recommended)
The skills CLI detects the AI tools on your machine (Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, Windsurf, Cline, and 40+ others) and installs the skills in the folder each one reads:
npx skills add kestra-io/agent-skills
Useful options:
# Install every skill without the picker
npx skills add kestra-io/agent-skills --skill '*'
# Install only some skills
npx skills add kestra-io/agent-skills --skill kestra-flow --skill kestra-ops
# Install for your user account (all projects) instead of the current project
npx skills add kestra-io/agent-skills -g
# Install for specific tools only
npx skills add kestra-io/agent-skills -a claude-code -a codex -a cursor
# List the skills without installing
npx skills add kestra-io/agent-skills --list
Claude Code
Install as a plugin so Claude Code keeps the skills up to date:
/plugin marketplace add kestra-io/agent-skills
/plugin install kestra@kestra-agent-skills
Skills are namespaced as kestra:<skill> (for example kestra:kestra-flow). Run /skills to check they are listed.
The plugin has no version field, so every new commit on main is picked up as an update. See Versions and releases.
OpenAI Codex
codex plugin marketplace add kestra-io/agent-skills
codex plugin add kestra@kestra-agent-skills
Start a new Codex session after installing.
ChatGPT
The repo root is also an Agent Plugins package: plugin.json is the manifest (with the ChatGPT listing metadata), and skills/ is picked up as is. Kestra is not listed in the ChatGPT plugin directory yet. To try it in ChatGPT desktop, clone the repo, add it as a repo marketplace, restart the app and install Kestra from the Plugins directory. Workspace admins can then publish it to the workspace from Plugins > Personal.
| Skill | ChatGPT |
|---|---|
kestra-flow, kestra-flow-hardening, migrate-airflow-kestra | Yes, needs web access |
migrate-kestra-2 | Guidance only (no shell) |
kestra-ops | No, needs kestractl and a shell |
Cursor
/add-plugin kestra-io/agent-skills
Cursor loads every skill under skills/ from .cursor-plugin/plugin.json. Check them in Settings β Rules, Skills, Subagents.
Claude.ai and Claude Desktop
- Zip each skill folder (the zip must contain the folder, with
SKILL.mdinside):git clone https://github.com/kestra-io/agent-skills.git && cd agent-skills/skills for s in */; do zip -r "${s%/}.zip" "$s"; done - In Claude, open Settings β Capabilities β Skills, click Upload skill, and upload each zip.
- Turn the skills on.
Manual install
Each skill is a self-contained folder. Copy the ones you want from skills/ into the skills folder your tool reads, for example .agents/skills/ (Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode) or .claude/skills/ (Claude Code):
git clone https://github.com/kestra-io/agent-skills.git /tmp/kestra-skills
mkdir -p .agents/skills
cp -R /tmp/kestra-skills/skills/* .agents/skills/
Check your tool's documentation for its user-wide skills folder. For a tool without skills support, attach or paste skills/<name>/SKILL.md into the chat.
Update
| Installed with | Update with |
|---|---|
npx skills | npx skills update (add -g for user-wide installs) |
| Claude Code plugin | /plugin marketplace update kestra-agent-skills |
| Manual copy | git pull in your clone, then copy the folders again |
Versions and releases
The repo is versioned as one unit with SemVer, tagged vX.Y.Z (see Releases). A release is cut automatically on every merge to main that contains a releasable conventional commit: feat: bumps the minor version, fix:, refactor:, build: and chore(deps): bump the patch, and a BREAKING CHANGE: footer bumps the major. docs:, test: and bare chore: do not release.
The install commands above always follow main, not the tags, and the plugin manifests carry no version. The tags and releases give you a changelog and a stable point to pin to:
git clone --branch v1.0.0 https://github.com/kestra-io/agent-skills.git
Requirements
| Skill | Needs |
|---|---|
kestra-flow | The Kestra docs MCP server (https://api.kestra.io/v1/mcp, declared in mcp.json and .mcp.json). Skills-only installs (npx skills add, Claude.ai zip, manual copy) do not get it: add that server to your tool yourself. No Kestra instance needed. |
kestra-flow-hardening, migrate-airflow-kestra | curl and access to https://api.kestra.io. No Kestra instance needed. |
kestra-ops | kestractl, network access to your Kestra API, a tenant and token |
migrate-kestra-2 | Access to your instance; uses kestra-migrate and kestractl when available |
Usage
Skills load automatically when your request matches them. You can also name the skill:
Use kestra-flow to write a flow that polls a REST API every 30 minutes and stores the result in KV store.
Use kestra-flow-hardening to audit the flows in ./flows before we go to production.
Use kestra-ops to validate and deploy all flows in ./flows to prod.namespace with fail-fast.
Is my instance ready for Kestra 2.0?
Use migrate-airflow-kestra to migrate dags/ingest_pipeline.py from Airflow to Kestra, output to kestra/.
Skills in detail
kestra-flow
Generate, modify, or debug Kestra Flow YAML grounded in the live flow schema β the same way the Kestra AI Copilot does.
- Fetches task schemas on demand from the Kestra docs MCP server (
https://api.kestra.io/v1/mcp) - Schema-validated task and trigger generation
- Partial modification (touches only the relevant part)
- Guardrails: no invented types, no hardcoded secrets, correct looping and trigger patterns
kestra-flow-hardening
Audit existing flows and add production-hardening controls β the consulting counterpart to kestra-flow.
- Severity-ranked report (Critical / High / Medium / Low) with risk, caveat, and fix per finding
- Never recommends a blind retry on a non-idempotent write
- Proportional to the flow; "already sound" is a valid result
- Surgical, schema-validated edits applied on confirmation
- Edition-aware (OSS / EE), with OSS fallbacks for EE-only patterns
kestra-ops
Operate Kestra with kestractl.
- Context and auth setup (
config add,config use,config show) - Inspection (
flows list/get,executions get,namespaces list) - Safe writes (
flows deploy,nsfiles upload/delete) - Guardrails for production and automation output
migrate-kestra-2
Guide a full Kestra 1.3 β 2.0 migration.
- Pre-flight audit with a readiness report and complexity rating
- Verified-backup guardrail before the irreversible upgrade
- CLI-first flow migration tracked in a
migration-ledger.md - Guided rewrites:
ForEach/ForEachItemβLoop, triggerconditionsβwhen/dependsOn,pluginDefaultsβ Policies, removed types - Server upgrade steps for Docker Compose and Kubernetes/Helm
- Uses
kestra-opsandkestra-flowwhen they are installed too
migrate-airflow-kestra
Migrate an Apache Airflow DAG to a production-ready Kestra flow.
- Maps DAG tasks and dependencies to Kestra tasks, keeping fan-out/fan-in parallelism
- Extracts Python business logic into namespace files
- Maps XCom to
outputFiles/inputFiles - Validates against the live schema
Contributing
- Add each skill as
skills/<skill-name>/SKILL.md, withnameanddescriptionfrontmatter. The folder name must matchname. - Put long reference material in
skills/<skill-name>/references/and link it fromSKILL.md. - Include purpose, trigger conditions, required inputs, workflow, guardrails, and example prompts.
- Keep commands copy-pasteable and production-safe.
- Add the new skill to the table at the top of this README.