Airflow DAG Git Manager for Openclaw

Automate the management of Apache Airflow DAGs using a secure GitHub Pull Request workflow.

kansodata
v0.1.1
Apr 10, 2026
0
814
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install airflow-dag-git

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install airflow-dag-git using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Airflow DAG Git Manager?

The Airflow DAG Git skill enables AI agents to interact with Airflow DAG files within a version-controlled environment. By leveraging a GitHub Pull Request workflow, it ensures that all changes to data pipelines are reviewed by humans before deployment, maintaining high standards of data reliability and security.

This integration is a core component of the Openclaw Skills ecosystem for devops and data engineering. It focuses on safety by restricting operations to single files and enforcing DAG-specific content validation, ensuring that AI-driven updates do not disrupt existing CI/CD workflows or infrastructure configurations.

Airflow DAG Git Manager Use Cases

  • Updating task schedules or parameters in existing Airflow DAGs.
  • Scaling data pipelines by adding new tasks to a DAG file via PRs.
  • Ensuring compliance by forcing human-in-the-loop reviews for all production DAG changes.
  • Versioning pipeline changes to allow for easy rollbacks and auditing.

How Airflow DAG Git Manager Works

  1. The agent uses the read file tool to fetch the current content of a specific DAG from the allowlisted repository.
  2. The agent prepares the updated DAG content, ensuring it contains valid DAG definitions.
  3. A new branch is created, and the updated content is pushed to GitHub.
  4. A Pull Request is opened automatically for human review and final merge decision.

Airflow DAG Git Manager Setup

To get started with this skill in the Openclaw Skills ecosystem, configure your repository access:

# Set your GitHub authentication
export GITHUB_TOKEN=your_personal_access_token

# Install the skill via CLI
openclaw install airflow-dag-git

Airflow DAG Git Manager Data Schema & Taxonomy

The skill operates on a specific file-based schema to ensure compatibility with Airflow environments:

Parameter Description
owner The GitHub organization or user owning the repository.
repo The name of the repository where DAGs are stored.
path Relative path to the .py file within the repo.
content The Python code for the Airflow DAG.

Airflow DAG Git Manager Advanced Features

  • Pattern validation: Rejects PRs that do not contain standard Airflow DAG identifiers like @dag or DAG().
  • Security Guardrails: Prevents path traversal, absolute path usage, and multi-file modifications.
  • Automated Rollback: Capabilities to close stale PRs, delete temporary branches, and revert accidental merges.
  • Human-in-the-loop: Integrates directly with GitHub's native review system for final approval of AI suggestions.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*