airflow-bash-ssh-to-orchestra

airflow-bash-ssh-to-orchestra is a skill for Claude Code from orchestra-hq/orchestra-skills. It costs 124 tokens per session (2,354 once invoked), scanned A, original, MIT.

A conversion guide for replacing Airflow tasks that run shell commands, remote commands, scripts, or containers with Orchestra tasks. Airflow is a workflow scheduler, while Orchestra uses specific task types for SSH, Python, and cloud containers.

In plain words
What is it for?
Use it when converting BashOperator, SSHOperator, WinRMOperator, KubernetesPodOperator, or DockerOperator tasks, including local scripts, remote commands, and container workloads.
Why use it?
It prevents shell-based tasks from being mapped to an execution method that Orchestra does not support. It also separates dbt commands from ordinary shell commands and selects the appropriate target.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash_command="cd /opt/airflow && python scripts/etl.py --env prod",.

Part of the migrate-to-orchestra plugin — 52 skills shipped together

Good fit Use it when converting BashOperator, SSHOperator, WinRMOperator, KubernetesPodOperator, or DockerOperator tasks, including local scripts, remote commands, and container workloads.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/orchestra-hq/orchestra-skills
agentmods
npx agentmods add skills/orchestra-hq/orchestra-skills/airflow-bash-ssh-to-orchestra

Made for: Claude Code.

Or install migrate-to-orchestra, the plugin that ships this one along with the rest of its 52 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for airflow-bash-ssh-to-orchestra

README.md
[![agentmods](https://agentmods.dev/badge/skills/orchestra-hq/orchestra-skills/airflow-bash-ssh-to-orchestra/github.svg)](https://agentmods.dev/skills/orchestra-hq/orchestra-skills/airflow-bash-ssh-to-orchestra)
Your own site
<a href="https://agentmods.dev/skills/orchestra-hq/orchestra-skills/airflow-bash-ssh-to-orchestra"><img src="https://agentmods.dev/badge/skills/orchestra-hq/orchestra-skills/airflow-bash-ssh-to-orchestra/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for airflow-bash-ssh-to-orchestra

Your own site · 80×15
<a href="https://agentmods.dev/skills/orchestra-hq/orchestra-skills/airflow-bash-ssh-to-orchestra"><img src="https://agentmods.dev/badge/skills/orchestra-hq/orchestra-skills/airflow-bash-ssh-to-orchestra.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,354 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00124 $0.02354
Opus 5 $0.00062 $0.01177
Sonnet 5 $0.00025 $0.00471
Haiku 4.5 $0.00012 $0.00235

Measured 12d ago against content hash 05a245db7d5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

airflow-bash-ssh-to-orchestra scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/migrate-to-orchestra/skills/airflow-bash-ssh-to-orchestra/SKILL.md · 312 lines

How it starts

The opening of the file, as written. The whole thing — 312 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Airflow Bash/SSH Operators → Orchestra

Overview

Airflow's BashOperator, SSHOperator, and WinRMOperator run shell commands — locally or on remote hosts. Orchestra doesn't have a local shell execution model; instead:

  • Remote shell commandsLINUX_SSH + LINUX_SSH_EXECUTE_COMMAND or WINDOWS_SSH + WINDOWS_SSH_COMMAND — for mapping ssh_conn_id=/winrm_conn_id= to the right Orchestra connection, see airflow-connections-to-orchestra
  • Python scripts via bashPYTHON + PYTHON_EXECUTE_SCRIPT (the better pattern)
  • Containerised workloadsAWS_ECS, GKE, AZURE_CONTAINER_APPS, or AKS depending on cloud
  • Pure local glue (echo, mkdir, env checks) → fold into adjacent tasks or drop

Decision Tree

Is it a dbt command (dbt run/build/test/seed/snapshot)?
  → YES: use dbt-core-airflow-to-orchestra skill instead — DBT_CORE_EXECUTE,
         even if it arrived via SSHOperator against a remote dbt server.
         Do NOT convert it to LINUX_SSH.
  → NO: continue

Does it run a Python script?
  → YES: PYTHON + PYTHON_EXECUTE_SCRIPT

Does it SSH to a remote server to run commands?
  → Linux: LINUX_SSH + LINUX_SSH_EXECUTE_COMMAND
  → Windows: WINDOWS_SSH + WINDOWS_SSH_COMMAND

Is it a Kubernetes pod?
  → AWS: AWS_EKS + AWS_EKS_RUN_JOB
  → GCP: GKE + GKE_RUN_JOB
  → Azure: AZURE_KUBERNETES_SERVICE + AKS_RUN_JOB

Is it a Docker container (ECS/Cloud Run/Container Apps)?
  → AWS: AWS_ECS + AWS_ECS_RUN_TASK
  → GCP: GCP_CLOUD_RUN + GCP_CLOUD_RUN_EXECUTE_JOB
  → Azure: AZURE_CONTAINER_APPS + ACA_RUN_JOB

Is it purely local glue (echo, mkdir, env check)?
  → Assess whether it can be dropped or folded into adjacent task

BashOperator (Python script) → PYTHON

The most common pattern: BashOperator(bash_command="python scripts/my_script.py") maps directly to PYTHON_EXECUTE_SCRIPT.

# Airflow
run_script = BashOperator(
    task_id="run_etl_script",
    bash_command="cd /opt/airflow && python scripts/etl.py --env prod",
)

Read the full file on GitHub · 312 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 312 lines · 124 tokens per session scan A 05a245db7d5b

Subscribe to this mod's changes

airflow-bash-ssh-to-orchestra is a skill published in the GitHub repository orchestra-hq/orchestra-skills (9 stars, last pushed 3d ago), licensed MIT. It adds 124 tokens to every session and 2,354 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

compute-env-setup

Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.

companion-inc/feynman · 45 tokens

securing-kubernetes-on-cloud

This skill covers hardening managed Kubernetes clusters on EKS, AKS, and GKE by implementing Pod Security Standards, network policies, workload identity, RBAC scoping, image admission controls, and runtime security monitoring. It addresses cloud-specific security features including IRSA for EKS, Workload Identity for…

xalgorix/xalgorix · 80 tokens

detecting-privilege-escalation-in-kubernetes-pods

Detect and prevent privilege escalation in Kubernetes pods by monitoring security contexts, capabilities, and syscall patterns with Falco and OPA policies.

xalgorix/xalgorix · 40 tokens

implementing-rbac-hardening-for-kubernetes

Harden Kubernetes Role-Based Access Control by implementing least-privilege policies, auditing role bindings, eliminating cluster-admin sprawl, and integrating external identity providers.

xalgorix/xalgorix · 41 tokens

docker-socket-mount

Docker / containerd socket mounted into a container → host RCE. Common in CI runners, GitOps controllers (ArgoCD, Flux), and 'Docker-in-Docker' setups. Single-command escape via docker run --rm --privileged -v /:/host alpine chroot /host.

PurpleAILAB/Decepticon · 67 tokens