kestra-io/agent-skills

kestra-ops

Operate Kestra environments using kestractl for context setup, flow inspection, flow validation and deployment, execution monitoring, namespace operations, and namespace file management.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/kestra-io/agent-skills --skill kestra-ops

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Kestra Operations Skill

Use this skill to perform day-to-day Kestra operations with kestractl.

When to use

Use this skill when the request includes:

  • Listing, inspecting, validating, or deploying flows
  • Triggering executions and checking execution status
  • Managing namespaces or namespace files (nsfiles)
  • Configuring or switching Kestra CLI contexts

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:

bash
npx skills add kestra-io/agent-skills@migrate-kestra-2

Required inputs

  • Target environment or context (dev, staging, prod)
  • Host URL, tenant, and authentication method (usually token)
  • Namespace, flow ID, execution ID, and/or local file paths
  • Output preference (table for human-readable, json for automation)

Prerequisites

  • kestractl is installed and executable
  • Access token and tenant are available
  • A valid context exists in ~/.kestractl/config.yaml or values are provided via env vars/flags

Configuration precedence

Resolve config from highest to lowest precedence:

  1. Command flags (--host, --tenant, --token, --output)
  2. Environment variables (KESTRACTL_HOST, KESTRACTL_TENANT, KESTRACTL_TOKEN, KESTRACTL_OUTPUT)
  3. Config file (~/.kestractl/config.yaml)
  4. Built-in defaults

Common setup:

bash
kestractl config add dev http://localhost:8080 main --token DEV_TOKEN
kestractl config add prod https://prod.kestra.io production --token PROD_TOKEN
kestractl config use dev
kestractl config show

Standard workflow

  1. Resolve and confirm the target context.
  2. Run read-only discovery first.
  3. Validate artifacts before any deployment.
  4. Execute the requested operation with explicit flags.
  5. Verify outcomes (--wait for run operations where needed).
  6. Return a concise ops report with results and follow-up actions.

Command patterns

Flows:

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

bash
kestractl executions run my.namespace my-flow --wait
kestractl executions get 2TLGqHrXC9k8BczKJe5djX

Namespaces:

bash
kestractl namespaces list
kestractl namespaces list --query my.namespace

Namespace files:

bash
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
kestractl nsfiles delete my.namespace workflows --recursive

Guardrails

  • Confirm production context before write operations (deploy, upload, delete).
  • Prefer flows validate before flows deploy.
  • Use --output json for scripting and automation reliability.
  • Avoid --verbose in shared logs because it can expose credentials.
  • For destructive nsfiles actions, confirm path scope and only use --force intentionally.

Response format

  • Context used (host, tenant, context name)
  • Commands executed (grouped by read vs write)
  • Results (success/failure and key IDs)
  • Risks, rollback notes, and follow-up actions

Example prompts

  • "Use kestra-ops to validate and deploy all flows in ./flows to prod.namespace with fail-fast enabled, then report what changed."
  • "Use kestra-ops to run my-flow in my.namespace, wait for completion, and summarize execution status."
  • "Use kestra-ops to upload ./assets to namespace files under resources with override enabled, then list uploaded files recursively."

관련 작업

같은 저장소의 Skills

더 많은 Skills

모든 Skills
kestra-io
커뮤니티

kestra-flow

Generate, 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.

설치 수
1
GitHub Stars
18
업데이트
9월 21일
kestra-io
커뮤니티

kestra-flow-hardening

Audit 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).

설치 수
1
GitHub Stars
18
업데이트
9월 21일
kestra-io
커뮤니티

migrate-airflow-kestra

Migrate an Airflow DAG to a production-ready Kestra flow. Extracts Python task logic into namespace files, maps DAG dependencies to Kestra tasks, and preserves parallel execution structure.

설치 수
1
GitHub Stars
18
업데이트
9월 21일
kestra-io
커뮤니티

migrate-kestra-2

Migrate a Kestra 1.3 instance and its flows to Kestra 2.0: pre-flight audit with readiness report and complexity rating, server upgrade (database migrations, Docker/Helm), CLI-first flow migration with kestra-migrate, and guided rewrites of the patterns the CLI cannot automate (ForEach/ForEachItem → Loop, trigger conditions → when/dependsOn, pluginDefaults → Policies). Use when users want to upgrade or migrate to Kestra 2.0, ask if their instance is ready for 2.0, mention kestra-migrate or its w

설치 수
1
GitHub Stars
18
업데이트
9월 21일