Operations cli api

From VectorSpaceLab/AREX-Skill · View interactive version

Operations cli api is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Operate Apache Airflow locally and remotely through installation, configuration, CLI, airflowctl, REST API, component, metadata DB, and troubleshooting workflows.

How to use this skill

Skill file

<!-- SPDX-License-Identifier: Apache-2.0 -->

Operations CLI and API

Use this sub-skill when the task is about running an Airflow environment, choosing between airflow, airflowctl, and HTTP APIs, inspecting or changing configuration, starting components, testing/backfilling Dags from the command line, or diagnosing metadata DB/API/server state.

Route First

Core Decision Rules

  1. Use the local airflow CLI when you are on an Airflow host, need local configuration/metadata DB access, or are starting/checking components such as airflow scheduler, airflow dag-processor, airflow triggerer, airflow api-server, airflow db migrate, airflow dags test, or airflow tasks test.
  2. Use airflowctl when automating operations against a running remote API server: Dags, Dag runs, pools, variables, connections, assets, jobs, xcom, providers, and authentication.
  3. Use the Stable REST API when a non-Python/non-shell client needs a durable HTTP contract, pagination, explicit request/response payloads, or integration with external automation.
  4. Do not bypass Airflow by writing directly to the metadata DB unless an Airflow command explicitly exists for that operation; prefer CLI/API paths that enforce validation, auth, serialization, and audit behavior.

References

Fast Workflows

Safety Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.